Js projects will be more stable
Khaleel Inchikkalayil
Module lead at Aspire Systems || React js || Node js || Golang || Mysql || linux|| javascript || Postgresql || Sequelize || GCP cloud || Redis || NestJs
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