sergeyrudenko / ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsBerry logo

JsBerry

Open-source modular simple architecture for Node.js.

Quick start

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

Scripts

  • npm start - run application with development mode
  • npm run prod - run application with production mode
  • npm run inspect - run application with node debugger
  • npm 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 module
  • npm run koa- install dependencies for koa module

Debugger

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.

Author

Dugnist Alexey

Copyright and license

Code and documentation copyright 2017 JsBerry. Code released under the MIT license.

firstProject

About

License:MIT License


Languages

Language:JavaScript 99.9%Language:Shell 0.1%Language:HTML 0.0%