Example project of @thothom/mongodb.
See the docs at: https://thothom.com/docs/plugins/mongodb
- Run
yarnto install the dependencies - Create a
.envfile based on.env.sample - Add the env vars to
.envfile - Run
yarn startto start the app - Done! You can start to play now :)
| Route | Method | Description |
|---|---|---|
http://localhost:3000 |
POST |
Create |
http://localhost:3000 |
PUT |
Update |
http://localhost:3000 |
GET |
List |
http://localhost:3000 |
DELETE |
Delete |
http://localhost:3000/complex |
PUT |
Complex Update |
http://localhost:3000/complex |
GET |
Complex List |
http://localhost:3000/complex |
DELETE |
Complex Delete |
