dora-plugin-json-server

0.1.1 • Public • Published

dora-plugin-json-server

NPM version Build Status Coverage Status NPM downloads

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, Default json-server.json
  • mount - Path to mount, Default /api

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i dora-plugin-json-server

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sorrycc