.
├── src/ # Contains the main application code
│ ├── controllers/ # Contains controller functions for handling requests
│ ├── middleware/ # Contains middleware functions for processing requests and responses
│ ├── models/ # Contains data models for interacting with the database
│ ├── routes/ # Contains route definitions and handlers
│ ├── services/ # Responsible for querying the database
│ ├── json/ # Contains json files
│ ├── app.js # Main Express.js application file
│ ├── configs/ # Configuration files for the application
│ └── validations/ # Backend calls validations
│── test/ # Contains unit tests for the application
│ ├── controllers/ # Contains unit tests for controller functions
│ ├── middleware/ # Contains unit tests for middleware functions
│ ├── models/ # Contains unit tests for data models
│ ├── routes/ # Contains unit tests for route handlers
│ ├── utils/ # Contains unit tests for utility functions and modules
│ └── setup.js # Setup file for running tests
├── node_modules/ # Contains all installed node modules
├── package.json # Contains metadata about the project and its dependencies
└── README.md # Contains documentation for the project
Run npm install
when in this directory before running any other command.
Used to initialize the backend with nodemon.
Used to run the Mocha Unit Tests of the system.
Used to run the unit tests as well as show code coverage using Istanbul(nyc).