- Node JS
- MongoDB
- Express
- TypeScript
-
Open terminal command window: Ctrl + `
-
npm init or yarn init
-
git init
-
git commit -m "Initial commit"
-
git config --global user.email "[email protected]"
-
git config --global user.name "hoanghlt"
-
git remote add origin https://github.com/hoanghlt/hoang_social.git
-
tsc --init
-
yarn add mongoose --save
-
yarn add @types/mongoose --dev
-
yarn add dotenv
-
yarn add cross-env --dev
- yarn add hpp helmet morgan cors --save -- hpp param query bẩn -- helmet add bảo mật cho header http request response -- morgan login -- cors bảo mật cấp quyền domain truy cập
- yarn add @types/hpp @types/morgan @types/cors --dev
- yarn add winston --save
- yarn add --dev tsconfig-paths
- ADD file nodemon.json config exec different