Skip to content

levonet/gemini-json-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gemini json-server plugin

Plugin for starting up json-server when running tests with Gemini

Installation

npm install git+https://github.com/levonet/gemini-json-server.git

Configuration

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

About

Plugin for starting up json-server when running tests with Gemini

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published