├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── (auth) │ ├── (routes) │ │ ├── sign-in │ │ │ └── [[...sign-in]] │ │ │ │ └── page.tsx │ │ └── sign-up │ │ │ └── [[...sign-up]] │ │ │ └── page.tsx │ └── layout.tsx ├── (invite) │ └── (routes) │ │ └── invite │ │ └── [inviteCode] │ │ └── page.tsx ├── (main) │ ├── (routes) │ │ └── servers │ │ │ └── [serverId] │ │ │ ├── channels │ │ │ └── [channelId] │ │ │ │ └── page.tsx │ │ │ ├── conversations │ │ │ └── [memberId] │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ └── layout.tsx ├── (setup) │ └── page.tsx ├── api │ ├── channels │ │ ├── [channelId] │ │ │ └── route.ts │ │ └── route.ts │ ├── direct-messages │ │ └── route.ts │ ├── livekit │ │ └── route.ts │ ├── members │ │ └── [memberId] │ │ │ └── route.ts │ ├── messages │ │ └── route.ts │ ├── servers │ │ ├── [serverId] │ │ │ ├── invite-code │ │ │ │ └── route.ts │ │ │ ├── leave │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ └── route.ts │ └── uploadthing │ │ ├── core.ts │ │ └── route.ts ├── favicon.ico ├── globals.css └── layout.tsx ├── components.json ├── components ├── action-tooltip.tsx ├── chat-video-button.tsx ├── chat │ ├── chat-header.tsx │ ├── chat-input.tsx │ ├── chat-item.tsx │ ├── chat-messages.tsx │ └── chat-welcome.tsx ├── emoji-picker.tsx ├── file-upload.tsx ├── media-room.tsx ├── mobile-toggle.tsx ├── modals │ ├── create-channel-modal.tsx │ ├── create-server-modal.tsx │ ├── delete-channel-modal.tsx │ ├── delete-message-modal.tsx │ ├── delete-server-modal.tsx │ ├── edit-channel-modal.tsx │ ├── edit-server-modal.tsx │ ├── initial-modal.tsx │ ├── invite-modal.tsx │ ├── leave-server-modal.tsx │ ├── members-modal.tsx │ └── message-file-modal.tsx ├── mode-toggle.tsx ├── navigation │ ├── navigation-action.tsx │ ├── navigation-item.tsx │ └── navigation-sidebar.tsx ├── providers │ ├── modal-provider.tsx │ ├── query-provider.tsx │ ├── socket-provider.tsx │ └── theme-provider.tsx ├── server │ ├── server-channel.tsx │ ├── server-header.tsx │ ├── server-member.tsx │ ├── server-search.tsx │ ├── server-section.tsx │ └── server-sidebar.tsx ├── socket-indicator.tsx ├── ui │ ├── avatar.tsx │ ├── badge.tsx │ ├── button.tsx │ ├── command.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── form.tsx │ ├── input.tsx │ ├── label.tsx │ ├── popover.tsx │ ├── scroll-area.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── sheet.tsx │ └── tooltip.tsx └── user-avatar.tsx ├── github_assets ├── 10pic-light.PNG ├── 10pic.PNG ├── 11oic.PNG ├── 11pic-light.PNG ├── 12pic-light.PNG ├── 12pic.PNG ├── 13mobile.PNG ├── 13pic-light.PNG ├── 13pic.PNG ├── 1mobile.PNG ├── 1pic-light.PNG ├── 1pic.PNG ├── 2mobile.PNG ├── 2pic-light.PNG ├── 2pic.PNG ├── 3mobile.PNG ├── 3pic-light.PNG ├── 3pic.PNG ├── 4mobile.PNG ├── 4pic-light.PNG ├── 4pic.PNG ├── 5mobile.PNG ├── 5pic-light.PNG ├── 5pic.PNG ├── 6mobile.PNG ├── 6pic-light.PNG ├── 6pic.PNG ├── 7mobile.PNG ├── 7pic-light.PNG ├── 7pic.PNG ├── 8mobile.PNG ├── 8pic-light.PNG ├── 8pic.PNG ├── 9mobile.PNG ├── 9pic-light.PNG ├── 9pic.PNG ├── archive │ └── second-mobile.PNG └── discord-logo-discord-icon-transparent-free-png.webp ├── hooks ├── use-chat-query.ts ├── use-chat-scroll.ts ├── use-chat-socket.ts ├── use-modal-store.ts └── use-origin.ts ├── lib ├── blur-data-img.ts ├── conversation.ts ├── current-profile-pages.ts ├── current-profile.ts ├── db.ts ├── initial-profile.ts ├── uploadthing.ts └── utils.ts ├── middleware.ts ├── next.config.mjs ├── package.json ├── pages └── api │ └── socket │ ├── direct-messages │ ├── [directMessagesId].ts │ └── index.ts │ ├── io.ts │ └── messages │ ├── [messagesId].ts │ └── index.ts ├── postcss.config.mjs ├── prisma ├── migrations │ ├── 20240827074551_ │ │ └── migration.sql │ ├── 20240829070717_added_messages_logic_and_stuff │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json └── types.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/README.md -------------------------------------------------------------------------------- /app/(auth)/(routes)/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(auth)/(routes)/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /app/(auth)/(routes)/sign-up/[[...sign-up]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(auth)/(routes)/sign-up/[[...sign-up]]/page.tsx -------------------------------------------------------------------------------- /app/(auth)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(auth)/layout.tsx -------------------------------------------------------------------------------- /app/(invite)/(routes)/invite/[inviteCode]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(invite)/(routes)/invite/[inviteCode]/page.tsx -------------------------------------------------------------------------------- /app/(main)/(routes)/servers/[serverId]/channels/[channelId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(main)/(routes)/servers/[serverId]/channels/[channelId]/page.tsx -------------------------------------------------------------------------------- /app/(main)/(routes)/servers/[serverId]/conversations/[memberId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(main)/(routes)/servers/[serverId]/conversations/[memberId]/page.tsx -------------------------------------------------------------------------------- /app/(main)/(routes)/servers/[serverId]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(main)/(routes)/servers/[serverId]/layout.tsx -------------------------------------------------------------------------------- /app/(main)/(routes)/servers/[serverId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(main)/(routes)/servers/[serverId]/page.tsx -------------------------------------------------------------------------------- /app/(main)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(main)/layout.tsx -------------------------------------------------------------------------------- /app/(setup)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/(setup)/page.tsx -------------------------------------------------------------------------------- /app/api/channels/[channelId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/channels/[channelId]/route.ts -------------------------------------------------------------------------------- /app/api/channels/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/channels/route.ts -------------------------------------------------------------------------------- /app/api/direct-messages/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/direct-messages/route.ts -------------------------------------------------------------------------------- /app/api/livekit/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/livekit/route.ts -------------------------------------------------------------------------------- /app/api/members/[memberId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/members/[memberId]/route.ts -------------------------------------------------------------------------------- /app/api/messages/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/messages/route.ts -------------------------------------------------------------------------------- /app/api/servers/[serverId]/invite-code/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/servers/[serverId]/invite-code/route.ts -------------------------------------------------------------------------------- /app/api/servers/[serverId]/leave/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/servers/[serverId]/leave/route.ts -------------------------------------------------------------------------------- /app/api/servers/[serverId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/servers/[serverId]/route.ts -------------------------------------------------------------------------------- /app/api/servers/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/servers/route.ts -------------------------------------------------------------------------------- /app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components.json -------------------------------------------------------------------------------- /components/action-tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/action-tooltip.tsx -------------------------------------------------------------------------------- /components/chat-video-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat-video-button.tsx -------------------------------------------------------------------------------- /components/chat/chat-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat/chat-header.tsx -------------------------------------------------------------------------------- /components/chat/chat-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat/chat-input.tsx -------------------------------------------------------------------------------- /components/chat/chat-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat/chat-item.tsx -------------------------------------------------------------------------------- /components/chat/chat-messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat/chat-messages.tsx -------------------------------------------------------------------------------- /components/chat/chat-welcome.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/chat/chat-welcome.tsx -------------------------------------------------------------------------------- /components/emoji-picker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/emoji-picker.tsx -------------------------------------------------------------------------------- /components/file-upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/file-upload.tsx -------------------------------------------------------------------------------- /components/media-room.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/media-room.tsx -------------------------------------------------------------------------------- /components/mobile-toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/mobile-toggle.tsx -------------------------------------------------------------------------------- /components/modals/create-channel-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/create-channel-modal.tsx -------------------------------------------------------------------------------- /components/modals/create-server-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/create-server-modal.tsx -------------------------------------------------------------------------------- /components/modals/delete-channel-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/delete-channel-modal.tsx -------------------------------------------------------------------------------- /components/modals/delete-message-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/delete-message-modal.tsx -------------------------------------------------------------------------------- /components/modals/delete-server-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/delete-server-modal.tsx -------------------------------------------------------------------------------- /components/modals/edit-channel-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/edit-channel-modal.tsx -------------------------------------------------------------------------------- /components/modals/edit-server-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/edit-server-modal.tsx -------------------------------------------------------------------------------- /components/modals/initial-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/initial-modal.tsx -------------------------------------------------------------------------------- /components/modals/invite-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/invite-modal.tsx -------------------------------------------------------------------------------- /components/modals/leave-server-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/leave-server-modal.tsx -------------------------------------------------------------------------------- /components/modals/members-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/members-modal.tsx -------------------------------------------------------------------------------- /components/modals/message-file-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/modals/message-file-modal.tsx -------------------------------------------------------------------------------- /components/mode-toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/mode-toggle.tsx -------------------------------------------------------------------------------- /components/navigation/navigation-action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/navigation/navigation-action.tsx -------------------------------------------------------------------------------- /components/navigation/navigation-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/navigation/navigation-item.tsx -------------------------------------------------------------------------------- /components/navigation/navigation-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/navigation/navigation-sidebar.tsx -------------------------------------------------------------------------------- /components/providers/modal-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/providers/modal-provider.tsx -------------------------------------------------------------------------------- /components/providers/query-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/providers/query-provider.tsx -------------------------------------------------------------------------------- /components/providers/socket-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/providers/socket-provider.tsx -------------------------------------------------------------------------------- /components/providers/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/providers/theme-provider.tsx -------------------------------------------------------------------------------- /components/server/server-channel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-channel.tsx -------------------------------------------------------------------------------- /components/server/server-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-header.tsx -------------------------------------------------------------------------------- /components/server/server-member.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-member.tsx -------------------------------------------------------------------------------- /components/server/server-search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-search.tsx -------------------------------------------------------------------------------- /components/server/server-section.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-section.tsx -------------------------------------------------------------------------------- /components/server/server-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/server/server-sidebar.tsx -------------------------------------------------------------------------------- /components/socket-indicator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/socket-indicator.tsx -------------------------------------------------------------------------------- /components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/avatar.tsx -------------------------------------------------------------------------------- /components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/badge.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/command.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/popover.tsx -------------------------------------------------------------------------------- /components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/sheet.tsx -------------------------------------------------------------------------------- /components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /components/user-avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/components/user-avatar.tsx -------------------------------------------------------------------------------- /github_assets/10pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/10pic-light.PNG -------------------------------------------------------------------------------- /github_assets/10pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/10pic.PNG -------------------------------------------------------------------------------- /github_assets/11oic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/11oic.PNG -------------------------------------------------------------------------------- /github_assets/11pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/11pic-light.PNG -------------------------------------------------------------------------------- /github_assets/12pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/12pic-light.PNG -------------------------------------------------------------------------------- /github_assets/12pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/12pic.PNG -------------------------------------------------------------------------------- /github_assets/13mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/13mobile.PNG -------------------------------------------------------------------------------- /github_assets/13pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/13pic-light.PNG -------------------------------------------------------------------------------- /github_assets/13pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/13pic.PNG -------------------------------------------------------------------------------- /github_assets/1mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/1mobile.PNG -------------------------------------------------------------------------------- /github_assets/1pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/1pic-light.PNG -------------------------------------------------------------------------------- /github_assets/1pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/1pic.PNG -------------------------------------------------------------------------------- /github_assets/2mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/2mobile.PNG -------------------------------------------------------------------------------- /github_assets/2pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/2pic-light.PNG -------------------------------------------------------------------------------- /github_assets/2pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/2pic.PNG -------------------------------------------------------------------------------- /github_assets/3mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/3mobile.PNG -------------------------------------------------------------------------------- /github_assets/3pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/3pic-light.PNG -------------------------------------------------------------------------------- /github_assets/3pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/3pic.PNG -------------------------------------------------------------------------------- /github_assets/4mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/4mobile.PNG -------------------------------------------------------------------------------- /github_assets/4pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/4pic-light.PNG -------------------------------------------------------------------------------- /github_assets/4pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/4pic.PNG -------------------------------------------------------------------------------- /github_assets/5mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/5mobile.PNG -------------------------------------------------------------------------------- /github_assets/5pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/5pic-light.PNG -------------------------------------------------------------------------------- /github_assets/5pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/5pic.PNG -------------------------------------------------------------------------------- /github_assets/6mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/6mobile.PNG -------------------------------------------------------------------------------- /github_assets/6pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/6pic-light.PNG -------------------------------------------------------------------------------- /github_assets/6pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/6pic.PNG -------------------------------------------------------------------------------- /github_assets/7mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/7mobile.PNG -------------------------------------------------------------------------------- /github_assets/7pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/7pic-light.PNG -------------------------------------------------------------------------------- /github_assets/7pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/7pic.PNG -------------------------------------------------------------------------------- /github_assets/8mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/8mobile.PNG -------------------------------------------------------------------------------- /github_assets/8pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/8pic-light.PNG -------------------------------------------------------------------------------- /github_assets/8pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/8pic.PNG -------------------------------------------------------------------------------- /github_assets/9mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/9mobile.PNG -------------------------------------------------------------------------------- /github_assets/9pic-light.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/9pic-light.PNG -------------------------------------------------------------------------------- /github_assets/9pic.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/9pic.PNG -------------------------------------------------------------------------------- /github_assets/archive/second-mobile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/archive/second-mobile.PNG -------------------------------------------------------------------------------- /github_assets/discord-logo-discord-icon-transparent-free-png.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/github_assets/discord-logo-discord-icon-transparent-free-png.webp -------------------------------------------------------------------------------- /hooks/use-chat-query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/hooks/use-chat-query.ts -------------------------------------------------------------------------------- /hooks/use-chat-scroll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/hooks/use-chat-scroll.ts -------------------------------------------------------------------------------- /hooks/use-chat-socket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/hooks/use-chat-socket.ts -------------------------------------------------------------------------------- /hooks/use-modal-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/hooks/use-modal-store.ts -------------------------------------------------------------------------------- /hooks/use-origin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/hooks/use-origin.ts -------------------------------------------------------------------------------- /lib/blur-data-img.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/blur-data-img.ts -------------------------------------------------------------------------------- /lib/conversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/conversation.ts -------------------------------------------------------------------------------- /lib/current-profile-pages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/current-profile-pages.ts -------------------------------------------------------------------------------- /lib/current-profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/current-profile.ts -------------------------------------------------------------------------------- /lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/db.ts -------------------------------------------------------------------------------- /lib/initial-profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/initial-profile.ts -------------------------------------------------------------------------------- /lib/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/uploadthing.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/package.json -------------------------------------------------------------------------------- /pages/api/socket/direct-messages/[directMessagesId].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/pages/api/socket/direct-messages/[directMessagesId].ts -------------------------------------------------------------------------------- /pages/api/socket/direct-messages/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/pages/api/socket/direct-messages/index.ts -------------------------------------------------------------------------------- /pages/api/socket/io.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/pages/api/socket/io.ts -------------------------------------------------------------------------------- /pages/api/socket/messages/[messagesId].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/pages/api/socket/messages/[messagesId].ts -------------------------------------------------------------------------------- /pages/api/socket/messages/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/pages/api/socket/messages/index.ts -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/migrations/20240827074551_/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/prisma/migrations/20240827074551_/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20240829070717_added_messages_logic_and_stuff/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/prisma/migrations/20240829070717_added_messages_logic_and_stuff/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TsotnePharsenadze/Discord-react-nextjs-typescript/HEAD/types.ts --------------------------------------------------------------------------------