Skip to content

hugocbp/very_simple_todo_api_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A very simple API for a Todo app with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published