npm i @labshare/services
const {Services} = require('@labshare/services');
let options = {
// Override default options
};
let services = new Services(options);
services.config(({app, services}) => {
// Optionally perform additional customization of the Express app initialized by Services and the loaded routes
});
// Start up the server with all the loaded HTTP and Socket APIs
services.start();
- Install Node.js.
npm i -g lsc
- Run
npm install
inside the Service's root directory to install its dependencies.
npm test