naff-server

Server for NaFF.

npm install naff-server
4 downloads in the last month

naff-server

Server for NaFF.

Getting Started

Install the module with: npm install naff-server

var app = require('naff-server')
app.listen(3000)

Documentation

(Coming soon)

Examples

Basic

var app = require('naff-server')
app.listen(3000)

HTTPS

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)
})

Contributing

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.

Release History

0.1.0 - Inital release

License

Copyright (c) 2012 Stephen Smyth
Licensed under the MIT license.

npm loves you