Mindful Bites is a web app designed to improve mental health and well being. People are able to track their moods and get guided meditations based on how they are feeling.
Feel free to view Mindful Bites on Heroku.
This project relies on Docker to run the PostgreSQL server. You must install Docker first before continuing.
Use one of these methods to download Docker:
- Use Homebrew on macOS: brew install --cask docker
- Follow the instructions on the Docker website
Once you've installed Docker Desktop, you'll need to launch the app. On macOS, it's located in /Applications/Docker.
You'll need to install Node v14 and npm v8 or above.
Fork and learn to Git Clone my repository
Generate a new repository from this project.
See GitHub documentation for more details.
-
If you haven't already, run Docker
-
If you haven't already, fork and clone this repository
-
Then create a .env file in the app/ directory & add these lines:
REACT_APP_AUTH0_CLIENT_ID=<copy/paste your api key here>
REACT_APP_AUTH0_AUDIENCE=<copy/paste your api key here>
- In your command line interface, in the root directory...
Install and Run NPM Packages
npm install
-
Navigate into /app with
cd app
& runnpm install
-
Navigate back to the root directory & run
npm run db:init
Start the Development Environment
npm start
You should see the development environment display on http://localhost:3000.
Ctrl-C
to stop the Express and React development servers.npm stop
to stop and destroy the PostgreSQL Docker container. Don't worry, your data is safe.
Here are some designated test users you can log in with to try out this app.
Dylan Miles
Email: dylmiles160@gmail.com
Password: dAFP?7\'
Date of Birth: February 12, 2005
Bio: Dylan Miles is a high school student at Oakridge High School. His school social worker recommended to use Mindful Bites to track his moods to understand his triggers more of when they tend to feel more anxious during the day.
Diana Kim
Email: dianalinkim@gmail.com
Password: >y8W6J(S
Date of Birth: November 8, 1991
Bio: Being a working adult, even after work Diana still felt stressed! She wondered why?! Diana started tracking her mood and started meditation. She found that the app helped managed her stress and helped her identify her triggers for when she felt stressed during meetings at work.
- Chrome Developer Tools
- VS Code
- TDD (Jest & RTL)
- Scrum
- Terminal
- Git
- GitHub
- HTML
- CSS
- JavaScript
- PostgreSQL
- Express
- React.js
- Node.js
- User registration
- Form that tracks mood
- User receives a guided meditation based on mood entered
- Add note component to mood tracker form
- Add photo component to mood tracker form
- Goals tracker
- Journal entry component
- Metrics gathering through like and dislike buttons
- Mood chart
- Export/downloaded mood history
Lotus icon by Icons8
Thanks goes to these wonderful people (emoji key):
Abigail Edwards 🐛 🤔 💬 📓 |
Andrew Peterson 💻 🧑🏫 |
Avery 🚇 👀 📓 |
Brie Klassen 🐛 📖 🤔 💬 👀 📓 |
George Song 💻 📖 🚇 🚧 |
Jen Huynh 🐛 📓 |
Meia 📖 |
Shaylan7 🐛 |
Tabitha O'Melay 🐛 💬 👀 |
Tara Larsen 🐛 |
Xiao Zhong 💬 📓 🐛 |
ZelmaSedano ✅ |
This project follows the all-contributors specification. Contributions of any kind welcome!