rip-todos
v0.0.1
Published
Rest In Peace Todos is a super tiny Todo REST API built with Node+Express
Downloads
2
Readme
💀 RIP Todos
REST In Peace Todos is a dead simple Todos API
Install
Install using NPM
npm install -g rip-todos
Options
-p, --port <port> the port in which the server will run
Usage
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