Skip to content

Get a full control mock API with js files in less than 10 seconds

License

Notifications You must be signed in to change notification settings

Skandar-Ln/mock-server

Repository files navigation

mock-server

Build Status npm package codecov

Get a full control mock API with js files in less than 10 seconds

中文 README

Getting started

install

$ npm install -g js-mock-server

build a mock(or other name) directory at your workplace, see example in this repository

mock
├── user.js

then edit the content of user.js

module.exports = {name: 'js-mock-server'}

all done, you can

$ mock-server mock     # default to mock

visit localhost:3000/user you will get {name: 'js-mock-server'}

About

Get a full control mock API with js files in less than 10 seconds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published