mongo_service
General CRUD RESTful APIs for MongoDB.
Routes
- /:collection
- GET - Get object list
- POST - Create new object
- /:collection/:id
- GET - Get object
- PUT - Update object with new field values
- PATCH - Update object with MongoDB update operators
- DELETE - Delete object
Usage
use Client;
let client = with_uri_str.await?;
let mut app = new;
app.at.nest;
app.listen.await?;