service-template-node
Version:
A blueprint for MediaWiki REST API services
13 lines (9 loc) • 424 B
JavaScript
// Service entry point. Try node server --help for commandline options.
// Start the service by running service-runner, which in turn loads the config
// (config.yaml by default, specify other path with -c). It requires the
// module(s) specified in the config 'services' section (app.js in this
// example).
const ServiceRunner = require('service-runner');
new ServiceRunner().start();
;