A conventional social media api with MongoDB, Express.js and NodeJS
Route | Description | Method |
---|---|---|
/api/users |
Get all users | GET |
/api/users |
Create a new user | POST |
/api/posts |
Get all posts | GET |
/api/posts |
Create a new post | POST |
... | ... | ... |