-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Nicholas Johnson edited this page Feb 11, 2025
·
2 revisions
The project file structure is organized into directories:
- controller handles incoming HTTP requests
- service contains the business logic
- repository implements CRUD operations for data persistence
- entity creates objects representing persisted data
- exception defines specific Java exceptions that are thrown by the service layer and caught by the controller
The MVC architecture maps onto the directories as follows:
- Model => repository, entity
- View => controller
- Controller => controller, service
Note: Since there are only JSON HTTP responses, the view is within the controller classes.