SteadyMind is a mental health and wellbeing tracking application. Everyday, you will be prompted to log how you are feeling that day. You can simply react with the provided emojis, or you can add a comment to explain what has contributed to your mood. Our app also includes the following additional features:
- A statistics page which renders a graph to show how your mood has been trending over time.
- A calendar to quickly see what your mood was during a particular day, week, or month.
- A suggested resources page which will provide yoga, meditation, and motivational videos to either get you out of your slump, or to keep you in an already happy mood.
- An all resources page so the user can access all YouTube videos from the SteadyMind YouTube Channel. We've also provided external resources if you'd like to find a nearby therapist and yoga classes.
This application was created by the following Turing students: Daniel Atkinson, Javier Aguilar, Steven Meyers, and Travis Borgsmiller
View our app in production at steadymind.herokuapp.com
$ git clone git@github.com:danielbldr/SteadyMind.git
$ cd SteadyMind
$ gem install bundler
$ bundle
$ rails db:{drop,create,migrate,seed}
$ bundle exec figaro install
We created a Sinatra application which acts as a microservice to handle API calls to YouTube. Follow set up instructions here
- Rails 5.1.7
- Ruby 2.5.3
SteadyMind consumes the ZenQuotes API and used Google as our OAUth provider. In order to run in development, you will need to set up your environment variables.
Google OAuth Client ID and Client Secret: Google API Key
To test in development, set the Authorization callback URL to
http://localhost:3000/auth/google_oauth2/callback
Add the following environment variables to your config/application.yml file.
GOOGLE_CLIENT_ID: <YOUR GOOGLE CLIENT ID>
GOOGLE_CLIENT_SECRET: <YOUR GOOGLE CLIENT SECRET>
Run bundle exec rspec to run the test suite. Make sure you are connected to the internet and you set up your environmental variables correctly.
To run SteadyMind in development, run rails s and visit http://localhost:3000
- Add weekly goals. This can be setting a goal to drink 8 classes of water a day, to going to the gym 3 days a week.
- Allow user to see historic diary entries
- Build an in-app breathing and meditation guide
