├── .eslintrc.json ├── .gitignore ├── README.md ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prettier.config.js ├── prisma └── schema.prisma ├── public ├── file-text.svg ├── globe.svg ├── next.svg ├── vercel.svg └── window.svg ├── src ├── app │ ├── (auth) │ │ ├── actions.ts │ │ ├── layout.tsx │ │ ├── login │ │ │ ├── LoginForm.tsx │ │ │ ├── actions.ts │ │ │ ├── google │ │ │ │ ├── GoogleSignInButton.tsx │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ └── signup │ │ │ ├── SignUpForm.tsx │ │ │ ├── actions.ts │ │ │ └── page.tsx │ ├── (main) │ │ ├── FollowingFeed.tsx │ │ ├── ForYouFeed.tsx │ │ ├── MenuBar.tsx │ │ ├── MessagesButton.tsx │ │ ├── Navbar.tsx │ │ ├── NotificationsButton.tsx │ │ ├── SessionProvider.tsx │ │ ├── bookmarks │ │ │ ├── Bookmarks.tsx │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── loading.tsx │ │ ├── messages │ │ │ ├── Chat.tsx │ │ │ ├── ChatChannel.tsx │ │ │ ├── ChatSidebar.tsx │ │ │ ├── NewChatDialog.tsx │ │ │ ├── page.tsx │ │ │ └── useInitializeChatClient.ts │ │ ├── not-found.tsx │ │ ├── notifications │ │ │ ├── Notification.tsx │ │ │ ├── Notifications.tsx │ │ │ └── page.tsx │ │ ├── page.tsx │ │ ├── posts │ │ │ └── [postId] │ │ │ │ └── page.tsx │ │ ├── search │ │ │ ├── SearchResults.tsx │ │ │ └── page.tsx │ │ └── users │ │ │ └── [username] │ │ │ ├── EditProfileButton.tsx │ │ │ ├── EditProfileDialog.tsx │ │ │ ├── UserPosts.tsx │ │ │ ├── actions.ts │ │ │ ├── mutations.ts │ │ │ └── page.tsx │ ├── ReactQueryProvider.tsx │ ├── api │ │ ├── auth │ │ │ └── callback │ │ │ │ └── google │ │ │ │ └── route.ts │ │ ├── clear-uploads │ │ │ └── route.ts │ │ ├── get-token │ │ │ └── route.ts │ │ ├── messages │ │ │ └── unread-count │ │ │ │ └── route.ts │ │ ├── notifications │ │ │ ├── mark-as-read │ │ │ │ └── route.ts │ │ │ ├── route.ts │ │ │ └── unread-count │ │ │ │ └── route.ts │ │ ├── posts │ │ │ ├── [postId] │ │ │ │ ├── bookmark │ │ │ │ │ └── route.ts │ │ │ │ ├── comments │ │ │ │ │ └── route.ts │ │ │ │ └── likes │ │ │ │ │ └── route.ts │ │ │ ├── bookmarked │ │ │ │ └── route.ts │ │ │ ├── following │ │ │ │ └── route.ts │ │ │ └── for-you │ │ │ │ └── route.ts │ │ ├── search │ │ │ └── route.ts │ │ ├── uploadthing │ │ │ ├── core.ts │ │ │ └── route.ts │ │ └── users │ │ │ ├── [userId] │ │ │ ├── followers │ │ │ │ └── route.ts │ │ │ └── posts │ │ │ │ └── route.ts │ │ │ └── username │ │ │ └── [username] │ │ │ └── route.ts │ ├── favicon.ico │ ├── fonts │ │ ├── GeistMonoVF.woff │ │ └── GeistVF.woff │ ├── globals.css │ ├── layout.tsx │ └── loading.tsx ├── assets │ ├── avatar-placeholder.png │ ├── login-image.jpg │ └── signup-image.jpg ├── auth.ts ├── components │ ├── CropImageDialog.tsx │ ├── FollowButton.tsx │ ├── FollowerCount.tsx │ ├── InfiniteScrollContainer.tsx │ ├── Linkify.tsx │ ├── LoadingButton.tsx │ ├── PasswordInput.tsx │ ├── SearchField.tsx │ ├── TrendsSidebar.tsx │ ├── UserAvatar.tsx │ ├── UserButton.tsx │ ├── UserLinkWithTooltip.tsx │ ├── UserTooltip.tsx │ ├── comments │ │ ├── Comment.tsx │ │ ├── CommentInput.tsx │ │ ├── CommentMoreButton.tsx │ │ ├── Comments.tsx │ │ ├── DeleteCommentDialog.tsx │ │ ├── actions.ts │ │ └── mutations.ts │ ├── posts │ │ ├── BookmarkButton.tsx │ │ ├── DeletePostDialog.tsx │ │ ├── LikeButton.tsx │ │ ├── Post.tsx │ │ ├── PostMoreButton.tsx │ │ ├── PostsLoadingSkeleton.tsx │ │ ├── actions.ts │ │ ├── editor │ │ │ ├── PostEditor.tsx │ │ │ ├── actions.ts │ │ │ ├── mutations.ts │ │ │ ├── styles.css │ │ │ └── useMediaUpload.ts │ │ └── mutations.ts │ └── ui │ │ ├── button.tsx │ │ ├── dialog.tsx │ │ ├── dropdown-menu.tsx │ │ ├── form.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── skeleton.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ ├── toaster.tsx │ │ ├── tooltip.tsx │ │ └── use-toast.ts ├── hooks │ ├── useDebounce.ts │ └── useFollowerInfo.ts └── lib │ ├── ky.ts │ ├── prisma.ts │ ├── stream.ts │ ├── types.ts │ ├── uploadthing.ts │ ├── utils.ts │ └── validation.ts ├── tailwind.config.ts ├── tsconfig.json └── vercel.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["next/core-web-vitals", "prettier"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/prettier.config.js -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/file-text.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/public/file-text.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/public/window.svg -------------------------------------------------------------------------------- /src/app/(auth)/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/actions.ts -------------------------------------------------------------------------------- /src/app/(auth)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/layout.tsx -------------------------------------------------------------------------------- /src/app/(auth)/login/LoginForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/login/LoginForm.tsx -------------------------------------------------------------------------------- /src/app/(auth)/login/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/login/actions.ts -------------------------------------------------------------------------------- /src/app/(auth)/login/google/GoogleSignInButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/login/google/GoogleSignInButton.tsx -------------------------------------------------------------------------------- /src/app/(auth)/login/google/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/login/google/route.ts -------------------------------------------------------------------------------- /src/app/(auth)/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/login/page.tsx -------------------------------------------------------------------------------- /src/app/(auth)/signup/SignUpForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/signup/SignUpForm.tsx -------------------------------------------------------------------------------- /src/app/(auth)/signup/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/signup/actions.ts -------------------------------------------------------------------------------- /src/app/(auth)/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(auth)/signup/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/FollowingFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/FollowingFeed.tsx -------------------------------------------------------------------------------- /src/app/(main)/ForYouFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/ForYouFeed.tsx -------------------------------------------------------------------------------- /src/app/(main)/MenuBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/MenuBar.tsx -------------------------------------------------------------------------------- /src/app/(main)/MessagesButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/MessagesButton.tsx -------------------------------------------------------------------------------- /src/app/(main)/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/Navbar.tsx -------------------------------------------------------------------------------- /src/app/(main)/NotificationsButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/NotificationsButton.tsx -------------------------------------------------------------------------------- /src/app/(main)/SessionProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/SessionProvider.tsx -------------------------------------------------------------------------------- /src/app/(main)/bookmarks/Bookmarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/bookmarks/Bookmarks.tsx -------------------------------------------------------------------------------- /src/app/(main)/bookmarks/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/bookmarks/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/layout.tsx -------------------------------------------------------------------------------- /src/app/(main)/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/loading.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/Chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/Chat.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/ChatChannel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/ChatChannel.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/ChatSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/ChatSidebar.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/NewChatDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/NewChatDialog.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/messages/useInitializeChatClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/messages/useInitializeChatClient.ts -------------------------------------------------------------------------------- /src/app/(main)/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/not-found.tsx -------------------------------------------------------------------------------- /src/app/(main)/notifications/Notification.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/notifications/Notification.tsx -------------------------------------------------------------------------------- /src/app/(main)/notifications/Notifications.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/notifications/Notifications.tsx -------------------------------------------------------------------------------- /src/app/(main)/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/notifications/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/posts/[postId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/posts/[postId]/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/search/SearchResults.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/search/SearchResults.tsx -------------------------------------------------------------------------------- /src/app/(main)/search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/search/page.tsx -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/EditProfileButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/EditProfileButton.tsx -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/EditProfileDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/EditProfileDialog.tsx -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/UserPosts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/UserPosts.tsx -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/actions.ts -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/mutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/mutations.ts -------------------------------------------------------------------------------- /src/app/(main)/users/[username]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/(main)/users/[username]/page.tsx -------------------------------------------------------------------------------- /src/app/ReactQueryProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/ReactQueryProvider.tsx -------------------------------------------------------------------------------- /src/app/api/auth/callback/google/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/auth/callback/google/route.ts -------------------------------------------------------------------------------- /src/app/api/clear-uploads/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/clear-uploads/route.ts -------------------------------------------------------------------------------- /src/app/api/get-token/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/get-token/route.ts -------------------------------------------------------------------------------- /src/app/api/messages/unread-count/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/messages/unread-count/route.ts -------------------------------------------------------------------------------- /src/app/api/notifications/mark-as-read/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/notifications/mark-as-read/route.ts -------------------------------------------------------------------------------- /src/app/api/notifications/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/notifications/route.ts -------------------------------------------------------------------------------- /src/app/api/notifications/unread-count/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/notifications/unread-count/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/[postId]/bookmark/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/[postId]/bookmark/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/[postId]/comments/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/[postId]/comments/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/[postId]/likes/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/[postId]/likes/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/bookmarked/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/bookmarked/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/following/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/following/route.ts -------------------------------------------------------------------------------- /src/app/api/posts/for-you/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/posts/for-you/route.ts -------------------------------------------------------------------------------- /src/app/api/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/search/route.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /src/app/api/users/[userId]/followers/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/users/[userId]/followers/route.ts -------------------------------------------------------------------------------- /src/app/api/users/[userId]/posts/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/users/[userId]/posts/route.ts -------------------------------------------------------------------------------- /src/app/api/users/username/[username]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/api/users/username/[username]/route.ts -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/fonts/GeistMonoVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/fonts/GeistMonoVF.woff -------------------------------------------------------------------------------- /src/app/fonts/GeistVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/fonts/GeistVF.woff -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/app/loading.tsx -------------------------------------------------------------------------------- /src/assets/avatar-placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/assets/avatar-placeholder.png -------------------------------------------------------------------------------- /src/assets/login-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/assets/login-image.jpg -------------------------------------------------------------------------------- /src/assets/signup-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/assets/signup-image.jpg -------------------------------------------------------------------------------- /src/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/auth.ts -------------------------------------------------------------------------------- /src/components/CropImageDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/CropImageDialog.tsx -------------------------------------------------------------------------------- /src/components/FollowButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/FollowButton.tsx -------------------------------------------------------------------------------- /src/components/FollowerCount.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/FollowerCount.tsx -------------------------------------------------------------------------------- /src/components/InfiniteScrollContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/InfiniteScrollContainer.tsx -------------------------------------------------------------------------------- /src/components/Linkify.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/Linkify.tsx -------------------------------------------------------------------------------- /src/components/LoadingButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/LoadingButton.tsx -------------------------------------------------------------------------------- /src/components/PasswordInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/PasswordInput.tsx -------------------------------------------------------------------------------- /src/components/SearchField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/SearchField.tsx -------------------------------------------------------------------------------- /src/components/TrendsSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/TrendsSidebar.tsx -------------------------------------------------------------------------------- /src/components/UserAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/UserAvatar.tsx -------------------------------------------------------------------------------- /src/components/UserButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/UserButton.tsx -------------------------------------------------------------------------------- /src/components/UserLinkWithTooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/UserLinkWithTooltip.tsx -------------------------------------------------------------------------------- /src/components/UserTooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/UserTooltip.tsx -------------------------------------------------------------------------------- /src/components/comments/Comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/Comment.tsx -------------------------------------------------------------------------------- /src/components/comments/CommentInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/CommentInput.tsx -------------------------------------------------------------------------------- /src/components/comments/CommentMoreButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/CommentMoreButton.tsx -------------------------------------------------------------------------------- /src/components/comments/Comments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/Comments.tsx -------------------------------------------------------------------------------- /src/components/comments/DeleteCommentDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/DeleteCommentDialog.tsx -------------------------------------------------------------------------------- /src/components/comments/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/actions.ts -------------------------------------------------------------------------------- /src/components/comments/mutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/comments/mutations.ts -------------------------------------------------------------------------------- /src/components/posts/BookmarkButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/BookmarkButton.tsx -------------------------------------------------------------------------------- /src/components/posts/DeletePostDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/DeletePostDialog.tsx -------------------------------------------------------------------------------- /src/components/posts/LikeButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/LikeButton.tsx -------------------------------------------------------------------------------- /src/components/posts/Post.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/Post.tsx -------------------------------------------------------------------------------- /src/components/posts/PostMoreButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/PostMoreButton.tsx -------------------------------------------------------------------------------- /src/components/posts/PostsLoadingSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/PostsLoadingSkeleton.tsx -------------------------------------------------------------------------------- /src/components/posts/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/actions.ts -------------------------------------------------------------------------------- /src/components/posts/editor/PostEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/editor/PostEditor.tsx -------------------------------------------------------------------------------- /src/components/posts/editor/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/editor/actions.ts -------------------------------------------------------------------------------- /src/components/posts/editor/mutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/editor/mutations.ts -------------------------------------------------------------------------------- /src/components/posts/editor/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/editor/styles.css -------------------------------------------------------------------------------- /src/components/posts/editor/useMediaUpload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/editor/useMediaUpload.ts -------------------------------------------------------------------------------- /src/components/posts/mutations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/posts/mutations.ts -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/hooks/useDebounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/hooks/useDebounce.ts -------------------------------------------------------------------------------- /src/hooks/useFollowerInfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/hooks/useFollowerInfo.ts -------------------------------------------------------------------------------- /src/lib/ky.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/ky.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/stream.ts -------------------------------------------------------------------------------- /src/lib/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/types.ts -------------------------------------------------------------------------------- /src/lib/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/uploadthing.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/lib/validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/src/lib/validation.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinginflow/nextjs-15-social-media-app/HEAD/vercel.json --------------------------------------------------------------------------------