Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/levonet/gemini-json-server
Plugin for starting up json-server when running tests with Gemini
https://github.com/levonet/gemini-json-server
gemini gemini-plugin
Last synced: about 1 month ago
JSON representation
Plugin for starting up json-server when running tests with Gemini
- Host: GitHub
- URL: https://github.com/levonet/gemini-json-server
- Owner: levonet
- Created: 2017-07-27T10:57:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-13T21:17:35.000Z (over 7 years ago)
- Last Synced: 2024-10-11T23:04:55.851Z (3 months ago)
- Topics: gemini, gemini-plugin
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gemini json-server plugin
Plugin for starting up [json-server](https://github.com/typicode/json-server/) when running tests with [Gemini](https://github.com/gemini-testing/gemini)
## Installation
```sh
npm install git+https://github.com/levonet/gemini-json-server.git
```## Configuration
Set the configuration to your `gemini` config file in `plugins` section:
```js
module.exports = {
// ...
system: {
plugins: {
'json-server': {
enabled: true,
port: 8080,
host: '0.0.0.0',
schema: 'db.json',
routes: 'routes.json',
static: '.',
readOnly: false,
quiet: false,
id: 'id'
}
}
}
};
```