UNPKG

yog

Version:

yog === An express-based Node.js web application bootstrapping module, extends kraken-js.

55 lines (41 loc) 1.07 kB
yog === An express-based Node.js web application bootstrapping module, extends kraken-js. ### install on Linux/Unix ```bash $ npm install fex-team/yog ``` on Windows open a `cmd` ```bash npm install fex-team/yog ``` ### use ``` . ├── app.js ├── config # some `map.json` and `config.json` ├── controllers ├── lib ├── models ├── public # static └── views # views or template ``` _app.js_ ```javascript var yog = require('yog'); var app = require('express')(); var PORT = 4000; app.use(yog()).listen(PORT, function () { console.log('Listening *:' + PORT); }); ``` detail see project [fex-team/yog-app](https://github.com/fex-team/yog-app) ### others + [kraken-js](https://github.com/krakenjs/kraken-js) + [swig](https://github.com/paularmstrong/swig/) + [yog-view](https://github.com/fex-team/yog-view) + [yog-bigpipe](https://github.com/fex-team/yog-bigpipe) + [yog-swig](https://github.com/fex-team/yog-swig) + [yog-log](https://github.com/fex-team/yog-log)