/pro-node

A production ready modern node.js generator

MIT LicenseMIT

pro-node

A production ready modern node.js generator

What are available configs for generation

What best practice & libraries will be included

Framework
  • Express
Security
  • Crypto
  • Helmet
  • CSRF
  • CORS
Logging and debugging
  • Winston for lo0gging
Documenation
  • Js-doc for code documentation
  • Swagger for API documentation
Testing
  • Cypress for all-round testing
  • faker.js
APM
  • Sentry
Performance
  • RabbitMQ or Redis
Database
  • Mongoose

What does the output of scaffolding look like

Recommendation

Performance

  1. Try using redis and rabbitmq

About the major packages used

  • Shelljs - Cross platform unix command
  • Inquirer - Asking interactive questions from command line
  • Chalk - For beautifying the terminal texts