The entry point is : /start
Authentication implemented via jwt token
The entry point to the API is /start, and the application returns HAL JSON, which includes hypermedia. The available links depend on the user's role and access token
- run in terminal command
docker compose up -d
- for building database - run app
- get token from /login endpoint and after all request will be available for you with token
There is only 2 users with roles :
- MANAGER
- DOCTOR
- GET: /start
- GET: /stock
- POST: /login - RequestBody:
{ "name" : "name", "password" : "password" }
- GET: /item/{item-id}
- GET: /list-of-patients
- GET: /patient/{patient-id}
- POST: /patient
- GET: /list-of-food
- GET: /food/{food-id}
- POST: /food
- java20
- Spring boot
- Spring Security via jwt
- Spring boot data Jpa
- PostgresDb
- Docker
- HATEOAS
- Junit5# Helth-Help-App