Live site: Mood Tracker app
Note the live site is currently being migrated from Heroku to Render, hence some bugs might appear and require ironing out, bear with me ;)
A user wants to track their mood to know what variables affect it, and use it to find out what correlates with mood. This may include:
- Diet
- Exercise
- Sleep
- Past stressors bothering them now
- Future stressors bothering them now
- Past activities elevating their mood
- Future scheduled activities elevating their mood
- User-added variables
- Thinking styles that affect their mood
This tracker would help a user understand themselves better, and increase self awareness / emotional intelligence and the causes behind a high mood or low mood. They can then adjust their lifestyle based on this data.
- HTML/CSS/Javascript
- Python/Flask/Jinja
- PostgresQL
- Login page and sign up page
- Form for user to log their moods, saved onto the live server database
- Mood history page
- Mood history visualised in graph
Add .DS_Store
to the .gitignore
file.
Add, commit and push as per usual.
If the local database (schema.sql) has been edited, connect database with Heroku:
heroku psql
Reset database:
heroku pg:reset
Copy local database to Heroku:
heroku pg:push moodtracker DATABASE_URL
-
Input for user's medications and associated symptoms
-
Input for any unhelpful thinking styles
-
“Day with the highest mood”, like a high score factor
-
What they ate, exercised, how much they slept
-
Events that have occurred in the day of the user
-
Main panel displaying mood and lifestyle variables on graphs - think "data is beautiful" styles
- Deployment issues with Heroku, page load takes a while on Render, to be investigated; potential move to fly.io (?)
- Improve security measures for users,
- auth0
- add validation measures to backend
- Form needs a better flow
- Make it responsive, i.e. mobile friendly