Skip to content

sweekson/node-express-restful-api-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example showcases how to use a Express server.

Running the server

Launch the app from the Terminal:

$ node server.js

RESTful APIs

Method URL Description
GET /todos List todo list
POST /todos Create a new todo
GET /todos/:id Retrieve a todo task
PUT /todos/:id Update a todo task

Testing API

You can test API using cURL

$ curl https://your.api.host/todos

About

A simple RESTful API using Express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published