├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── workflows │ ├── e2e-auth-tests.yml │ └── unit-tests.yml ├── LICENSE ├── README.md ├── client ├── .dockerignore ├── .eslintrc.json ├── .gitignore ├── Dockerfile ├── README.md ├── next-env.d.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public │ ├── favicon.ico │ └── vercel.svg ├── src │ ├── components │ │ ├── Container.tsx │ │ ├── EditProfileForm.tsx │ │ ├── ErrorField.tsx │ │ ├── Footer.tsx │ │ ├── NavBar.tsx │ │ ├── SocialLogin.tsx │ │ └── chat │ │ │ ├── ChatButton.tsx │ │ │ ├── CreateChatForm.tsx │ │ │ ├── CreateConversationForm.tsx │ │ │ ├── EditChatForm.tsx │ │ │ ├── MemberCard.tsx │ │ │ ├── Members.tsx │ │ │ ├── Message.tsx │ │ │ └── MessageInput.tsx │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── account │ │ │ ├── confirm.tsx │ │ │ └── password │ │ │ │ ├── change.tsx │ │ │ │ ├── new.tsx │ │ │ │ └── reset.tsx │ │ ├── chat │ │ │ └── index.tsx │ │ ├── index.tsx │ │ ├── invite.tsx │ │ ├── login │ │ │ ├── error.tsx │ │ │ └── index.tsx │ │ └── me.tsx │ ├── store │ │ ├── auth.tsx │ │ ├── models │ │ │ ├── conversation.ts │ │ │ ├── index.ts │ │ │ ├── room.ts │ │ │ └── user.ts │ │ └── store.ts │ ├── styles │ │ └── globals.css │ └── utils │ │ ├── constants.ts │ │ ├── room.ts │ │ ├── types.ts │ │ ├── useSocket.ts │ │ └── withAuth.tsx ├── tailwind.config.js └── tsconfig.json ├── docker-compose.test.yml ├── docker-compose.yml ├── server ├── .dockerignore ├── .env.sample ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── Dockerfile ├── README.md ├── nest-cli.json ├── package.json ├── pnpm-lock.yaml ├── src │ ├── common │ │ ├── decorators │ │ │ ├── index.ts │ │ │ ├── roles.decorator.ts │ │ │ ├── user.decorator.ts │ │ │ └── verified.decorator.ts │ │ ├── dtos │ │ │ ├── create-account.dto.ts │ │ │ ├── index.ts │ │ │ ├── login.dto.ts │ │ │ ├── passport-values.dto.ts │ │ │ └── update-user.dto.ts │ │ ├── entities │ │ │ ├── abstract.entity.ts │ │ │ ├── index.ts │ │ │ └── user.entity.ts │ │ ├── enums │ │ │ ├── index.ts │ │ │ ├── postgres-errors.enum.ts │ │ │ ├── providers.enum.ts │ │ │ ├── role.enum.ts │ │ │ └── status.enum.ts │ │ ├── exceptions │ │ │ ├── index.ts │ │ │ ├── invalid-credentials.exception.ts │ │ │ ├── social-provider.exception.ts │ │ │ └── unique-violation.exception.ts │ │ ├── guards │ │ │ ├── facebook.-oauth.guard.ts │ │ │ ├── google-oauth.guard.ts │ │ │ ├── index.ts │ │ │ ├── jwt-auth.guard.ts │ │ │ ├── roles.guard.ts │ │ │ └── verified.guard.ts │ │ └── swagger │ │ │ ├── constants.ts │ │ │ └── index.ts │ ├── main.ts │ └── modules │ │ ├── app.controller.ts │ │ ├── app.module.ts │ │ └── v1 │ │ ├── auth │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── strategies │ │ │ ├── facebook-oauth.strategy.ts │ │ │ ├── google-oauth.strategy.ts │ │ │ ├── index.ts │ │ │ └── jwt-auth.strategy.ts │ │ └── tests │ │ │ ├── auth.controller.spec.ts │ │ │ └── auth.service.spec.ts │ │ ├── chat │ │ ├── chat.adapter.ts │ │ ├── chat.gateway.ts │ │ ├── chat.module.ts │ │ ├── chat.service.ts │ │ └── ws-emitter.module.ts │ │ ├── conversation │ │ ├── conversation.controller.ts │ │ ├── conversation.entity.ts │ │ ├── conversation.module.ts │ │ └── conversation.service.ts │ │ ├── message │ │ ├── dto │ │ │ └── create-message.dto.ts │ │ ├── message.controller.ts │ │ ├── message.entity.ts │ │ ├── message.module.ts │ │ └── message.service.ts │ │ ├── room │ │ ├── dto │ │ │ ├── add-remove-user.dto.ts │ │ │ └── room.dto.ts │ │ ├── entities │ │ │ ├── index.ts │ │ │ ├── invitation.entity.ts │ │ │ └── room.entity.ts │ │ ├── guards │ │ │ ├── MembershipGuard.ts │ │ │ ├── ModGuard.ts │ │ │ └── OwnershipGuard.ts │ │ ├── room.controller.ts │ │ ├── room.module.ts │ │ └── room.service.ts │ │ ├── user │ │ ├── repositories │ │ │ └── user.repository.ts │ │ ├── tests │ │ │ ├── user.controller.spec.ts │ │ │ └── user.service.spec.ts │ │ ├── user.controller.ts │ │ ├── user.module.ts │ │ └── user.service.ts │ │ └── v1.module.ts ├── test │ ├── app.e2e-spec.ts │ ├── auth.e2e-spec.ts │ ├── jest-e2e.json │ ├── mocks │ │ └── user.mock.ts │ └── test-utils.ts ├── tsconfig.build.json └── tsconfig.json └── workers └── queues ├── .dockerignore ├── .env.sample ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── Dockerfile ├── nest-cli.json ├── package.json ├── pnpm-lock.yaml ├── src ├── app.module.ts ├── app.service.ts ├── mailer │ ├── mail-queue.processor.ts │ ├── mailer.module.ts │ └── templates │ │ └── pages │ │ ├── confirm-email.hbs │ │ └── reset-password.hbs └── main.ts ├── tsconfig.build.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/workflows/e2e-auth-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/.github/workflows/e2e-auth-tests.yml -------------------------------------------------------------------------------- /.github/workflows/unit-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/.github/workflows/unit-tests.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /client/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/.dockerignore -------------------------------------------------------------------------------- /client/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/.eslintrc.json -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/Dockerfile -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/README.md -------------------------------------------------------------------------------- /client/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/next-env.d.ts -------------------------------------------------------------------------------- /client/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/next.config.js -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/package.json -------------------------------------------------------------------------------- /client/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/pnpm-lock.yaml -------------------------------------------------------------------------------- /client/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/postcss.config.js -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/public/vercel.svg -------------------------------------------------------------------------------- /client/src/components/Container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/Container.tsx -------------------------------------------------------------------------------- /client/src/components/EditProfileForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/EditProfileForm.tsx -------------------------------------------------------------------------------- /client/src/components/ErrorField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/ErrorField.tsx -------------------------------------------------------------------------------- /client/src/components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/Footer.tsx -------------------------------------------------------------------------------- /client/src/components/NavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/NavBar.tsx -------------------------------------------------------------------------------- /client/src/components/SocialLogin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/SocialLogin.tsx -------------------------------------------------------------------------------- /client/src/components/chat/ChatButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/ChatButton.tsx -------------------------------------------------------------------------------- /client/src/components/chat/CreateChatForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/CreateChatForm.tsx -------------------------------------------------------------------------------- /client/src/components/chat/CreateConversationForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/CreateConversationForm.tsx -------------------------------------------------------------------------------- /client/src/components/chat/EditChatForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/EditChatForm.tsx -------------------------------------------------------------------------------- /client/src/components/chat/MemberCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/MemberCard.tsx -------------------------------------------------------------------------------- /client/src/components/chat/Members.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/Members.tsx -------------------------------------------------------------------------------- /client/src/components/chat/Message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/Message.tsx -------------------------------------------------------------------------------- /client/src/components/chat/MessageInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/components/chat/MessageInput.tsx -------------------------------------------------------------------------------- /client/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/_app.tsx -------------------------------------------------------------------------------- /client/src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/_document.tsx -------------------------------------------------------------------------------- /client/src/pages/account/confirm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/account/confirm.tsx -------------------------------------------------------------------------------- /client/src/pages/account/password/change.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/account/password/change.tsx -------------------------------------------------------------------------------- /client/src/pages/account/password/new.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/account/password/new.tsx -------------------------------------------------------------------------------- /client/src/pages/account/password/reset.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/account/password/reset.tsx -------------------------------------------------------------------------------- /client/src/pages/chat/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/chat/index.tsx -------------------------------------------------------------------------------- /client/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/index.tsx -------------------------------------------------------------------------------- /client/src/pages/invite.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/invite.tsx -------------------------------------------------------------------------------- /client/src/pages/login/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/login/error.tsx -------------------------------------------------------------------------------- /client/src/pages/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/login/index.tsx -------------------------------------------------------------------------------- /client/src/pages/me.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/pages/me.tsx -------------------------------------------------------------------------------- /client/src/store/auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/auth.tsx -------------------------------------------------------------------------------- /client/src/store/models/conversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/models/conversation.ts -------------------------------------------------------------------------------- /client/src/store/models/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/models/index.ts -------------------------------------------------------------------------------- /client/src/store/models/room.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/models/room.ts -------------------------------------------------------------------------------- /client/src/store/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/models/user.ts -------------------------------------------------------------------------------- /client/src/store/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/store/store.ts -------------------------------------------------------------------------------- /client/src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/styles/globals.css -------------------------------------------------------------------------------- /client/src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/utils/constants.ts -------------------------------------------------------------------------------- /client/src/utils/room.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/utils/room.ts -------------------------------------------------------------------------------- /client/src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/utils/types.ts -------------------------------------------------------------------------------- /client/src/utils/useSocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/utils/useSocket.ts -------------------------------------------------------------------------------- /client/src/utils/withAuth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/src/utils/withAuth.tsx -------------------------------------------------------------------------------- /client/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/tailwind.config.js -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /docker-compose.test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/docker-compose.test.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /server/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /server/.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/.env.sample -------------------------------------------------------------------------------- /server/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/.eslintrc.js -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/.gitignore -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/.prettierrc -------------------------------------------------------------------------------- /server/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/Dockerfile -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/README.md -------------------------------------------------------------------------------- /server/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/nest-cli.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/package.json -------------------------------------------------------------------------------- /server/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/pnpm-lock.yaml -------------------------------------------------------------------------------- /server/src/common/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/decorators/index.ts -------------------------------------------------------------------------------- /server/src/common/decorators/roles.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/decorators/roles.decorator.ts -------------------------------------------------------------------------------- /server/src/common/decorators/user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/decorators/user.decorator.ts -------------------------------------------------------------------------------- /server/src/common/decorators/verified.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/decorators/verified.decorator.ts -------------------------------------------------------------------------------- /server/src/common/dtos/create-account.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/dtos/create-account.dto.ts -------------------------------------------------------------------------------- /server/src/common/dtos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/dtos/index.ts -------------------------------------------------------------------------------- /server/src/common/dtos/login.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/dtos/login.dto.ts -------------------------------------------------------------------------------- /server/src/common/dtos/passport-values.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/dtos/passport-values.dto.ts -------------------------------------------------------------------------------- /server/src/common/dtos/update-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/dtos/update-user.dto.ts -------------------------------------------------------------------------------- /server/src/common/entities/abstract.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/entities/abstract.entity.ts -------------------------------------------------------------------------------- /server/src/common/entities/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/entities/index.ts -------------------------------------------------------------------------------- /server/src/common/entities/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/entities/user.entity.ts -------------------------------------------------------------------------------- /server/src/common/enums/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/enums/index.ts -------------------------------------------------------------------------------- /server/src/common/enums/postgres-errors.enum.ts: -------------------------------------------------------------------------------- 1 | export enum PostgresErrorCode { 2 | UniqueViolation = '23505' 3 | } -------------------------------------------------------------------------------- /server/src/common/enums/providers.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/enums/providers.enum.ts -------------------------------------------------------------------------------- /server/src/common/enums/role.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/enums/role.enum.ts -------------------------------------------------------------------------------- /server/src/common/enums/status.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/enums/status.enum.ts -------------------------------------------------------------------------------- /server/src/common/exceptions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/exceptions/index.ts -------------------------------------------------------------------------------- /server/src/common/exceptions/invalid-credentials.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/exceptions/invalid-credentials.exception.ts -------------------------------------------------------------------------------- /server/src/common/exceptions/social-provider.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/exceptions/social-provider.exception.ts -------------------------------------------------------------------------------- /server/src/common/exceptions/unique-violation.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/exceptions/unique-violation.exception.ts -------------------------------------------------------------------------------- /server/src/common/guards/facebook.-oauth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/facebook.-oauth.guard.ts -------------------------------------------------------------------------------- /server/src/common/guards/google-oauth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/google-oauth.guard.ts -------------------------------------------------------------------------------- /server/src/common/guards/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/index.ts -------------------------------------------------------------------------------- /server/src/common/guards/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/jwt-auth.guard.ts -------------------------------------------------------------------------------- /server/src/common/guards/roles.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/roles.guard.ts -------------------------------------------------------------------------------- /server/src/common/guards/verified.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/guards/verified.guard.ts -------------------------------------------------------------------------------- /server/src/common/swagger/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/swagger/constants.ts -------------------------------------------------------------------------------- /server/src/common/swagger/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/common/swagger/index.ts -------------------------------------------------------------------------------- /server/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/main.ts -------------------------------------------------------------------------------- /server/src/modules/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/app.controller.ts -------------------------------------------------------------------------------- /server/src/modules/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/app.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/auth.controller.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/auth.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/auth.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/strategies/facebook-oauth.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/strategies/facebook-oauth.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/strategies/google-oauth.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/strategies/google-oauth.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/strategies/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/strategies/index.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/strategies/jwt-auth.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/strategies/jwt-auth.strategy.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/tests/auth.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/tests/auth.controller.spec.ts -------------------------------------------------------------------------------- /server/src/modules/v1/auth/tests/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/auth/tests/auth.service.spec.ts -------------------------------------------------------------------------------- /server/src/modules/v1/chat/chat.adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/chat/chat.adapter.ts -------------------------------------------------------------------------------- /server/src/modules/v1/chat/chat.gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/chat/chat.gateway.ts -------------------------------------------------------------------------------- /server/src/modules/v1/chat/chat.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/chat/chat.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/chat/chat.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/chat/chat.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/chat/ws-emitter.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/chat/ws-emitter.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/conversation/conversation.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/conversation/conversation.controller.ts -------------------------------------------------------------------------------- /server/src/modules/v1/conversation/conversation.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/conversation/conversation.entity.ts -------------------------------------------------------------------------------- /server/src/modules/v1/conversation/conversation.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/conversation/conversation.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/conversation/conversation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/conversation/conversation.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/message/dto/create-message.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/message/dto/create-message.dto.ts -------------------------------------------------------------------------------- /server/src/modules/v1/message/message.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/message/message.controller.ts -------------------------------------------------------------------------------- /server/src/modules/v1/message/message.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/message/message.entity.ts -------------------------------------------------------------------------------- /server/src/modules/v1/message/message.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/message/message.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/message/message.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/message/message.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/dto/add-remove-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/dto/add-remove-user.dto.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/dto/room.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/dto/room.dto.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/entities/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/entities/index.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/entities/invitation.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/entities/invitation.entity.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/entities/room.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/entities/room.entity.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/guards/MembershipGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/guards/MembershipGuard.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/guards/ModGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/guards/ModGuard.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/guards/OwnershipGuard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/guards/OwnershipGuard.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/room.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/room.controller.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/room.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/room.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/room/room.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/room/room.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/repositories/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/repositories/user.repository.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/tests/user.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/tests/user.controller.spec.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/tests/user.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/tests/user.service.spec.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/user.controller.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/user.module.ts -------------------------------------------------------------------------------- /server/src/modules/v1/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/user/user.service.ts -------------------------------------------------------------------------------- /server/src/modules/v1/v1.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/src/modules/v1/v1.module.ts -------------------------------------------------------------------------------- /server/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /server/test/auth.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/test/auth.e2e-spec.ts -------------------------------------------------------------------------------- /server/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/test/jest-e2e.json -------------------------------------------------------------------------------- /server/test/mocks/user.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/test/mocks/user.mock.ts -------------------------------------------------------------------------------- /server/test/test-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/test/test-utils.ts -------------------------------------------------------------------------------- /server/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/tsconfig.build.json -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /workers/queues/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /workers/queues/.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/.env.sample -------------------------------------------------------------------------------- /workers/queues/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/.eslintrc.js -------------------------------------------------------------------------------- /workers/queues/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/.gitignore -------------------------------------------------------------------------------- /workers/queues/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/.prettierrc -------------------------------------------------------------------------------- /workers/queues/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/Dockerfile -------------------------------------------------------------------------------- /workers/queues/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/nest-cli.json -------------------------------------------------------------------------------- /workers/queues/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/package.json -------------------------------------------------------------------------------- /workers/queues/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/pnpm-lock.yaml -------------------------------------------------------------------------------- /workers/queues/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/app.module.ts -------------------------------------------------------------------------------- /workers/queues/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/app.service.ts -------------------------------------------------------------------------------- /workers/queues/src/mailer/mail-queue.processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/mailer/mail-queue.processor.ts -------------------------------------------------------------------------------- /workers/queues/src/mailer/mailer.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/mailer/mailer.module.ts -------------------------------------------------------------------------------- /workers/queues/src/mailer/templates/pages/confirm-email.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/mailer/templates/pages/confirm-email.hbs -------------------------------------------------------------------------------- /workers/queues/src/mailer/templates/pages/reset-password.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/mailer/templates/pages/reset-password.hbs -------------------------------------------------------------------------------- /workers/queues/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/src/main.ts -------------------------------------------------------------------------------- /workers/queues/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/tsconfig.build.json -------------------------------------------------------------------------------- /workers/queues/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoProstuWitold/nest-next-boilerplate/HEAD/workers/queues/tsconfig.json --------------------------------------------------------------------------------