Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 711 Bytes

README.MD

File metadata and controls

38 lines (24 loc) · 711 Bytes

Cool-services Logo

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

MIT