Skip to main content

Create API from MongoDB Collection

This generator helps to create an API based on a MongoDB collection. It creates automatically all fitting routes, actions and schemas.


Go to the Generator panel and select as class the "MongoDB-Collection" provider, then you should see the following form:


In the following we explain the generator specific fields, please take a look at our generator concept page to understand the general concept.


A MongoDB connection.


The target collection.