https://drive.google.com/drive/folders/1LOr_UgQEuVnERYrYZy296il3hSY1HPTN?usp=sharing
express: một framework backend dành cho nodejs
mongoose: một Object Document Mapper (ODM). Điều này có nghĩa là Mongoose cho phép bạn định nghĩa các object (đối tượng) với một schema được định nghĩa rõ ràng, được ánh xạ tới một MongoDB document.
dotenv: quản lý các biến môi - Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.
cors: là chia sẻ tài nguyên chéo nhau, hơi khó hiểu 1 tí nhưng dễ hiểu hơn thì nó là việc bạn chia sẻ tài nguyên của các domain khác nhau cho nhau, hay đơn giản hơn là khi việc client gọi 1 api từ 1 nguồn khác có domain khác với trang hiện tại (nguồn gốc) chính là cors.
nodemon: cài trong môi trường dev, tiện hơn khi cập nhật sửa file, code sẽ auto update luôn mình đỡ phải tắt rồi chạy lại command “node index.js”
validator: a library of string validators and sanitizers.
morgan: HTTP request logger middleware for node.js
express-session
connect-mongo
passport && pass**port**-google-oauth2 : Passport strategies for authenticating with Google using ONLY OAuth 2.0. This module lets you authenticate using Google in your Node.js applications. By plugging into Passport, Google authentication can be easily and unobtrusively integrated into any application or framework that supports Connect-style middleware, including Express.
express-async-errors