1.0.0 • Published 9 years ago

rest-stop-framework v1.0.0

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

REST-Framework

Build Status

This is a REST framework for a server using Node.js

This framework is intended to simplify the creation of a node server through easy route creation and REST verb definition. The package can be installed via npm install rest-framework

Require the package into your project: var app = require('REST-Framework');

Once this framework is required in to a project, routes can be added using the following syntax: app.METHOD('/someroute', callback); where method is the http method you want to use

After your routes have been added, your server needs to be started with the syntax: add.createServer(portNumber);