We use the layered architecture for this RESTful API, these consist of the following:
- Controllers: These are the routes that are the entry points into the business logic
- Service: This is where the business logic will sit for the program
- Repository: This is where the database queries are made
- Model: This will be the defined schemas for the models