Skip to content

fernandoPalaciosGit/leemelo

Repository files navigation

📘 LEEMELO 📗

scaffolding express aplication

Software design

NodeJS Backend with Express serving resources and restfull API, MongoDB storing documents, SocketIO comunication with list of Books Full CPU cluster performance of server machine (launch aplication in all CPUCores)

Instalation

  • Fork me in github 😊
  • Clone Fork into local repository
  • install mongodb
  • install nodeJS
  • npm install proyect dependencies

deploy Application

  • Open mongodb database:
$[path/to/mongodg]/mongod
  • Initialize node app
$set "NODE_ENV=[development | production]" && nodemon app
  • Run testing
$set "NODE_ENV=testing" && mocha app

Debugging

  • install node packages

    • $npm install -g node-inspector [supervisor | nodemon]
  • open debugger services

    • $[node | nodemon | supervisor] --debug app // PROYECT DEPLOYMENT
    • [path/to/node-inspector] --web-port=9999 // DEBUG PROYECT (where | which node-inspector)
  • open browser window

  • Running debug package for testing tracktrace for api restfull resource

$set DEBUG=mocha:*,express:* && mocha test

Full Performance of NodeJS server workers for aplication in production environment

nodeJs workers full performance

Software Documentation

About

MVC boilerplate proyect structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published