Skip to content

Folder Structure

ahmedazz260 edited this page May 9, 2021 · 1 revision

Folder Structure in pbrn-projects/src

Config

Contains error status code and error formatter

Controllers

Contains the logic for project once a route is called

Database

  • Contains atomic operation
  • Project Model
  • Connection Setup

Interface

Contains the interface of the project Model

Middleware

Contains the logic that is used to make sure the token is valid when a request is made

Routes

Contains all the API's call path for project

Validators

Contains the logic to validate the parameters that are sent when an API's request is made

Clone this wiki locally