/testserver

for mocking API calls

Primary LanguageJavaScript

This is a simple Express server for testing and mocking server APIs.

Requirements:

  • Node.js
  • Express

Usage:

Open the server repository on a local machine.

Install dependencies:

npm i

Start server:

npm start

Server listens on 3001 port by default. It can be changed within index.js file manually. The static resources like .html, .css, .js pages are located under resources/static repository, resources/responses directory is for example responses, the emptySearch.json is included as a simple sample response.