https://github.com/nirsky/express-echo-server
A simple echo server, useful to for debugging
https://github.com/nirsky/express-echo-server
Last synced: 8 months ago
JSON representation
A simple echo server, useful to for debugging
- Host: GitHub
- URL: https://github.com/nirsky/express-echo-server
- Owner: nirsky
- Created: 2019-01-23T17:07:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T02:41:33.000Z (over 2 years ago)
- Last Synced: 2025-04-12T22:11:24.376Z (12 months ago)
- Language: TypeScript
- Size: 211 KB
- Stars: 10
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔊 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:
```sh
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
