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