2.1.4 • Published 9 years ago

naws v2.1.4

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

NAWS - Not Another Web Server

naws is not just another web server. It is a

What is NAWS

naws is a webserver container. It wraps around koa.js and provides a standard set of integrated libraries to get you started quickly and efficiently.

Middlewares

Middlewares in naws operate using a shared context this.content.

JSDC Talk

To run the JSDC exhibits, first you need to install vagrant.

Once you have done so, follow these steps:

  1. cd to the NAWS root directory
  2. vagrant up
  3. Brew a coffee, hug your cat(s), and watch some sappy love movie
  4. vagrant ssh
  5. sudo -s
  6. cd talk
  7. node <exhibit-filename> and enjoy!

Slideshare link - Leveraging ZeroMQ for Node.js

NAWS Guide

naws come pre-packaged with a host of modules designed to reduce the time it takes for you to spin up a proper koa-based webapp or API service.

Example

'use strict';

var naws = require('naws');

naws.router.setup(function () {
  // setup router
});

naws.use(naws.router);
naws.use(naws.i18n);
naws.use(naws.render);
naws.use(naws.syslog);
naws.use(naws.session);

naws.run();

=======

NAWS general web application framework

Usage

$ git clone git@github.com:soggie/naws.git naws
$ cd naws
$ npm link
$ cd $YOURPROJECT
$ git checkout -b v2 origin/v2
$ npm link naws
$ npm install -d
$ npm install swig --save

This will clone naws to a directory, and npm link it. Every time NAWS is updated just do a git pull on the naws directory to get the latest updates.

2.1.4

9 years ago

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

0.6.0

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.2.0

10 years ago