A very simple API for a Todo app with Node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
middleware
models
routes
test
.gitignore
README.md
app.js
package-lock.json
package.json

README.md

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

  1. Download
  2. npm install
  3. npm start
  4. 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