REST In Peace Todos is a dead simple Todos API
Install using NPM
npm install -g rip-todos
-p, --port <port> the port in which the server will run
After installing, just run rip-todos
in your terminal and start to code your mad todo skills!
Method | URI | Body | Description |
---|---|---|---|
GET | /todo/all |
none | Return all Todos |
GET | /todo/:id |
none | Return a single Todo |
PATCH | /todo |
id |
Toggle completed status of a Todo |
POST | /todo |
id |
Creates a Todo |
DELETE | /todo/:id |
none | Delete a Todo |
MIT