Plugin for starting up json-server when running tests with Gemini
npm install git+https://github.com/levonet/gemini-json-server.git
Set the configuration to your gemini
config file in plugins
section:
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'
}
}
}
};