Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.12 KB

File metadata and controls

36 lines (24 loc) · 1.12 KB

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