wns-express-package

Express interface package/bundle for WNS Middleware

npm install wns-express-package
20 downloads in the last month

WNS's Express Package

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.93+
  • WNS HTTP Package v0.1.2+

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 Express server

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

  // Example of express configuration
  "express": {
    "class": "wnExpress",
    "use": {
        "express.methodOverride": [],
        "app.router":true
    }
  }
npm loves you