Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fake-node-server

1.0.0 • Public • Published

Fake Server

The server with a set of endpoints that could be used for test purposes.
Cross Origin Resource Sharing (CORS) is enabled by default.
Feel free to add endpoints for your needs.

Run the server

npm install
npm start

Endpoints

You may use GET, POST, PUT or DELETE method with any of the following endpoints:

Common ones

  • /delay
    Fails within some time due to timeout error.

  • /delay/:amount
    Ends the request right after passed amount of milliseconds with empty response.

JSON

XML

HTML

Keywords

none

install

npm i fake-node-server

Downloadsweekly downloads

5

version

1.0.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar