Skip to content
Nicholas Johnson edited this page Feb 11, 2025 · 2 revisions

Project Architecture

The project file structure is organized into directories:

  • Controller handles incoming HTTP requests
  • Service contains the business logic
  • DAO implements CRUD operations for data persistence
  • Model creates objects representing persisted data
  • Util contains database connectivity methods common to DAO objects

The MVC architecture maps onto the directories as follows:

  • Model => DAO, Model
  • View => Controller
  • Controller => Controller, Service

Note: Since there are only JSON HTTP responses, the view is within the Controller classes.

Clone this wiki locally