0.0.1 • Published 9 years ago
rip-todos v0.0.1
💀 RIP Todos
REST In Peace Todos is a dead simple Todos API
Install
Install using NPM
npm install -g rip-todosOptions
-p, --port <port> the port in which the server will runUsage
After installing, just run rip-todos in your terminal and start to code your mad todo skills!
Endpoints
| 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 |
LICENSE
MIT
0.0.1
9 years ago