- You have to be authorised to do anything
- App passes req and res to the
controller
. It fetches the data viamodel
and responds with itsview
- Sign up (credentials, report)
- Sign in (credentials, token)
- Create (query, report)
- Read (query, data)
- Update (query, report)
- Delete (query, report)
POST /
{
data: Object
}
GET /
{
[id: String]
}
PUT /
{
id: String,
data: Object
}
DELETE /
{
id: String
}