https://github.com/wpdas/express_base_structure
A base structure of an API project using Node + Express
https://github.com/wpdas/express_base_structure
Last synced: over 1 year ago
JSON representation
A base structure of an API project using Node + Express
- Host: GitHub
- URL: https://github.com/wpdas/express_base_structure
- Owner: wpdas
- Created: 2019-05-07T06:08:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-07T06:48:26.000Z (about 7 years ago)
- Last Synced: 2025-01-13T01:11:49.744Z (over 1 year ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Basic MVC API structure
We are using nodemon package to reload the API every time some code is changed.
### Models
The model is the layer responsible for the access to the data, for the validation and consistency of them. Should be used within controllers.
### Controllers
The controller will be responsible for handling the request and will be delivering a response to the user.
### View
The view in this project will be the routes, that will be using the controllers.
### Folders
See the folder structure