/MongoDBAPI

This Respository Provides a Library for creating a RestAPI with a MongoDB Database in a very fast time

Primary LanguageTypeScript

MongoDB RestAPI with ExpressJs

This Project can be used to write a Simple RestAPI using express.js with an MongoDB Database.

Features

  • nested Resources
  • Resource Validation

Usage

To create a new Resource with all the CRUD Operations, you have to create a new Entity in the Entity folder and a new route in the routes Folder. Then You need to add your new route to the server.ts file. And thats It!

Please have a look at my provided examples in the entity and routes folder, if you want to know how to structur your entity and routes.

The Key of this project

The Key of this project was to build a Library which i can use for building RestAPIs with a MondoDB Backend in a very fast time.