How to use the unleash-server.start function in unleash-server

To help you get started, we’ve selected a few unleash-server examples, based on popular ways it is used in public projects.

github kindlyops / havengrc / unleash / index.js View on Github external
options.preRouterHook = gatekeeperAuthentication;

function serveFrontend(app) {
    app.use('/', express.static('/frontend'));

options.preHook = serveFrontend;

if (process.env.DATABASE_URL_FILE) {
    options.databaseUrl = fs.readFileSync(process.env.DATABASE_URL_FILE);

    .then(server => {
            `Unleash API started on http://localhost:${'port')}`


Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

Latest version published 7 days ago

Package Health Score

93 / 100
Full package analysis

Similar packages