Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

raynerbeta/restful_backend_express_mongo

Repository files navigation

RESTful API with Express and Mongo

This is the repository of a monolithic RESTful API that uses Express.js and MongoDB. This project is intended to be used as a skelethon for developing an API that already implements authentication based in JWT (JSON Web Token) and handles database connection.

Project structure

  • Controllers: files containing functions that are used as controllers in their respective endpoints
  • Errors: contains the classes for custom errors that includes their own name and status code
  • Middleware: files containing functions that are used as middleware for a route and all their respective endpoints
  • Model: contains the models of the database entities
  • Routes: contains API endpoints grouped by route
  • Utilities: files containing functions that are used for varying purposes

About

RESTful Node API with MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published