Basic-Backend-With-NestJs using typeOrm, Migrations with mysql, applying decorators, strategies and more content of Nest Js as Express.Multer.File as a package
Testing Migration , backend with Nest FrameWork and mysql Database in my localhost PC.
- @nestjs/config so can use ConfigModule
npm i @nestjs/config
- @nestjs/typeorm and typeorm
npm i @nestjs/typeorm typeorm
- mysql
npm i mysql
- class-validator class-transformer ( to validate all data passed by Frontend )
npm i class-validator class-transformer
- uuid // This uuid require a second installation to works
npm i uuid
npm i --save-dev @types/uuid
- To enable better type safety, let’s install the multer types package.
npm i -D @types/multer
- Cloudinary to host my files( images and videos )
npm i cloudinary
- To create encrypted passwords in Authentication of Users
npm i bcrypt
npm i -D @types/bcrypt
- Passport in Nestjs and passport from npm
npm i @nestjs/passport passport
- passport with JWT and nestjs with jwt
npm i @nestjs/jwt passport-jwt
- types of passport-jwt
npm i -D @types/passport-jwt
-
Clone the repository and run npm i
-
Raise up the Nest backend
npm run start:dev