Keep track of your daily water intake and maintain a healthy lifestyle with the Hydration Tracker App. This application combines the power of FastAPI and Flask to provide users with a seamless experience in monitoring their hydration levels.
- Features
- Screenshots
- Getting Started
- Usage
- API Documentation
- Frontend
- Contributing
- License
- Acknowledgements
- User registration and profile management.
- Real-time water consumption tracking.
- Personalized daily hydration goal calculation.
- Historical data visualization for progress monitoring.
Insert screenshots or GIFs showcasing the app's UI and features.
- Python 3.10 or later
- Docker (for running the MongoDB instance and the API instance)
- 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:api
Or run it on a Docker Container:
docker build -t drink_tracker_app .
docker run -d -p 8000:8000 drink_tracker_app
Detailed API documentation and usage instructions can be found in http://localhost:8000/docs#
The Flask-based frontend provides an intuitive user interface to interact with the hydration tracker. Navigate to http://localhost:8000/app after starting the app.
This project is licensed under the MIT License.
- Built using FastAPI and Flask.
- MongoDB Docker container powered by MongoDB Official Image.