Skip to content

REST WEB application that serves as a calorie calculator and generator of ready-made food diaries

Notifications You must be signed in to change notification settings

naslakboss/MealooApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MealooApp

Web app that generates meal recipes automatically based on filters such as BMI and weight goals. It also serves as a food diary where users can create their own meals.

Table of contents

  • General info
  • Features
  • Technologies
  • Setup
  • Contributors

General info

The assumption of the application is to create a food diary where every user will have possibility to create own diary or generate them, based on requirements .
Thanks to BMI calculator, caloric demand calculator and meals algorithm, the user will be able to get tasty meals and change weight according to his demands.

Features

  • User registration and login
  • Three roles and access restrictions : User, Moderator and Admin
  • Adding products with details : Proteins, Carbohydrates and Fats per 100g, Product Type and price per kg
  • Adding meals based on products and amount with details : image, recipe and difficulty
  • Adding details about user
  • Calculate BMI and caloric demand based on details
  • Calculate caloric demand according to user goal : losing, gaining or keep weight
  • Create diaries for user : add or remove meals from current day
  • Generate choosen numbers of meals and total calories for whole day
  • Program calculate total calories and price for whole meal and day automatically (The program ensures that meals from 3 days back will not appear)
  • JWT security and limited acces only for user resources with user role
    To-do list:
  • Addition rejection meal types and macronutrients preferences
  • Addition validation for products proportions

Setup

Go to :

  • https://mealoodietapp.herokuapp.com/swagger-ui.html#/

  • There are three account with corresponding roles : mealoouser, mealoomoderator and mealooadmin with password : password123

  • Swagger has got automatically generated token injection. If you want to change role, just create new Bearer using auth/sign-in and paste result to relevant place.

Technologies and Tools

Java 11
Spring Boot 2
Hibernate
JUnit 5
Mockito 2
PostgresSQL
Cloudinary API
REST
Heroku
SonarQube
Swagger

Contributors

About

REST WEB application that serves as a calorie calculator and generator of ready-made food diaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published