Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 978 Bytes

backend.md

File metadata and controls

40 lines (28 loc) · 978 Bytes

Backend

Technologies used

  • Java 17
  • Gradle
  • Lombok
  • Spring Boot
  • Spring Security
  • MySQL

Overall structure

TODO: Add UML Diagrams

Backend Controller (using data transfer objects)
|
Backend Service (using models)
|
Database

Spring structure

source folder
|- controller (the rest controllers, handling a category of endpoint)
|- dto (data transfer objects)
|- model (the data models)
|- repository (the database repositories)

Security

Endpoints are secured using JsonWebTokens

Private and Public Keys are stored in git for ease of development, but should be stored in a secure place during production!

API Documentation

API Documentation can be found at /api-docs and visualized with Swagger at /swagger-ui.html