0.1.1 • Published 9 years ago

kreggel-rip v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

REST in peace (RIP)

REST in peace (our basics for building our REST APIs)

Installation

npm install git+https://git@giom/kreggel/rip.git --save

Usage

var rip = require('rip');
var authAPI = rip.api('auth', 1);
authAPI.register ('/', require ('routes/welcome'));
authAPI.register ('/status', require ('routes/status'));
authAPI.startup({print: true});

rip.defaultErrorHandler();