Menu Close
In fact, it has the 39mm Oystersteel monobloc middle-case of the OP essentially, which appears a little more curvaceous than the flat, trapezoid profile of the 40mm Oystersteel Submariner. The bezel of the replica rolex watches Explorer I is different on each: The OP has a domed, high-polish bezel, while the Explorer I has what Rolex calls a "Smooth" bezel. It has a flat surface instead of the convex bezel of the OP, with nicely polished.

tdc-future-2022-nodejs-api-rest

TDC Business SP 2022

Repositório utilizado no evento TDC Business com o tema API REST em Node.js: Boas práticas em produção.

Website
LinkedIn
Twitter
Instagram

Pré-requisitos

Início

1. Clonar o repositório.

git clone git@github.com:rodrigokamada/tdc-future-2022-nodejs-api-rest.git

2. Instalar as dependências.

npm install

3. Executar o lint.

npm run lint

4. Executar a aplicação usando o Nodemon.

npm run start:dev

Testes

Testes automáticos

1. Executar os testes.

npm test

Testes manuais

1. Fazer uma requisição na aplicação para listar os livros.

curl -v "http://localhost:3000/v1/books"

2. Fazer uma requisição na aplicação para criar um livro.

curl -v -X POST "http://localhost:3000/v1/books" \
-H "content-type: application/json" \
-d '{
  "title": "Some title",
  "author": "Some author"
}'

3. Fazer uma requisição na aplicação para alterar um livro.

curl -v -X PUT "http://localhost:3000/v1/books/ID" \
-H "content-type: application/json" \
-d '{
  "title": "Some title 2",
  "author": "Some author 2"
}'

4. Fazer uma requisição na aplicação para apagar um livro.

curl -v -X DELETE "http://localhost:3000/v1/books/ID"

Transpilação

1. Compilar/transpilar a aplicação.

npm run build

Execução

1. Executar a aplicação.

npm start

Execução com o Nodemon

1. Executar a aplicação.

npm run start:dev
View Source Code