NutriApp is a website based application that able to select the foods with the highest protein content using Best-First Branch-and-Bound Algorithm.
By using NutriApp you can:
- Get the image of the Space State Tree from the results of the best-first branch-and-bound algorithm.
- Get information about which foods to eat to get the highest protein content.
- Get information about the highest amount of protein that can be obtained.
- Get information about the program running time.
NutriApp is created using:
- Python - Python as the main programming language.
- Flask - Flask is a web framework for Python, based on the Werkzeug toolkit.
- Bootstrap - Bootstrap is a front-end framework that allows for the creation of easy and responsive web layouts.
- Vercel - Vercel is a cloud platform that we use to deploy our apps.
- Docker - Docker is a platform for developing, shipping, and running our applications.
NutriApp
├── .github
├── docs
├── handlers
├── modules
├── static
│ ├── images
│ ├── scripts
│ └── styles
├── templates
├── tests
├── .gitignore
├── Dockerfile
├── LICENSE
├── README.md
├── app.py
├── requirements.txt
└── vercel.json
- .github is a folder that used to place Github related stuff, like issue template and CI pipeline.
- docs contain documentation of this app.
- handlers contain handler to handling HTTP request methods, especially POST method.
- modules contain the main modules for implement the best-first branch-and-bound algorithm.
- static contain static files like images, CSS, and JavaScript files.
- templates contain the file that will be rendered for display in the browser.
- tests contain unit test to make sure the main module work properly.
- .gitignore is a file to exclude some folders like venv.
- Dockerfile is a file that contains all the commands to build an image.
- LICENSE is a file that contains the license we use in this app.
- README.md is the file you are reading now.
- app.py is the main file of this app.
- requirements.txt is a file that contains a list of dependencies used in this app.
- vercel.json is a file that contains configuration and override the default behavior of Vercel.
- Python 3.10 or later
- Bootstrap v5.2 or later
- Docker 20.10.17 or later
- Install Docker.
- Pull the image from Docker Hub:
docker pull putuwaw/nutriapp
- Run the downloaded image:
docker run -p 8000:8000 putuwaw/nutriapp
- Open web browser and visit:
localhost:8000
Putu Widyantara |
Putri Pratiwi |
Kenny Belle |
Madya Santosa |