0.6.3 • Published 7 months ago

@ove-lib/appbase v0.6.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 months ago

@ove-lib/appbase

Base library for Open Visualization Environment (OVE) applications. This library depends on @ove-lib/utils.

Install

npm install @ove-lib/appbase --save

Usage

const path = require('path');
const { express, app, log, nodeModules } = require('@ove-lib/appbase')(__dirname, 'myapp');
const server = require('http').createServer(app);

log.debug('Using module:', 'some_module');
app.use('/', express.static(path.join(nodeModules, 'some_module', 'build')));

const port = process.env.PORT || 8080;
server.listen(port);
log.info('application started, port:', port);
0.6.3

7 months ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

4 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago