Backend Structure
Spring Boot Project Structure.
On this page
Packages
For a general overview on Spring packages, see Project Structure and Best Practices.
Centralis22’s backend implementation contains the following packages:
| Name | Comments |
|---|---|
| Config | Config. |
| Controller | HTTP endpoints. |
| Handler | Socket endpoints. |
| Model | POJOs. Can be serialized from/to DB and frontend. |
| Repository | DB query methods. See Spring Data JPA. |
| Security | Classes to validate a user and save his login status. |
| Service | Main logic classes. |
| Util | Supplementary classes. |