In the modern world we’re constantly inundated by external stimuli, carefully curated to hold our attention and direct our actions. With these distractions it becomes more challenging to go inward. Journaling has always been a great tool. However unless you go back through all your old entries it's hard to see any correlation. Mindful Everyday was created to bridge that gap. It’s a space for users to slow down, take time for themselves each day, and visually see trends in their daily practices.
- Python
- JavaScript
- HTML
- CSS
- Bootstrap
- Flask
- Jinja
- PostgreSQL
- SQLAlchemy
- Chart.js
Already existing users can log in.
Or a new user can register. Once a new user is added they will be redirected to their profile page.
Once logged in the user is directd to their hompage which displays all their past journal entries and a daily inspirational quote which is being pulled in from the Zen Quotes API.
Each day is displayed in a past entry card with links together the morning and evening entries into one card using a jinja for loop.
A user can make a new morning or evening entry from any page by selecting the option in the navbar. Once submitted the user will be redirected to their past entries where the new entry will be added in chronological order.
Add a new morning entry
Add a new evening entry
If the user tries to make either a morning entry or evening entry on a day that they already have and entry for that time of day a JavaScript alert will appear to notify the user an entry already exists.
All the users quantifiable data is gatehered and dispalyed using Chart.js. Users can turn on and off lines on the graph (by clicking the key) to explore possible correlations.
A snapshot of the users data.
Future goals for Mindful Everyday
- Analytics
- Option to choose 7 day range
- Chart for month and year
- Calender/search bar to filter past entries
- Badges or counter to track number of days in a row entries were made
Run Mindful Everyday on your own machine.
-
Install PostgreSQL (Mac OSX)
-
Clone or fork this repo:
https://github.com/NicoleDreon/me.git
- Create and activate a virtual environment inside your Mindful Everyday directory:
virtualenv env
source env/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Set up database:
createdb entries
python3 model.py
- Run the app:
python3.6 server.py
- Navigate to 'localhost:5000/' to access Mindful Everyday and start journaling!
Bug reports and pull requests are welcome on Github at https://github.com/NicoleDreon/me. If contributing please adhere to the Contributor Covenant code of conduct.