Server for NaFF.
Install the module with: npm install naff-server
var app = require('naff-server')
app.listen(3000)
(Coming soon)
var app = require('naff-server')
app.listen(3000)
var https = require('https')
, app = require('naff-server')
, port = app.get('port')
var server = https.createServer(app).listen(port, function() {
console.log("NaFF server listening on port " + port)
})
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
0.1.0 - Inital release
Copyright (c) 2012 Stephen Smyth
Licensed under the MIT license.