Open-source modular simple architecture for Node.js.
git clone https://github.com/Dugnist/jsberry
npm i
Run this scripts to install your framework {express||koa} modules:
npm run express||koa
Also edit config/default.json
set key "framework"
to your framework {express||koa} name:
npm start
npm start
- run application with development modenpm run prod
- run application with production modenpm run inspect
- run application with node debuggernpm run check
- run npm modules vulnerabilities checker (npm i nsp -g
)npm run protect
- run npm modules vulnerabilities checker (npm i snyk -g
)npm run express
- install dependencies for express modulenpm run koa
- install dependencies for koa module
Run npm run inspect
and open this url in browser:
chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9229/${uuid}
where "uuid" - debug session id from console.
Dugnist Alexey
Code and documentation copyright 2017 JsBerry. Code released under the MIT license.