mongo_service

Crates.io Docs

General CRUD RESTful APIs for MongoDB.

Routes

Usage

```rust use mongodb::Client;

let client = Client::withuristr("mongodb://localhost:27017").await?; let mut app = tide::new(); app.at("/api").nest(mongo_service::serve(client.database("database"))); app.listen("127.0.0.1:8080").await?; ```