Js projects will be more stable

Don't ignore the below list if your creating a JS project.This will help you to make js project more stable.

  • Database Orm
  • Authentication and authorization: using?passport
  • Validation: request data validation using?Joi/Your own library
  • Logging: using?winston?and?pino
  • Testing: unit and integration tests using?Jest /Mocha
  • Error handling: centralized error handling mechanism
  • API documentation: with?swagger-jsdoc?and?swagger-ui-express
  • Process management: advanced production process management using?PM2/Forever
  • Dependency management: with?npm
  • Environment variables: using?dotenv?and?cross-env
  • Security: set security HTTP headers using?helmet
  • Santizing: sanitize request data against xss and query injection
  • CORS: Cross-Origin Resource-Sharing enabled using?cors
  • Compression: gzip compression with?compression
  • CI: continuous integration with?Travis CI
  • Docker support
  • Code coverage: using?coveralls
  • Code quality: with?Codacy
  • Git hooks: with?husky?and?lint-staged
  • Linting: with?ESLint?and?Prettier
  • Editor config: consistent editor configuration using?EditorConfig

要查看或添加评论,请登录

Khaleel Inchikkalayil的更多文章

  • While TypeScript is gaining popularity, it's unlikely that it will completely dominate over JavaScript.Why?

    While TypeScript is gaining popularity, it's unlikely that it will completely dominate over JavaScript.Why?

    TypeScript is a superset of JavaScript that adds optional static typing and other features to the language. It was…

  • How the buffer works in nodejs..

    How the buffer works in nodejs..

    In Node.js, buffering is a process of temporarily storing data in memory before it is processed or transferred to its…

  • Concurrency in Node js

    Concurrency in Node js

    Concurrency is an essential feature of Node.js that enables it to handle large numbers of I/O operations…

  • Sequelize is a popular ORM for Node.js

    Sequelize is a popular ORM for Node.js

    Sequelize is a popular ORM for Node.js which allows managing the SQL databases easily.

  • What Are the top Nodejs ORMs #1

    What Are the top Nodejs ORMs #1

    Node.js Orm There are lot of orm (s) available in market one of the leading one is sequlizer and objection.

  • Are you struggling to understand the json structure?

    Are you struggling to understand the json structure?

    If your a back-end developer, front end developer or mobile developer,you will handle lot of API in a day. Heart of the…

  • node js and react js

    node js and react js

    I think in development industry #nodejs and #reactjs are most trending words nowadays. But someone actually don't know…

社区洞察

其他会员也浏览了