View Code? Open in Web Editor
NEW
Node.js - Express - Mongo Backend for Chronos application
2023_chronos_be's Introduction
config/
: Contains configuration files for the db and server.
controllers/
: Contains the JS controller files.
middleware/
: Contains the middleware ifles for authentication and validation
migrations/
: Contains the migration class files of our database (here, tables of db since SQL is used).
models/
: Contains the JS model files of our ORM.
routes/
: Contains the JS route files to route requests to controllers.
seeders/
: Contains the seeder class files to seed the database.
services/
: Contains the files with the actual logic used to access the db.
- res.status(200) // Ok
- res.status(201) // Created
- res.status(204) // No content
- res.status(400) // Bad request
- res.status(401) // Unauthorized
- res.status(403) // Forbidden
- res.status(404) // Not found
- res.status(500) // Server error
2023_chronos_be's People
Watchers