Route | Method | Description |
---|---|---|
/api/v1/todos | GET | get all todos items |
/api/v1/todos | POST | create new todo |
/api/v1/todos/:id | GET | get single todo |
/api/v1/todos/:id | PUT | update existing todo |
/api/v1/todos/:id | DELETE | delete todo |
node app.js
or
npm run start
Install Postman