Backend em node usando Adonis, o foco além de realizar as operações crud comuns, também realizar o cálculo de cotação e apresentar os resultados.
Após realizar o download, para rodar o app:
npm install
E então, depois:
npm start
O backend irá rodar em: http://localhost:3333
Por enquanto a rota é única e é a "planos". Portanto os verbos http deverão ser direcionados para a http://localhost:3333/planos (GET, POST, PUT...)
Ainda em desenvolvimento, quando estiver ok estarei subindo para o heroku...
Autor: Raul Castro. http://raulcastro.com.br
This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.
- Bodyparser
- Authentication
- CORS
- Lucid ORM
- Migrations and seeds
Use the adonis command to install the blueprint
adonis new yardstick --api-only
or manually clone the repo and then run npm install
.
Run the following command to run startup migrations.
adonis migration:run