Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'
}
}
}
};
```