Skip to content
Build json server with multiple files
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mock init Jul 21, 2019
.gitignore
LICENSE
README.md
package.json

README.md

json-server-mulitple-files-sample

Build

yarn

Install dependencies

yarn mock

Start the server

Easily mock API:

Add files:

└── mock
    └── hello
        ├── world.js
        └── index.js

And you'll be able to get data by visiting:

localhost:9898/hello/world localhost:9898/hello

You can’t perform that action at this time.