Aplicação Back-end feita em NodeJS
Segue abaixo os endpoints:
- Session
- /sessions - POST
- BODY: (id)
- Profile
- /profile - GET
- Header: (Authorization)
- Ongs
- /profile - POST
- Header: (Authorization)
Body: (name, email, whatsapp, city, uf)
- Incidents
- /incidents - GET
- /incidents/:id - DELETE
- Header: (Authorization)
- /incidents/:id - DELETE
- Header: (Authorization)
Body: (title, description, value)