Skip to content

Simple web server with one GET and one POST endpoint that return a static JSON response

Notifications You must be signed in to change notification settings

markodvornik/express-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple web server for testing json response

A web server that returns JSON formatted dummy response from a data.js file. It returns Bob's profile data for GET type or Bob's password for POST type requests.

Web server is build on express with cors middelware.

Install

# install
yarn

# run
yarn start

Usage

Create GET or POST request at http://localhost:3000/auth/bob.

About

Simple web server with one GET and one POST endpoint that return a static JSON response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published