Use the Hydration Tracker App to monitor your level of hydration and sustain a healthy lifestyle. This application seamlessly monitors users' hydration levels by combining the capabilities of Flask and FastAPI.
- Creating and managing user profiles.
- Monitoring of hydration level in real time.
- Calculate your own daily hydration goals.
- Visualization of historical data for tracking progress.
- Python 3.10 or later
- Docker
- Clone the repository:
git clone https://github.com/your-username/hydration-tracker.git
cd hydration-tracker- Install the required Python packages:
pip install -r requirements.txt- Set up the MongoDB database using Docker:
docker run -d -p 27017:27017 --name hydration-db mongo:latest- Configure the app settings in config.py with MongoDB address
MONGODB_URI = __.__.__.__Start the FastAPI & Flask directly:
uvicorn app:apiOr run it on a Docker Container:
docker build -t hydration_tracker_app .
docker run -d -p 8000:8000 hydration_tracker_appDetailed API documentation and usage instructions can be found in http://localhost:8000/docs#
Frontend is Flask-based providing an intuitive UI to interact with the hydration tracker. Navigate to http://localhost:8000/app after starting the app.
This project is licensed under the MIT License.
- Developed using FastAPI and Flask.
- MongoDB Docker container [MongoDB Official Image].