├── .env.example ├── .gitignore ├── README.md ├── app ├── (auth) │ ├── _components │ │ ├── LoginForm.tsx │ │ ├── RegisterFormModal.tsx │ │ └── SocialLogin.tsx │ ├── layout.tsx │ └── page.tsx ├── (dashboard) │ ├── (routes) │ │ ├── [username] │ │ │ ├── page.tsx │ │ │ └── post │ │ │ │ └── [postId] │ │ │ │ └── page.tsx │ │ ├── home │ │ │ ├── loading.tsx │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── notifications │ │ │ └── page.tsx │ │ ├── search │ │ │ └── page.tsx │ │ └── settings │ │ │ └── page.tsx │ └── _components │ │ ├── CommentFeed.tsx │ │ ├── EditProfileModal.tsx │ │ ├── FollowList.tsx │ │ ├── NotificationFeed.tsx │ │ ├── PostFeed.tsx │ │ ├── Rightbar.tsx │ │ ├── SearchFeed.tsx │ │ ├── SearchForm.tsx │ │ ├── Sidebar.tsx │ │ ├── UserBio.tsx │ │ ├── UserHero.tsx │ │ └── _common │ │ ├── CommentItem.tsx │ │ ├── CoverImageUpload.tsx │ │ ├── FollowButton.tsx │ │ ├── Header.tsx │ │ ├── PostForm.tsx │ │ ├── PostItem.tsx │ │ ├── ProfileImageUpload.tsx │ │ ├── SidebarItem.tsx │ │ └── SubscribeAds.tsx ├── actions │ ├── auth.action.ts │ ├── birthday.action.ts │ ├── comment.action.ts │ ├── follow.action.ts │ ├── like.action.ts │ ├── subcription.ts │ └── upload.action.ts ├── api │ ├── auth │ │ └── [...nextauth] │ │ │ └── route.ts │ ├── check-username │ │ └── route.ts │ ├── current-user │ │ └── route.ts │ ├── edit │ │ └── route.ts │ ├── notifications │ │ └── route.ts │ ├── posts │ │ ├── [postId] │ │ │ └── route.ts │ │ └── route.ts │ ├── register │ │ └── route.tsx │ ├── search │ │ └── route.ts │ ├── stripe │ │ └── route.ts │ ├── users │ │ ├── [username] │ │ │ └── route.ts │ │ └── route.ts │ └── webhook │ │ └── route.ts ├── favicon.ico ├── globals.css └── layout.tsx ├── components.json ├── components ├── badge │ └── index.tsx ├── birthday-modal │ └── index.tsx ├── check-username │ └── index.tsx ├── draft-editor │ └── index.tsx ├── logo │ └── index.tsx ├── modal │ └── index.tsx ├── pro-modal │ └── index.tsx ├── section-label │ └── index.tsx ├── settings │ ├── billing-settings.tsx │ ├── dark-mode.tsx │ ├── subscription-button.tsx │ └── upgrade-card.tsx ├── spinner │ └── index.tsx ├── themes-placeholder │ ├── darkmode.tsx │ ├── lightmode.tsx │ └── systemmode.tsx ├── ui │ ├── avatar.tsx │ ├── button.tsx │ ├── card.tsx │ ├── dialog.tsx │ ├── dropdown-menu.tsx │ ├── form.tsx │ ├── input.tsx │ ├── label.tsx │ ├── tabs.tsx │ ├── textarea.tsx │ ├── toast.tsx │ └── toaster.tsx └── upload-button │ └── index.tsx ├── constants └── pricing-plans.tsx ├── context ├── currentuser-provider.tsx ├── modal-provider.tsx ├── query-provider.tsx ├── session-provider.tsx └── theme-provider.tsx ├── hooks ├── use-toast.ts ├── useDebounce.ts ├── useFollow.ts ├── useLike.ts ├── useNotification.ts ├── usePost.ts ├── useSearch.ts ├── useStore.ts ├── useUploadcare.ts ├── useUser.ts └── useUsers.ts ├── lib ├── auth.ts ├── base-url.ts ├── fetcher.ts ├── helper.ts ├── prismadb.ts ├── stripe.ts ├── utils.ts └── validation │ └── auth-validate.ts ├── markdown └── database.md ├── middleware.ts ├── next-auth.d.ts ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prisma └── schema.prisma ├── public ├── assets │ └── google-logo.svg └── images │ └── creditcard.png ├── svgr.d.ts ├── tailwind.config.ts ├── tsconfig.json └── types ├── comment.type.ts ├── post.type.ts └── user.type.ts /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/README.md -------------------------------------------------------------------------------- /app/(auth)/_components/LoginForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(auth)/_components/LoginForm.tsx -------------------------------------------------------------------------------- /app/(auth)/_components/RegisterFormModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(auth)/_components/RegisterFormModal.tsx -------------------------------------------------------------------------------- /app/(auth)/_components/SocialLogin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(auth)/_components/SocialLogin.tsx -------------------------------------------------------------------------------- /app/(auth)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(auth)/layout.tsx -------------------------------------------------------------------------------- /app/(auth)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(auth)/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/[username]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/[username]/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/[username]/post/[postId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/[username]/post/[postId]/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/home/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/home/loading.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/home/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/home/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/layout.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/notifications/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/search/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/(routes)/settings/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/(routes)/settings/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/CommentFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/CommentFeed.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/EditProfileModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/EditProfileModal.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/FollowList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/FollowList.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/NotificationFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/NotificationFeed.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/PostFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/PostFeed.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/Rightbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/Rightbar.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/SearchFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/SearchFeed.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/SearchForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/SearchForm.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/Sidebar.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/UserBio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/UserBio.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/UserHero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/UserHero.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/CommentItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/CommentItem.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/CoverImageUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/CoverImageUpload.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/FollowButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/FollowButton.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/Header.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/PostForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/PostForm.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/PostItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/PostItem.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/ProfileImageUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/ProfileImageUpload.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/SidebarItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/SidebarItem.tsx -------------------------------------------------------------------------------- /app/(dashboard)/_components/_common/SubscribeAds.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/(dashboard)/_components/_common/SubscribeAds.tsx -------------------------------------------------------------------------------- /app/actions/auth.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/auth.action.ts -------------------------------------------------------------------------------- /app/actions/birthday.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/birthday.action.ts -------------------------------------------------------------------------------- /app/actions/comment.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/comment.action.ts -------------------------------------------------------------------------------- /app/actions/follow.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/follow.action.ts -------------------------------------------------------------------------------- /app/actions/like.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/like.action.ts -------------------------------------------------------------------------------- /app/actions/subcription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/subcription.ts -------------------------------------------------------------------------------- /app/actions/upload.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/actions/upload.action.ts -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/api/check-username/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/check-username/route.ts -------------------------------------------------------------------------------- /app/api/current-user/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/current-user/route.ts -------------------------------------------------------------------------------- /app/api/edit/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/edit/route.ts -------------------------------------------------------------------------------- /app/api/notifications/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/notifications/route.ts -------------------------------------------------------------------------------- /app/api/posts/[postId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/posts/[postId]/route.ts -------------------------------------------------------------------------------- /app/api/posts/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/posts/route.ts -------------------------------------------------------------------------------- /app/api/register/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/register/route.tsx -------------------------------------------------------------------------------- /app/api/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/search/route.ts -------------------------------------------------------------------------------- /app/api/stripe/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/stripe/route.ts -------------------------------------------------------------------------------- /app/api/users/[username]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/users/[username]/route.ts -------------------------------------------------------------------------------- /app/api/users/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/users/route.ts -------------------------------------------------------------------------------- /app/api/webhook/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/api/webhook/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components.json -------------------------------------------------------------------------------- /components/badge/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/badge/index.tsx -------------------------------------------------------------------------------- /components/birthday-modal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/birthday-modal/index.tsx -------------------------------------------------------------------------------- /components/check-username/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/check-username/index.tsx -------------------------------------------------------------------------------- /components/draft-editor/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/draft-editor/index.tsx -------------------------------------------------------------------------------- /components/logo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/logo/index.tsx -------------------------------------------------------------------------------- /components/modal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/modal/index.tsx -------------------------------------------------------------------------------- /components/pro-modal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/pro-modal/index.tsx -------------------------------------------------------------------------------- /components/section-label/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/section-label/index.tsx -------------------------------------------------------------------------------- /components/settings/billing-settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/settings/billing-settings.tsx -------------------------------------------------------------------------------- /components/settings/dark-mode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/settings/dark-mode.tsx -------------------------------------------------------------------------------- /components/settings/subscription-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/settings/subscription-button.tsx -------------------------------------------------------------------------------- /components/settings/upgrade-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/settings/upgrade-card.tsx -------------------------------------------------------------------------------- /components/spinner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/spinner/index.tsx -------------------------------------------------------------------------------- /components/themes-placeholder/darkmode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/themes-placeholder/darkmode.tsx -------------------------------------------------------------------------------- /components/themes-placeholder/lightmode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/themes-placeholder/lightmode.tsx -------------------------------------------------------------------------------- /components/themes-placeholder/systemmode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/themes-placeholder/systemmode.tsx -------------------------------------------------------------------------------- /components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/avatar.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/dialog.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/tabs.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/toast.tsx -------------------------------------------------------------------------------- /components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/ui/toaster.tsx -------------------------------------------------------------------------------- /components/upload-button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/components/upload-button/index.tsx -------------------------------------------------------------------------------- /constants/pricing-plans.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/constants/pricing-plans.tsx -------------------------------------------------------------------------------- /context/currentuser-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/context/currentuser-provider.tsx -------------------------------------------------------------------------------- /context/modal-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/context/modal-provider.tsx -------------------------------------------------------------------------------- /context/query-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/context/query-provider.tsx -------------------------------------------------------------------------------- /context/session-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/context/session-provider.tsx -------------------------------------------------------------------------------- /context/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/context/theme-provider.tsx -------------------------------------------------------------------------------- /hooks/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/use-toast.ts -------------------------------------------------------------------------------- /hooks/useDebounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useDebounce.ts -------------------------------------------------------------------------------- /hooks/useFollow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useFollow.ts -------------------------------------------------------------------------------- /hooks/useLike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useLike.ts -------------------------------------------------------------------------------- /hooks/useNotification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useNotification.ts -------------------------------------------------------------------------------- /hooks/usePost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/usePost.ts -------------------------------------------------------------------------------- /hooks/useSearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useSearch.ts -------------------------------------------------------------------------------- /hooks/useStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useStore.ts -------------------------------------------------------------------------------- /hooks/useUploadcare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useUploadcare.ts -------------------------------------------------------------------------------- /hooks/useUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useUser.ts -------------------------------------------------------------------------------- /hooks/useUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/hooks/useUsers.ts -------------------------------------------------------------------------------- /lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/auth.ts -------------------------------------------------------------------------------- /lib/base-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/base-url.ts -------------------------------------------------------------------------------- /lib/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/fetcher.ts -------------------------------------------------------------------------------- /lib/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/helper.ts -------------------------------------------------------------------------------- /lib/prismadb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/prismadb.ts -------------------------------------------------------------------------------- /lib/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/stripe.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /lib/validation/auth-validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/lib/validation/auth-validate.ts -------------------------------------------------------------------------------- /markdown/database.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/markdown/database.md -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- 1 | export { auth as middleware } from "@/lib/auth"; 2 | -------------------------------------------------------------------------------- /next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/next-auth.d.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/assets/google-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/public/assets/google-logo.svg -------------------------------------------------------------------------------- /public/images/creditcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/public/images/creditcard.png -------------------------------------------------------------------------------- /svgr.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/svgr.d.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/comment.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/types/comment.type.ts -------------------------------------------------------------------------------- /types/post.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/types/post.type.ts -------------------------------------------------------------------------------- /types/user.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TechWithEmmaYT/Social-X-Clone-Course/HEAD/types/user.type.ts --------------------------------------------------------------------------------