API REST for PlanTips app
POST /user/login
- Fetch user's token
- Send token in the response body
GET /tips
- Fetch a list of Tips
- Send Tips in the response body
GET /tips/my-tips
- Fetch a list of Tips created by the logged user (my Tips)
- Send my Tips in the response body
POST /tips/create
- Add a new Tip to the database
- Include new Tip in the response body
DELETE /tips/delete/:id
- Fetch a single Tip from the database
- Include selected Tip in the response body
GET /tips/:id
- Fetch a list of Tips that match the careLevel filter
- Include filtered Tips in the response body
GET /tips?careLevel
- Fetch a list of Tips that match the careLevel filter
- Include filtered Tips in the response body