0.0.5 • Published 12 years ago

wns-express-package v0.0.5

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

WNS's Express Package (Alpha)

A powerful package for WNS Middleware supported by WNS Team that provides an interface to use Express.

Features

  • Express Server
  • Express Controller

Requirements

  • Node.JS + NPM
  • WNS Middleware v0.0.8+

Installing

Enter your server/application's directory...

Installing with WNS Package Manager
$ wnspm install express
Installing with NPM

Inside your server or application directory just type:

$ npm install wns-express-package express

Setting up to your HTTP server

Edit your server/app's config.json and insert inside the component section, this code:

  // Example of express configuration
  "express": {
    "class": "wnExpress", // OR wnHttps for HTTPS
    "port": 3000,
    "use": {
    	//"express.cookieParser": [],
    	//"express.bodyParser": [],
    	//"express.methodOverride": [],
    	//"app.router":true
    }
  }
0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago