Skip to content

This will start a Node server to answer mocked REST petitions.

Notifications You must be signed in to change notification settings

marydn/mockserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mockserver

This will start a server to answer mocked REST petitions. This is using https://www.mock-server.com/

Environment setup

  1. Install npm
  2. Clone this project: git clone https://github.com/marydn/mockserver.git
  3. Move to the project folder: cd mockserver
  4. Install npm dependencies: npm install
  5. Init the server: npm start
  6. Go to http:://localhost:1080 in your browser.

Endpoints

By default, there are some endpoints implemented:

You can modify server.js and add new endpoints or modify the existent ones.

You can also modify the default port in server.js:

const port   = 1080;

Releases

No releases published

Packages