Skip to content

mcfung/ms-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Coverage Status

ms-mock

ms-mock is a mock server for development purpose. It divides into two packages - ms-mock-core and ms-mock-cli. ms-mock-core provides programming interface which accept a config object and create a server which serve request based on the config object. ms-mock-cli provides a CLI such that developer can simply start up a mock server using commandline.

Motivation

During the development of microservices, often there is a case that access to a particular REST API that you depends on is not available in development/test environment. In this case you might want to mock up the remote API call to facilitate the development. In some situation you might just want to proxy the API call to get rid of the CORS problem in your SPA or just serve some static files from another path in file system. Therefore this module is created to serve these purposes.

Documentation

About

Simple mock server for mocking REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published