This is a Fast-API powered web application which designed to help users calculate their BMI and estimate their average calorie intake, using their personal information as input. This application will also provide tailored diet and fitness plans for users for a week.
To run this application, you need to have the following software installed on your system:
- python3
- pip3 (Python package manager)
- change the directory to
~/5130f2023/diet-fit
cd ~/5130f2023/diet-fit
- create a virtual env( this is done only once)
python3 -m venv venv
- activate the virtual env
source venv/bin/activate
- install the dependencies
pip3 install -r requirements.txt
- change the directory to
~/5130f2023/diet-fit
cd ~/5130f2023/diet-fit
- activate the virtual env
source venv/bin/activate
- start the flask server
python3 app.py
- To access the application, open the below url in the browser
http://localhost:8000/