Skip to content

This API was made for a challenge, it has integration with rabbitMQ with messaging, creation of resources in queues.

Notifications You must be signed in to change notification settings

franSborges/api-BHUT

Repository files navigation

Passos para rodar a api REST

Para rodar o projeto e testar, os comandos abaixo deverão ser seguidos!!!.

Para baixar as dependências e os pacotes do projeto.

  npm install

Para rodar o servidor.

  npm run dev

Para rodar o webhook.

  npm run webhook
O webhook vai rodar a notificação no terminal assim que criar o registro do carro no banco.

Rotas

GET api/listCars - Retorna uma lista dos registros dos carros cadastrados;
POST api/createCar - Cria um novo registro do carro na base de dados;
GET api/logs - Retorna uma lista de registros dos logs de cada carro cadastrado na base de dados;

About

This API was made for a challenge, it has integration with rabbitMQ with messaging, creation of resources in queues.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published