SimpleWeb
Simple middleware layer for web applications, inspired by Connect and others. Work in Progress.
Installation
Via npm using (Node.js)[http://nodejs.org]:
npm install simpleweb
Usage
Reference in your program:
var simpleweb = ;
A simple web server:
var simpleweb = http = ; var app = ; // Configuring middleware app;app;app;app; // Configuring routes app;app;app;app;app; // Launch the web server var server = http;
TBD
Development
git clone git://github.com/ajlopez/SimpleWeb.git
cd SimpleWeb
npm install
npm test
Samples
Static Simple site with static pages.
Customers Dinamic pages, in-memory repository.
Contribution
Feel free to file issues and submit pull requests � contributions are welcome.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that npm test
continues to pass.