API documentation

This is the API documentation for the SangueBom project.

How to use

The API is available at https://sanguebom-api.herokuapp.com/. All the endpoints are listed below.

Endpoints


These endpoints refer to the users of the application.

GET /users

POST /create-user

PUT /update-user/:user_id_pk


These endpoints refer to the posts of the users.

GET /posts

GET /posts/:post_owner_id

POST /create-post