An exercise to put to practice software development teamwork, subsystem communication, containers, deployment, and CI/CD pipelines. See instructions for details.
Deniz Qian: https://github.com/dq2024
Somyung Kim: https://github.com/troy-skim
Terrance Chen: https://github.com/tchen0125
Kim Young: https://github.com/Kyoung655
This project is a fitness journal app that helps users manage their weight loss by allowing them to log meals, workouts, and track their weight goals. Users can see the calorie deficit needed to reach their desired weight through a simple, user-friendly interface.
- Python 3.9 or higher
Enter in your browser: http://104.236.9.46:8080/
Click Register Here button to register. Enter username and password, and click login.
You can see your calorie status, logout, set your weight goals, add calorie and workout entries.
You can set your weight goals to check total calorie deficit needed to reach the target weight. The value is calculated with your current and target weight. (Note: Only for this feature will you need to refresh the page to see it update)
You can add your previous meals. Enter food, calorie, date, and click Add Food button. The entires will show in the calorie entries table where you can edit or delete the entries.
You can add your workouts. Enter workout name, calorie, date and click Add Workout button. The entries will show in the workout entries table where you can edit or delete the entries.
Dependencies should be automatically installed.
If not:
pip install flask pymongo python-dotenv pytest pytest-flask Werkzeug pytest-mock pytest-cov
Enter in your terminal:
docker compose up --build
Enter in your terminal:
docker-compose down
Unit test coverage should already be displayed automatically. If it doesn't, from the root dir, please run:
pytest --cov=./