- NodeJs
- Docker compose
- Restify
- Mongoose
- Docker compose
- GET http://localhost:PORT/beneficiario List All
- GET http://localhost:PORT/beneficiario/:id Filter by id
- POST http://localhost:PORT/beneficiario Create Data
- PUT http://localhost:PORT/beneficiario/:id Update Data
- DELETE http://localhost:PORT/beneficiario/:id Delete Data
-
Clone the repo git clone https://github.com/gabrielgentil/beneficiarios.git
-
Install NPM packages
npm install
- Start docker-compose
docker-compose up --build
{
"nome": "",
"cpf": "",
"rg": "",
"data_nascimento": "",
"tipo_plano": "",
"numero_dependentes": ""
}