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.

Provider

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

generator_database

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

Connection

A MongoDB connection.

Collection

The target collection.