Skip to content

DianaS96/Health_diet

Repository files navigation

Health_diet 🍗 🥗 🍕

Description

Simple calorie and PFC (proteins, fats, carbohydrates) tracking web application that I made to learn new technologies.

Functionality

User should create an account to start using application.
Click to see screens of 'Create account' and 'Login' pages!

create_account login

User can access food calorie table and dicsover the caloric content for common russian foods.
Click to see screen of calories table!

PFC_table

User can add information on food consumed (type of product, product, amount and meal) to check on calories.
Click to see screen of page with adding info to the diary!

add_to_diary

User can get statistics on food consumed and PFC for selected day.
Click to see screen of page with stats on PFC and types of food for selected day!

show_stats

Technologies used

Usage

Method 1 (using Docker) 📦 🐳

  • Clone this repo
  • Run docker-compose up
  • Enter in browser http://localhost:8000/
  • Don't forget to remove container and image after exiting the program (docker rm [container_name] and docker image rm [image_name] )

Method 2 (without Docker)

  • Clone this repo
  • Install all necessary packages (see file requirements.txt)
  • run app.py

P.s. there is already test user info in databases (email: test@gmail.com, password: test).

Releases

No releases published

Packages

No packages published

Languages