├── README.md ├── client ├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierignore ├── .prettierrc ├── environment │ └── index.ts ├── features │ ├── common │ │ ├── components │ │ │ ├── index.ts │ │ │ └── main-layot │ │ │ │ ├── index.module.sass │ │ │ │ └── index.tsx │ │ ├── index.ts │ │ └── store │ │ │ ├── index.ts │ │ │ └── store.ts │ ├── join │ │ ├── api │ │ │ └── index.ts │ │ ├── components │ │ │ ├── facebook-login │ │ │ │ ├── index.module.sass │ │ │ │ ├── index.tsx │ │ │ │ └── react-facebook-login.tsx │ │ │ ├── google-login │ │ │ │ ├── index.module.sass │ │ │ │ └── index.tsx │ │ │ ├── index.ts │ │ │ ├── login │ │ │ │ ├── index.module.sass │ │ │ │ └── index.tsx │ │ │ └── register │ │ │ │ └── index.tsx │ │ ├── index.ts │ │ └── model │ │ │ ├── auth-store.ts │ │ │ └── index.ts │ └── users │ │ ├── api │ │ └── index.ts │ │ └── index.ts ├── http │ └── index.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages │ ├── 404.tsx │ ├── _app.tsx │ ├── api │ │ └── hello.ts │ ├── index.tsx │ ├── join │ │ ├── forgotpwd.tsx │ │ ├── index.tsx │ │ └── resetpwd │ │ │ └── [[...query]].tsx │ └── profile.tsx ├── postcss.config.js ├── public │ ├── favicon.ico │ └── vercel.svg ├── styles │ ├── Home.module.css │ └── globals.css ├── tsconfig.json ├── types │ ├── AuthResponse.ts │ ├── AuthVerifyPhoneResponse.ts │ ├── IUser.ts │ └── index.ts ├── utils │ ├── click-auth-networks.ts │ └── fingerprint.ts └── yarn.lock └── server ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierignore ├── .prettierrc ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── custom-decorators │ ├── auth.decorator.ts │ ├── cookies.ts │ └── roles-auth.ts ├── exceptions │ ├── http-exception.filter.ts │ └── validation.exception.ts ├── main.ts ├── modules │ ├── auth │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── entity │ │ │ ├── index.ts │ │ │ ├── otp.entity.ts │ │ │ └── refresh.token.entity.ts │ │ ├── guards │ │ │ ├── index.ts │ │ │ ├── jwt-auth-local.guard.ts │ │ │ ├── jwt-auth.guard.ts │ │ │ ├── jwt-roles.guard.ts │ │ │ ├── local-auth.guard.ts │ │ │ ├── roles-sessionID.quard.ts │ │ │ └── session-id-auth.quard.ts │ │ └── strategies │ │ │ ├── facebook.strategy.ts │ │ │ ├── google.strategy.ts │ │ │ ├── index.ts │ │ │ ├── local-jwt.strategy.ts │ │ │ ├── local-sessionid.strategy.ts │ │ │ ├── local.strategy.ts │ │ │ ├── mailru.strategy.ts │ │ │ ├── odnoklassniki.strategy.ts │ │ │ └── vkontakte.strategy.ts │ ├── file │ │ ├── file.module.ts │ │ └── file.service.ts │ ├── mail │ │ ├── mail.controller.ts │ │ ├── mail.module.ts │ │ └── mail.service.ts │ ├── phone │ │ ├── phone.controller.ts │ │ ├── phone.module.ts │ │ └── phone.service.ts │ ├── roles │ │ ├── dto │ │ │ ├── create-role.dto.ts │ │ │ └── index.ts │ │ ├── entity │ │ │ ├── index.ts │ │ │ ├── roles.entity.ts │ │ │ └── user-roles.entity.ts │ │ ├── roles.controller.ts │ │ ├── roles.module.ts │ │ ├── roles.service.ts │ │ └── roles.types.ts │ └── users │ │ ├── dto │ │ ├── add-role.dto.ts │ │ ├── ban-user.dto.ts │ │ ├── create-users.dto.ts │ │ ├── index.ts │ │ ├── response.user.dto.ts │ │ ├── role-query.dto.ts │ │ ├── update-user.dto.ts │ │ └── users-query.dto.ts │ │ ├── entity │ │ ├── index.ts │ │ └── user.entity.ts │ │ ├── users.controller.ts │ │ ├── users.module.ts │ │ └── users.service.ts ├── pipes │ └── validation.pipe.ts ├── redis.ts └── utils │ ├── has-user-agent.ts │ └── otp-generator.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/README.md -------------------------------------------------------------------------------- /client/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.babelrc -------------------------------------------------------------------------------- /client/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.eslintignore -------------------------------------------------------------------------------- /client/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.eslintrc -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.prettierignore -------------------------------------------------------------------------------- /client/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/.prettierrc -------------------------------------------------------------------------------- /client/environment/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/environment/index.ts -------------------------------------------------------------------------------- /client/features/common/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/common/components/index.ts -------------------------------------------------------------------------------- /client/features/common/components/main-layot/index.module.sass: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/features/common/components/main-layot/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/common/components/main-layot/index.tsx -------------------------------------------------------------------------------- /client/features/common/index.ts: -------------------------------------------------------------------------------- 1 | export { MainLayot } from './components'; 2 | -------------------------------------------------------------------------------- /client/features/common/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/common/store/index.ts -------------------------------------------------------------------------------- /client/features/common/store/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/common/store/store.ts -------------------------------------------------------------------------------- /client/features/join/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/api/index.ts -------------------------------------------------------------------------------- /client/features/join/components/facebook-login/index.module.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/facebook-login/index.module.sass -------------------------------------------------------------------------------- /client/features/join/components/facebook-login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/facebook-login/index.tsx -------------------------------------------------------------------------------- /client/features/join/components/facebook-login/react-facebook-login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/facebook-login/react-facebook-login.tsx -------------------------------------------------------------------------------- /client/features/join/components/google-login/index.module.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/google-login/index.module.sass -------------------------------------------------------------------------------- /client/features/join/components/google-login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/google-login/index.tsx -------------------------------------------------------------------------------- /client/features/join/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/index.ts -------------------------------------------------------------------------------- /client/features/join/components/login/index.module.sass: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /client/features/join/components/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/components/login/index.tsx -------------------------------------------------------------------------------- /client/features/join/components/register/index.tsx: -------------------------------------------------------------------------------- 1 | export const RegisterForm = () => {}; -------------------------------------------------------------------------------- /client/features/join/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/index.ts -------------------------------------------------------------------------------- /client/features/join/model/auth-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/model/auth-store.ts -------------------------------------------------------------------------------- /client/features/join/model/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/join/model/index.ts -------------------------------------------------------------------------------- /client/features/users/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/features/users/api/index.ts -------------------------------------------------------------------------------- /client/features/users/index.ts: -------------------------------------------------------------------------------- 1 | export { UserService } from './api'; 2 | -------------------------------------------------------------------------------- /client/http/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/http/index.ts -------------------------------------------------------------------------------- /client/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/next-env.d.ts -------------------------------------------------------------------------------- /client/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/next.config.js -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/package.json -------------------------------------------------------------------------------- /client/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/404.tsx -------------------------------------------------------------------------------- /client/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/_app.tsx -------------------------------------------------------------------------------- /client/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/api/hello.ts -------------------------------------------------------------------------------- /client/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/index.tsx -------------------------------------------------------------------------------- /client/pages/join/forgotpwd.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/join/forgotpwd.tsx -------------------------------------------------------------------------------- /client/pages/join/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/join/index.tsx -------------------------------------------------------------------------------- /client/pages/join/resetpwd/[[...query]].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/join/resetpwd/[[...query]].tsx -------------------------------------------------------------------------------- /client/pages/profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/pages/profile.tsx -------------------------------------------------------------------------------- /client/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: ['autoprefixer'], 3 | }; 4 | -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/public/vercel.svg -------------------------------------------------------------------------------- /client/styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/styles/Home.module.css -------------------------------------------------------------------------------- /client/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/styles/globals.css -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /client/types/AuthResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/types/AuthResponse.ts -------------------------------------------------------------------------------- /client/types/AuthVerifyPhoneResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/types/AuthVerifyPhoneResponse.ts -------------------------------------------------------------------------------- /client/types/IUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/types/IUser.ts -------------------------------------------------------------------------------- /client/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/types/index.ts -------------------------------------------------------------------------------- /client/utils/click-auth-networks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/utils/click-auth-networks.ts -------------------------------------------------------------------------------- /client/utils/fingerprint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/utils/fingerprint.ts -------------------------------------------------------------------------------- /client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/client/yarn.lock -------------------------------------------------------------------------------- /server/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /server/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/.eslintrc -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/.gitignore -------------------------------------------------------------------------------- /server/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/.prettierrc -------------------------------------------------------------------------------- /server/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/nest-cli.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/package.json -------------------------------------------------------------------------------- /server/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/app.module.ts -------------------------------------------------------------------------------- /server/src/custom-decorators/auth.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/custom-decorators/auth.decorator.ts -------------------------------------------------------------------------------- /server/src/custom-decorators/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/custom-decorators/cookies.ts -------------------------------------------------------------------------------- /server/src/custom-decorators/roles-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/custom-decorators/roles-auth.ts -------------------------------------------------------------------------------- /server/src/exceptions/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/exceptions/http-exception.filter.ts -------------------------------------------------------------------------------- /server/src/exceptions/validation.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/exceptions/validation.exception.ts -------------------------------------------------------------------------------- /server/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/main.ts -------------------------------------------------------------------------------- /server/src/modules/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/auth.controller.ts -------------------------------------------------------------------------------- /server/src/modules/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/auth.module.ts -------------------------------------------------------------------------------- /server/src/modules/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/auth.service.ts -------------------------------------------------------------------------------- /server/src/modules/auth/entity/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/entity/index.ts -------------------------------------------------------------------------------- /server/src/modules/auth/entity/otp.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/entity/otp.entity.ts -------------------------------------------------------------------------------- /server/src/modules/auth/entity/refresh.token.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/entity/refresh.token.entity.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/index.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/jwt-auth-local.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/jwt-auth-local.guard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/jwt-auth.guard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/jwt-roles.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/jwt-roles.guard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/local-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/local-auth.guard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/roles-sessionID.quard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/roles-sessionID.quard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/guards/session-id-auth.quard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/guards/session-id-auth.quard.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/facebook.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/facebook.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/google.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/google.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/index.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/local-jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/local-jwt.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/local-sessionid.strategy.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/local.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/local.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/mailru.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/mailru.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/odnoklassniki.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/odnoklassniki.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/auth/strategies/vkontakte.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/auth/strategies/vkontakte.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/file/file.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/file/file.module.ts -------------------------------------------------------------------------------- /server/src/modules/file/file.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/file/file.service.ts -------------------------------------------------------------------------------- /server/src/modules/mail/mail.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/mail/mail.controller.ts -------------------------------------------------------------------------------- /server/src/modules/mail/mail.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/mail/mail.module.ts -------------------------------------------------------------------------------- /server/src/modules/mail/mail.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/mail/mail.service.ts -------------------------------------------------------------------------------- /server/src/modules/phone/phone.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/phone/phone.controller.ts -------------------------------------------------------------------------------- /server/src/modules/phone/phone.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/phone/phone.module.ts -------------------------------------------------------------------------------- /server/src/modules/phone/phone.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/phone/phone.service.ts -------------------------------------------------------------------------------- /server/src/modules/roles/dto/create-role.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/dto/create-role.dto.ts -------------------------------------------------------------------------------- /server/src/modules/roles/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/dto/index.ts -------------------------------------------------------------------------------- /server/src/modules/roles/entity/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/entity/index.ts -------------------------------------------------------------------------------- /server/src/modules/roles/entity/roles.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/entity/roles.entity.ts -------------------------------------------------------------------------------- /server/src/modules/roles/entity/user-roles.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/entity/user-roles.entity.ts -------------------------------------------------------------------------------- /server/src/modules/roles/roles.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/roles.controller.ts -------------------------------------------------------------------------------- /server/src/modules/roles/roles.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/roles.module.ts -------------------------------------------------------------------------------- /server/src/modules/roles/roles.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/roles.service.ts -------------------------------------------------------------------------------- /server/src/modules/roles/roles.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/roles/roles.types.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/add-role.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/add-role.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/ban-user.dto.ts: -------------------------------------------------------------------------------- 1 | export class BanUserDto { 2 | readonly banReason: string; // причина бана 3 | } 4 | -------------------------------------------------------------------------------- /server/src/modules/users/dto/create-users.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/create-users.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/index.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/response.user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/response.user.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/role-query.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/role-query.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/update-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/update-user.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/dto/users-query.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/dto/users-query.dto.ts -------------------------------------------------------------------------------- /server/src/modules/users/entity/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/entity/index.ts -------------------------------------------------------------------------------- /server/src/modules/users/entity/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/entity/user.entity.ts -------------------------------------------------------------------------------- /server/src/modules/users/users.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/users.controller.ts -------------------------------------------------------------------------------- /server/src/modules/users/users.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/users.module.ts -------------------------------------------------------------------------------- /server/src/modules/users/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/modules/users/users.service.ts -------------------------------------------------------------------------------- /server/src/pipes/validation.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/pipes/validation.pipe.ts -------------------------------------------------------------------------------- /server/src/redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/redis.ts -------------------------------------------------------------------------------- /server/src/utils/has-user-agent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/utils/has-user-agent.ts -------------------------------------------------------------------------------- /server/src/utils/otp-generator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/src/utils/otp-generator.ts -------------------------------------------------------------------------------- /server/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /server/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/test/jest-e2e.json -------------------------------------------------------------------------------- /server/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/tsconfig.build.json -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mr-Radion/nextjs-nestjs-auth-full/HEAD/server/yarn.lock --------------------------------------------------------------------------------