├── .env.example ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── package.json.old ├── src ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── auth │ ├── auth.controller.ts │ ├── auth.module.ts │ ├── auth.service.ts │ ├── dto │ │ └── create-user.dto.ts │ ├── jwt-payload.interface.ts │ ├── jwt.strategy.ts │ └── pipes │ │ └── not-null.pipe.ts ├── config │ ├── jwt.config.ts │ └── typeorm.config.ts ├── file │ ├── file-acces.entity.ts │ ├── file-upload │ │ ├── awss3.service.ts │ │ ├── awss3.service.ts.bkp │ │ ├── diskWrite.service.ts │ │ └── file-upload.service.ts │ ├── file.controller.ts │ ├── file.entity.ts │ ├── file.module.ts │ ├── file.service.ts │ ├── helper │ │ ├── elasticache.service.ts.bkp │ │ └── helper.service.ts │ └── types │ │ └── alltypes.ts ├── main.ts └── user │ ├── roles.guards.ts │ ├── user.controller.ts │ ├── user.entity.ts │ ├── user.module.ts │ ├── user.service.ts │ └── user.type.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/README.md -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/package.json -------------------------------------------------------------------------------- /package.json.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/package.json.old -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/app.service.ts -------------------------------------------------------------------------------- /src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/dto/create-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/dto/create-user.dto.ts -------------------------------------------------------------------------------- /src/auth/jwt-payload.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/jwt-payload.interface.ts -------------------------------------------------------------------------------- /src/auth/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/jwt.strategy.ts -------------------------------------------------------------------------------- /src/auth/pipes/not-null.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/auth/pipes/not-null.pipe.ts -------------------------------------------------------------------------------- /src/config/jwt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/config/jwt.config.ts -------------------------------------------------------------------------------- /src/config/typeorm.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/config/typeorm.config.ts -------------------------------------------------------------------------------- /src/file/file-acces.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file-acces.entity.ts -------------------------------------------------------------------------------- /src/file/file-upload/awss3.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file-upload/awss3.service.ts -------------------------------------------------------------------------------- /src/file/file-upload/awss3.service.ts.bkp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file-upload/awss3.service.ts.bkp -------------------------------------------------------------------------------- /src/file/file-upload/diskWrite.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file-upload/diskWrite.service.ts -------------------------------------------------------------------------------- /src/file/file-upload/file-upload.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file-upload/file-upload.service.ts -------------------------------------------------------------------------------- /src/file/file.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file.controller.ts -------------------------------------------------------------------------------- /src/file/file.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file.entity.ts -------------------------------------------------------------------------------- /src/file/file.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file.module.ts -------------------------------------------------------------------------------- /src/file/file.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/file.service.ts -------------------------------------------------------------------------------- /src/file/helper/elasticache.service.ts.bkp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/helper/elasticache.service.ts.bkp -------------------------------------------------------------------------------- /src/file/helper/helper.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/helper/helper.service.ts -------------------------------------------------------------------------------- /src/file/types/alltypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/file/types/alltypes.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/user/roles.guards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/roles.guards.ts -------------------------------------------------------------------------------- /src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/user.controller.ts -------------------------------------------------------------------------------- /src/user/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/user.entity.ts -------------------------------------------------------------------------------- /src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/user.module.ts -------------------------------------------------------------------------------- /src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/user.service.ts -------------------------------------------------------------------------------- /src/user/user.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/src/user/user.type.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shamim-42/FileSharingApp-Backend-Nestjs/HEAD/tsconfig.json --------------------------------------------------------------------------------