Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 421 Bytes

File metadata and controls

30 lines (22 loc) · 421 Bytes

Template Node.js

Using Morgan, Helmet, Cors, Express rescue, Express rate limit and others middlewares.

How to run

npm run dev

Routes

GET http://localhost:3000/people
GET http://localhost:3000/people/1
POST http://localhost:3000/people
GET http://localhost:3000/people/search?name=Luiz

HEADERS
-username
-password
-authorization

POST JSON example
{
    "name": "Luiz",
    "age": 32
}