Skip to content

REST API in Spring Boot, dietitians can keep logs of their clients. adding measurements and handling next appointments.

Notifications You must be signed in to change notification settings

vasouv/diet-logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diet Logs

Spring Boot 2.0 REST API

The dietitian can add their clients. For each client the dietitian can add measurements, mainly they weight for that measurement. The BMI is added automatically. The dietitian can also schedule the next appointment for each client, the appointment's date is after the current date.

The UI will be done in Angular and be hosted in a different repository.


Endpoints

localhost:8080/swagger-ui.html to see the controllers generated by swagger

Method Endpoint
GET /persons
POST /persons
GET /persons/{id}
DELETE /persons/{id}
GET /persons/{id}/measurements
POST /persons/{id}/measurements
GET /persons/{id}/measurements/count
DELETE /persons/{id}/measurements/{mid}
GET /persons/{id}/appointment
POST /persons/{id}/appointment
GET /persons/count
GET /appointments
GET /appointments/count
GET /appointments/{id}
DELETE /appointments/{id}
GET /appointmentsByDay/today
GET /appointmentsByDay/tomorrow

About

REST API in Spring Boot, dietitians can keep logs of their clients. adding measurements and handling next appointments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages