putuwaw / nutriapp

Food Selection using Best-First Branch-and-Bound Algorithm

Home Page:https://nutriapp-putuwaw.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NutriApp

Python Flask Bootstrap Vercel Docker Forks Contributors Stars

NutriApp is a website based application that able to select the foods with the highest protein content using Best-First Branch-and-Bound Algorithm.

FeaturesπŸ’‘

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.

Technology πŸ‘¨β€πŸ’»

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.

Structure πŸ“‚

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.

Requirements πŸ“¦

  • Python 3.10 or later
  • Bootstrap v5.2 or later
  • Docker 20.10.17 or later

Installation πŸ› οΈ

docker pull putuwaw/nutriapp
  • Run the downloaded image:
docker run -p 8000:8000 putuwaw/nutriapp
  • Open web browser and visit:
localhost:8000

Contributors ✨



Putu Widyantara

Putri Pratiwi

Kenny Belle

Madya Santosa

About

Food Selection using Best-First Branch-and-Bound Algorithm

https://nutriapp-putuwaw.vercel.app

License:MIT License


Languages

Language:HTML 65.4%Language:Python 27.4%Language:CSS 4.9%Language:JavaScript 1.8%Language:Dockerfile 0.5%