Very Simple Todo API with Node
This is an extremely simple API for a Todo app built with Node. The goal is to have a toy app to learn the basics of API development with Node that can also work as a quick cheatsheet for Node APIs.
Instructions
- Download
npm install
npm start
- Make requests to
localhost:5000
Testing
Testing templates are provided for both Paw and Postman in the test/
folder.
Import the *.paw
into Paw or the *.json
file into Postman to test the
endpoints implemented so far.
Routes
Endpoint | Description | Format |
---|---|---|
GET / |
Root route | TBD |
GET /todo |
List all todos | TBD |
POST /todo |
Create a new todo | TBD |
GET /todo/1 |
Show a single todo | TBD |
PUT /todo/1 |
Update a todo | TBD |
DELETE /todo/1 |
Delete a todo | TBD |