Skip to content

ikidoncc/daily-diet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily Die Api

This application allows users to log and manage their daily meals. Each user can create an account, record meals with details such as name, description, date and time, and indicate whether the meal is within the diet. Additionally, users can edit and delete their meals, view a complete list of all their meals, or details of a specific meal. The application also provides metrics on the users' eating habits, such as the total number of meals logged, meals within or outside the diet, and the best sequence of meals within the diet.

Application Rules

  • It must be possible to create a user

  • It must be possible to identify the user between requests

  • It must be possible to log a meal with the following information:

    Meals must be related to a user.

    • Name
    • Description
    • Date and Time
    • Whether it is within the diet or not
  • It must be possible to edit a meal, allowing all the above data to be changed

  • It must be possible to delete a meal

  • It must be possible to list all meals of a user

  • It must be possible to view a single meal

  • It must be possible to retrieve user metrics

    • Total number of meals logged
    • Total number of meals within the diet
    • Total number of meals outside the diet
    • Best sequence of meals within the diet
  • The user can only view, edit, and delete meals they created

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published