Giter Site home page Giter Site logo

solace-chrome's Introduction

Solace

Solace is a mental wellness mobile app that utilizes IBM Watson's Personality/Emotional Insights API to help users observe their own mental and emotional processes over time. Each day, users are encouraged to share their thoughts and feelings with Solace by simply speaking to the app. Solace will then analyze the recordings and output a visual representation of the user's personality and emotional insights. Users will not only have the ability to track their most recent statistics but also be able to check their progress over time.

The deployed Admin Panel and Backend Server is located at: https://solace-admin.herokuapp.com/

To see our test data render for different demographics, you can log in with:

Email: [email protected]
Password: 123

The client-side GitHub is located at: https://github.com/jawang12/solace-react-native

The Chrome extension GitHub is located at: https://github.com/mobiuschang/solace-chrome

Getting Started

Follow these steps to get the app and backend running on your machine.

Prerequisites

This guide assumes that you have Node (and npm) and PostgreSQL installed for the backend.

For the client-side you will need XCode installed.

If you don't have the prerequisites, you can get them here:

https://nodejs.org

https://www.postgresql.org/

https://developer.apple.com/xcode/downloads/

Installing Backend

git clone https://github.com/jennyrchan/solace-admin

Make sure PostgreSQL is running and in your project directory, run

npm install

To seed the database

npm run seed

Then to start the server, run

npm start

and connect to localhost:1337.

You can log in with:

Email: [email protected]
Password: 123

Installing Client-Side

git clone https://github.com/jawang12/solace-react-native

The application is linked to the deployed server so you do not need a local server running.

In your project directory, run

npm install

Then to link the react-native libraries

react-native link

To start the application

react-native run-ios

You can log in to the application with:

Email: [email protected]
Password: 123

Or you can create your own account and start recording!

Installing Chrome Extension

git clone https://github.com/mobiuschang/solace-chrome

In your Chrome browser, go to:

chrome://extensions/

Check the box labeled Developer mode and click Load unpacked extension...

Then select the project directory, and the extension will automatically load!

Running the tests

Our test suite features testing for the routing, database, API, and frontend.

On the backend we test Express, our database models, and our Watson API behavior.

On the frontend, we test our React Native components and Redux store for expected behavior, as well as the specific actions of our libraries and modules.

All tests are run via

npm test

Authors

solace-chrome's People

Contributors

anujshah108 avatar jennyrchan avatar mobiuschang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.