Author: TuanTQ - quoctuanit2018@gmail.com
node --watch server.js
- Express.js is a web application framework for Node.js,designed to simplify the process of building robust and scalable web applications and APIs
npm i express --save
- Morgan is a popular middleware for Node.js web applications that provides HTTP request logging
npm i morgan --save-dev
- Helmet is a popular package for securing Express.js applications by setting various HTTP headers
npm i helmet --save-dev
- Compression is commonly used in Node.js applications to enable gzip compression for HTTP responses, which helps in reducing the size of the data sent over the network.
npm i compression --save-dev
- Mongoose is an ODM (Object-Document Mapper) for MongoDB and is commonly used with Node.js applications.
npm i mongoose
- Dotenv package is commonly used in Node.js applications to load environment variables from a .env file into process.env.
npm i dotenv
- Bcrypt is a popular library for hashing passwords in Node.js applications
npm i bcrypt --save
- Crypto module provides cryptographic functionality, including hash functions, HMAC (Hash-based Message Authentication Code), and other cryptographic operations.
npm i crypto --save
- JSON Web Tokens (JWT) is commonly used for creating and verifying JSON Web Tokens (JWT) in Node.js applications.
npm i jsonwebtoken --save
- Lodash is a JavaScript library that provides utility functions for common programming tasks using a functional programming paradigm
npm i lodash -save