0.0.1 • Published 8 years ago
cool-services v0.0.1
const app = require('express')();
const Service = require('cool-services');
const service = new Service();
service.addSource(__dirname);
app.post('/service', service.call());
app.listen(80);
Installation
$ npm install cool-services
Philosophy
The cool-services philosophy is to provide portable api for HTTP servers, making it a great solution for simple and complicated API, contained one or several services.
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
License
0.0.1
8 years ago