yajf

v0.2.2-2.1
Web Skeleton for node-based web app

YAJF (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 ...
}
npm i yajf

Metadata

  • ISC
  • Whatever
  • Michell Ayala
  • released 10/28/2016

Downloads

Maintainers