berezkin88 / testserver

for mocking API calls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

for mocking API calls


Languages

Language:JavaScript 100.0%