0.1.1 • Published 8 years ago
dora-plugin-json-server v0.1.1
dora-plugin-json-server
json-server plugin for dora.
Usage
$ npm i dora dora-plugin-json-server -D
$ ./node_modules/.bin/dora --plugins json-server
## With arguments
$ ./node_modules/.bin/dora --plugins json-server?router=./index.js
$ ./node_modules/.bin/dora --plugins "json-server?router=./index.js&mount=/"
Test
$ npm test
Arguments
router
- Specify file path or url as db, Defaultjson-server.json
mount
- Path to mount, Default/api
LICENSE
MIT