How to use the derby.run function in derby

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

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tastejs / todomvc / labs / architecture-examples / derby / server.js View on Github external
var port = process.env.PORT || 3003;

require('derby').run(__dirname + '/lib/server', port);
github derbyjs / derby / examples / todos / server.js View on Github external
require('derby').run(__dirname + '/lib/server', 3003);
github derbyjs / derby / examples / chat / server.js View on Github external
require('derby').run(__dirname + '/lib/server', 3002);
github lefnire / derby-auth / example / server.js View on Github external
if (process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'debug') {
    require('./lib/server').listen(3000);
} else {
    require('derby').run(__dirname + '/lib/server', 3000);
}

derby

MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.

MIT
Latest version published 4 days ago

Package Health Score

73 / 100
Full package analysis