Skip to content

hoanghlt/hoang_social

Repository files navigation

Social network for Hoang Community

Technologies stack

  • Node JS
  • MongoDB
  • Express
  • TypeScript

Command remembers

  • 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

middleware

  • 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

Login

  • yarn add winston --save

Điều chỉnh đường dẫn source ./ thành @

  • yarn add --dev tsconfig-paths
  • ADD file nodemon.json config exec different

Reference

About

A mini social network for studies Community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published