Restful api curd tutorial for node.js beginner.
git clone https://github.com/CrackiGuy/node-restapi.git
cd node-restapi && npm install
npm start
| route | method | description |
|---|---|---|
| /customers | get | get all customers |
| /customers/:id | get | get a customer via :id |
| /customers | post | create new customer |
| /customers | put | update a customer info |
| /customers/:id | delete | delete a customer via :id |
| /customers | delete | delete all customers |
