A django webapp to track relationship between foods eaten and symptoms experienced by the user.
Functionality:
- Food: Make food entries with name of food and timestamp
- Symptoms: Make symptom entries with name of symptom and timestamp
- Analyze: Visualize trends in food consumption and symptoms on a day to day basis
Usually reactions to certain foods is very obvious (ex: allergic reactions) for many people. More complex cases would require keeping a traditional food diary i.e. writing down what one eats and then observing the onset of any symptoms and then reading the food diary to identify any causes.
The act of keeping a traditional food diary can become tedious, especially for those who are forgetful. Journal/notes apps can help a bit but the user still has to identify correlations by just going through days and days worth of written information. Especially for more evasive complicated cases, using a food diary to identify any correlations can lead to a lot of work and frustration for the user.
The Food Diary app aims to alleviate this issue by:
- Providing a dedicated and easy-to-use interface for the user to make food and symptom entries along with timestamps
- Providing charts and basic analytics for the user to quickly identify any correlation by observing trends in the foods they eat and symptoms they experience
Python version: 3.11
- Clone the repo
- cd to local repo
- create .env file with
ALLOWED_HOSTS='127.0.0.1' uv run manage.py migrateto initialize the local dbuv run manage.py createsuperuserto create an admin account for yourselfuv run manage.py runserver- Once the server is running, open the domain provided (default: http://127.0.0.1:8000/). Sign in with superuser credentials to begin using the app
- Currently, creation of additional user accounts can only be done by the admin: go to users in the admin page (http://127.0.0.1:8000/admin) and click add user
As this is a personal project of mine, I am not accepting any contributions at the moment. Though, feel free to fork the repo and try it out. Also I would be glad to receive any constructive criticism and feedback