Generate db.json for json-server from JSON Hyper-Schema
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
test
.babelrc
.eslintrc.json
.flowconfig
.gitignore
.travis.yml
LICENSE
README.md
package.json
yarn.lock

README.md

schema-to-db-json

Generate db.json for json-server from JSON Hyper-Schema

Usage

# Install json-server, shcmea-to-db-json
npm install -g json-server schema-to-db-json

# Generate db.json from JSON Hyper-Schema
schema-to-db-json schema.json > db.json

# Start json-server
json-server --watch db.json

License

MIT