Skip to content

A simple echo server, useful to for debugging

Notifications You must be signed in to change notification settings

nirsky/express-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔊 express-echo-server

A simple echo server, useful to for debugging 🐛

Install

Clone this repo to your machine and run yarn to install dependencies.

Start

run yarn start to get the server running in watch mode.
The server will start at port 1020.

To start with a different port, use the PORT env param:

PORT=3000 yarn start

Methods

The server will expose the following HTTP methods:
GET, POST, PUT, PATH, DELETE, COPY, HEAD, OPTIONS, PURGE, LOCK, UNLOCK, PROPFIND.

The server will log to the console each incoming request in a pretty and readable manner.

Example

image

About

A simple echo server, useful to for debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published