DragonNode.js Restify
Bundle with services to develop RestAPI server applications with restify
- Make the restify errors as service available
- Initialize the restify server as service
- Serves the package information for the application
- Services for validate input from the client
Installation
- Run
npm install dragonnodejs-restify --save
- Add the bundle to the "app.js":
let modules = 'errors' 'server' options: {} { server; server; server; server; server; server; } listen: processenvPORT 'package' 'validators' 'email' { input = validator; if !validator throw 'invalid email'; return input; } 'password' validator ;