yajf
v0.2.2-2.1YAJF (Yeat Another JavaScript Framework)
Web Skeleton for node-based web app
Installation
$ npm install -g yajf
Creating a project
$ yajf new test-project
$ cd test-project
$ npm install
Bootstrapping
$ node server
Routing
// routes.js
module.exports = {
// absolute path
'/': {
// the method (lower case)
get (req, res) {},
post (req, res) {},
put (req, res) {},
delete (req, res) {}
},
// moar routes ...
}