This Django-based web application is designed to assist people with diabetes in managing their carbohydrate intake and insulin dosages. The primary goals of the project are:
-
Carbohydrate Tracking:
- Allow users to quickly search for food items using barcodes
- Record meals and their corresponding carbohydrate content (CU - Carbohydrate Units)
-
Insulin Dose Calculation:
- Utilize user-specific profile data (likely including factors such as insulin sensitivity)
- Consider time of day to apply appropriate insulin-to-carb ratios
- Suggest insulin doses based on recorded meals
-
Meal History:
- Provide a dashboard showing recent meal entries
- Display total carbohydrate intake for the past 30 minutes
-
User Convenience:
- Store recent food searches for quick access
- Allow easy addition and deletion of meal entries
-
Personalization:
- Enable users to maintain personal profiles with diabetes-specific data
- Use this data to tailor calculations to individual needs
- User Authentication: Secure login system to protect personal health data
- Product Database: Quick retrieval of nutritional information via barcode
- Calculation Engine: Algorithms to determine appropriate insulin dosages
- User-friendly Interface: Intuitive design with supportive feedback messages
This application aims to simplify the daily task of managing diabetes by providing quick, personalized carbohydrate and insulin calculations, potentially improving glycemic control and quality of life for users.
To simplify many things, use our User Guide
- Python 3.x
- Django 3.x
- Bootstrap 5.x
- Redis 7.2.x
- MariaDB 11.4.x
Tip
You can use the predefined docker compose
- Clone the repository:
git clone https://github.com/jcivitel/django_insumate.git
cd django_insumate
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the required packages:
pip install -r requirements.txt
- Run database migration:
python manage.py migrate
Contributions are welcome! Please create an issue or pull request for suggestions or improvements.