Skip to content

hugocbp/very_simple_todo_api_node

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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