├── README.md ├── backend ├── .env ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── docker-compose.yml ├── nest-cli.json ├── package-lock.json ├── package.json ├── prisma │ ├── migrations │ │ ├── 20230831104504_init │ │ │ └── migration.sql │ │ ├── 20230902100011_next │ │ │ └── migration.sql │ │ ├── 20230902100732_next │ │ │ └── migration.sql │ │ ├── 20230902101221_next │ │ │ └── migration.sql │ │ └── migration_lock.toml │ └── schema.prisma ├── public │ └── images │ │ ├── 1693611219759-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png │ │ ├── 1693612998162-jondoe_realistic_photo_of_old_nikola_tesla_time_travelling_colo_b3f94220-a44a-4a87-9e3f-a3c83d62a909.png │ │ ├── 1693650241693-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png │ │ ├── 1693786214852-jondoe_dr_gabor_mate._nikon_d750_16f6067f-a165-439e-85eb-324f3ac63c4a.png │ │ ├── 1693856301820-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png │ │ ├── 1693859329740-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png │ │ ├── 1693861399297-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png │ │ ├── 1693861664756-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png │ │ ├── 1693861737878-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png │ │ ├── 2d1f7cb9-0b93-4f03-baa3-39a1ea5576bc_1j7rqt.jpg │ │ ├── a04accf7-5ab3-4e14-80d3-2c908add516a_2023-06-14 22_22_17-did we evolve from neanderthals – Google Suche.png │ │ ├── ab8534c3-066b-49d2-9006-805579398316_gekko_end.png │ │ ├── b147838e-0814-4f99-98ed-164b4f39c47b_jondoe_create_a_beautiful_engaging_youtube_thumbnail_showing_a__df4bc82d-9dbe-449c-b69d-3ecf404abd07.png │ │ └── fd8886d0-d01c-4f9c-a937-8aaa378cae94_jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png ├── src │ ├── app.controller.spec.ts │ ├── app.controller.ts │ ├── app.module.ts │ ├── app.service.ts │ ├── auth │ │ ├── auth.module.ts │ │ ├── auth.resolver.spec.ts │ │ ├── auth.resolver.ts │ │ ├── auth.service.spec.ts │ │ ├── auth.service.ts │ │ ├── dto.ts │ │ ├── graphql-auth.guard.ts │ │ └── types.ts │ ├── chatroom │ │ ├── chatroom.module.ts │ │ ├── chatroom.resolver.spec.ts │ │ ├── chatroom.resolver.ts │ │ ├── chatroom.service.spec.ts │ │ ├── chatroom.service.ts │ │ ├── chatroom.types.ts │ │ └── dto.ts │ ├── filters │ │ └── custom-exception.filter.ts │ ├── live-chatroom │ │ ├── live-chatroom.module.ts │ │ ├── live-chatroom.resolver.spec.ts │ │ ├── live-chatroom.resolver.ts │ │ ├── live-chatroom.service.spec.ts │ │ └── live-chatroom.service.ts │ ├── main.ts │ ├── prisma.service.ts │ ├── schema.gql │ ├── token │ │ ├── token.service.spec.ts │ │ └── token.service.ts │ ├── types.d.ts │ └── user │ │ ├── user.module.ts │ │ ├── user.resolver.spec.ts │ │ ├── user.resolver.ts │ │ ├── user.service.spec.ts │ │ ├── user.service.ts │ │ └── user.type.ts ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json └── frontend ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── codegen.ts ├── index.html ├── package-lock.json ├── package.json ├── public └── vite.svg ├── src ├── App.css ├── App.tsx ├── apolloClient.ts ├── assets │ └── react.svg ├── components │ ├── AddChatroom.tsx │ ├── AuthOverlay.tsx │ ├── Chatwindow.tsx │ ├── JoinRoomOrChatwindow.tsx │ ├── MessageBubble.tsx │ ├── OverlappingAvatars.tsx │ ├── ProfileSettings.tsx │ ├── ProtectedRoutes.tsx │ ├── RoomList.tsx │ └── Sidebar.tsx ├── gql │ ├── fragment-masking.ts │ ├── gql.ts │ ├── graphql.ts │ └── index.ts ├── graphql │ ├── mutations │ │ ├── AddUsersToChatroom.ts │ │ ├── CreateChatroom.ts │ │ ├── DeleteChatroom.ts │ │ ├── EnterChatroom.ts │ │ ├── LeaveChatroom.ts │ │ ├── Login.ts │ │ ├── Logout.ts │ │ ├── Register.ts │ │ ├── SendMessage.ts │ │ ├── UpdateUserProfile.ts │ │ ├── UserStartedTypingMutation.ts │ │ └── UserStoppedTypingMutation.ts │ ├── queries │ │ ├── GetChatroomsForUser.ts │ │ ├── GetMessagesForChatroom.ts │ │ ├── GetUsersOfChatroom.ts │ │ └── SearchUsers.ts │ └── subscriptions │ │ ├── LiveUsers.ts │ │ ├── NewMessage.ts │ │ ├── UserStartedTyping.ts │ │ └── UserStoppedTyping.ts ├── index.css ├── layouts │ └── MainLayout.tsx ├── main.tsx ├── pages │ └── Home.tsx ├── stores │ ├── generalStore.ts │ └── userStore.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /README.md: -------------------------------------------------------------------------------- 1 | # nestjs_graphql_react_chat_app 2 | -------------------------------------------------------------------------------- /backend/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/.env -------------------------------------------------------------------------------- /backend/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/.eslintrc.js -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/.prettierrc -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/docker-compose.yml -------------------------------------------------------------------------------- /backend/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/nest-cli.json -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/prisma/migrations/20230831104504_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/migrations/20230831104504_init/migration.sql -------------------------------------------------------------------------------- /backend/prisma/migrations/20230902100011_next/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/migrations/20230902100011_next/migration.sql -------------------------------------------------------------------------------- /backend/prisma/migrations/20230902100732_next/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/migrations/20230902100732_next/migration.sql -------------------------------------------------------------------------------- /backend/prisma/migrations/20230902101221_next/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/migrations/20230902101221_next/migration.sql -------------------------------------------------------------------------------- /backend/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /backend/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/prisma/schema.prisma -------------------------------------------------------------------------------- /backend/public/images/1693611219759-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693611219759-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png -------------------------------------------------------------------------------- /backend/public/images/1693612998162-jondoe_realistic_photo_of_old_nikola_tesla_time_travelling_colo_b3f94220-a44a-4a87-9e3f-a3c83d62a909.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693612998162-jondoe_realistic_photo_of_old_nikola_tesla_time_travelling_colo_b3f94220-a44a-4a87-9e3f-a3c83d62a909.png -------------------------------------------------------------------------------- /backend/public/images/1693650241693-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693650241693-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png -------------------------------------------------------------------------------- /backend/public/images/1693786214852-jondoe_dr_gabor_mate._nikon_d750_16f6067f-a165-439e-85eb-324f3ac63c4a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693786214852-jondoe_dr_gabor_mate._nikon_d750_16f6067f-a165-439e-85eb-324f3ac63c4a.png -------------------------------------------------------------------------------- /backend/public/images/1693856301820-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693856301820-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png -------------------------------------------------------------------------------- /backend/public/images/1693859329740-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693859329740-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png -------------------------------------------------------------------------------- /backend/public/images/1693861399297-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693861399297-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png -------------------------------------------------------------------------------- /backend/public/images/1693861664756-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693861664756-jondoe_realistic_photo_of_a_beautiful_well_built_woman_fully_en_e0b8b2fa-a638-4437-97fa-e8ed73ba61bb.png -------------------------------------------------------------------------------- /backend/public/images/1693861737878-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/1693861737878-jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png -------------------------------------------------------------------------------- /backend/public/images/2d1f7cb9-0b93-4f03-baa3-39a1ea5576bc_1j7rqt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/2d1f7cb9-0b93-4f03-baa3-39a1ea5576bc_1j7rqt.jpg -------------------------------------------------------------------------------- /backend/public/images/a04accf7-5ab3-4e14-80d3-2c908add516a_2023-06-14 22_22_17-did we evolve from neanderthals – Google Suche.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/a04accf7-5ab3-4e14-80d3-2c908add516a_2023-06-14 22_22_17-did we evolve from neanderthals – Google Suche.png -------------------------------------------------------------------------------- /backend/public/images/ab8534c3-066b-49d2-9006-805579398316_gekko_end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/ab8534c3-066b-49d2-9006-805579398316_gekko_end.png -------------------------------------------------------------------------------- /backend/public/images/b147838e-0814-4f99-98ed-164b4f39c47b_jondoe_create_a_beautiful_engaging_youtube_thumbnail_showing_a__df4bc82d-9dbe-449c-b69d-3ecf404abd07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/b147838e-0814-4f99-98ed-164b4f39c47b_jondoe_create_a_beautiful_engaging_youtube_thumbnail_showing_a__df4bc82d-9dbe-449c-b69d-3ecf404abd07.png -------------------------------------------------------------------------------- /backend/public/images/fd8886d0-d01c-4f9c-a937-8aaa378cae94_jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/public/images/fd8886d0-d01c-4f9c-a937-8aaa378cae94_jondoe_realistic_photo_of_a_beautiful_well_built_woman_in_sport_56d3932e-1dec-46d4-a200-6484f1795aa3.png -------------------------------------------------------------------------------- /backend/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/app.controller.spec.ts -------------------------------------------------------------------------------- /backend/src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/app.controller.ts -------------------------------------------------------------------------------- /backend/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/app.module.ts -------------------------------------------------------------------------------- /backend/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/app.service.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/auth.module.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.resolver.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/auth.resolver.spec.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/auth.resolver.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/auth.service.spec.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/auth.service.ts -------------------------------------------------------------------------------- /backend/src/auth/dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/dto.ts -------------------------------------------------------------------------------- /backend/src/auth/graphql-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/graphql-auth.guard.ts -------------------------------------------------------------------------------- /backend/src/auth/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/auth/types.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.module.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.resolver.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.resolver.spec.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.resolver.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.service.spec.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.service.ts -------------------------------------------------------------------------------- /backend/src/chatroom/chatroom.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/chatroom.types.ts -------------------------------------------------------------------------------- /backend/src/chatroom/dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/chatroom/dto.ts -------------------------------------------------------------------------------- /backend/src/filters/custom-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/filters/custom-exception.filter.ts -------------------------------------------------------------------------------- /backend/src/live-chatroom/live-chatroom.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/live-chatroom/live-chatroom.module.ts -------------------------------------------------------------------------------- /backend/src/live-chatroom/live-chatroom.resolver.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/live-chatroom/live-chatroom.resolver.spec.ts -------------------------------------------------------------------------------- /backend/src/live-chatroom/live-chatroom.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/live-chatroom/live-chatroom.resolver.ts -------------------------------------------------------------------------------- /backend/src/live-chatroom/live-chatroom.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/live-chatroom/live-chatroom.service.spec.ts -------------------------------------------------------------------------------- /backend/src/live-chatroom/live-chatroom.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/live-chatroom/live-chatroom.service.ts -------------------------------------------------------------------------------- /backend/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/main.ts -------------------------------------------------------------------------------- /backend/src/prisma.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/prisma.service.ts -------------------------------------------------------------------------------- /backend/src/schema.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/schema.gql -------------------------------------------------------------------------------- /backend/src/token/token.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/token/token.service.spec.ts -------------------------------------------------------------------------------- /backend/src/token/token.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/token/token.service.ts -------------------------------------------------------------------------------- /backend/src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/types.d.ts -------------------------------------------------------------------------------- /backend/src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.module.ts -------------------------------------------------------------------------------- /backend/src/user/user.resolver.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.resolver.spec.ts -------------------------------------------------------------------------------- /backend/src/user/user.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.resolver.ts -------------------------------------------------------------------------------- /backend/src/user/user.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.service.spec.ts -------------------------------------------------------------------------------- /backend/src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.service.ts -------------------------------------------------------------------------------- /backend/src/user/user.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/src/user/user.type.ts -------------------------------------------------------------------------------- /backend/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /backend/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/test/jest-e2e.json -------------------------------------------------------------------------------- /backend/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/tsconfig.build.json -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/codegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/codegen.ts -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/apolloClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/apolloClient.ts -------------------------------------------------------------------------------- /frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /frontend/src/components/AddChatroom.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/AddChatroom.tsx -------------------------------------------------------------------------------- /frontend/src/components/AuthOverlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/AuthOverlay.tsx -------------------------------------------------------------------------------- /frontend/src/components/Chatwindow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/Chatwindow.tsx -------------------------------------------------------------------------------- /frontend/src/components/JoinRoomOrChatwindow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/JoinRoomOrChatwindow.tsx -------------------------------------------------------------------------------- /frontend/src/components/MessageBubble.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/MessageBubble.tsx -------------------------------------------------------------------------------- /frontend/src/components/OverlappingAvatars.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/OverlappingAvatars.tsx -------------------------------------------------------------------------------- /frontend/src/components/ProfileSettings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/ProfileSettings.tsx -------------------------------------------------------------------------------- /frontend/src/components/ProtectedRoutes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/ProtectedRoutes.tsx -------------------------------------------------------------------------------- /frontend/src/components/RoomList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/RoomList.tsx -------------------------------------------------------------------------------- /frontend/src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /frontend/src/gql/fragment-masking.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/gql/fragment-masking.ts -------------------------------------------------------------------------------- /frontend/src/gql/gql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/gql/gql.ts -------------------------------------------------------------------------------- /frontend/src/gql/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/gql/graphql.ts -------------------------------------------------------------------------------- /frontend/src/gql/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/gql/index.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/AddUsersToChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/AddUsersToChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/CreateChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/CreateChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/DeleteChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/DeleteChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/EnterChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/EnterChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/LeaveChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/LeaveChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/Login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/Login.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/Logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/Logout.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/Register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/Register.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/SendMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/SendMessage.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/UpdateUserProfile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/UpdateUserProfile.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/UserStartedTypingMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/UserStartedTypingMutation.ts -------------------------------------------------------------------------------- /frontend/src/graphql/mutations/UserStoppedTypingMutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/mutations/UserStoppedTypingMutation.ts -------------------------------------------------------------------------------- /frontend/src/graphql/queries/GetChatroomsForUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/queries/GetChatroomsForUser.ts -------------------------------------------------------------------------------- /frontend/src/graphql/queries/GetMessagesForChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/queries/GetMessagesForChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/queries/GetUsersOfChatroom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/queries/GetUsersOfChatroom.ts -------------------------------------------------------------------------------- /frontend/src/graphql/queries/SearchUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/queries/SearchUsers.ts -------------------------------------------------------------------------------- /frontend/src/graphql/subscriptions/LiveUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/subscriptions/LiveUsers.ts -------------------------------------------------------------------------------- /frontend/src/graphql/subscriptions/NewMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/subscriptions/NewMessage.ts -------------------------------------------------------------------------------- /frontend/src/graphql/subscriptions/UserStartedTyping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/subscriptions/UserStartedTyping.ts -------------------------------------------------------------------------------- /frontend/src/graphql/subscriptions/UserStoppedTyping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/graphql/subscriptions/UserStoppedTyping.ts -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/layouts/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/layouts/MainLayout.tsx -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/pages/Home.tsx -------------------------------------------------------------------------------- /frontend/src/stores/generalStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/stores/generalStore.ts -------------------------------------------------------------------------------- /frontend/src/stores/userStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/src/stores/userStore.ts -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebeautyofcoding/nestjs_graphql_react_chat_app/HEAD/frontend/vite.config.ts --------------------------------------------------------------------------------