├── .env.example ├── .gitignore ├── LikedIcon.svg ├── README.md ├── components.json ├── database.types.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma ├── migrations │ ├── 20230821055137_added_my_schema │ │ └── migration.sql │ ├── 20230821060240_change_column_type │ │ └── migration.sql │ ├── 20230821060634_change_password_column_length │ │ └── migration.sql │ ├── 20230821181433_add_content_in_notification │ │ └── migration.sql │ ├── 20230822054808_addded_likes_table │ │ └── migration.sql │ ├── 20230823053646_added_user_id_in_likes_table │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── favicon.ico └── images │ └── logo.svg ├── src ├── DB │ └── db.config.ts ├── app │ ├── (authPages) │ │ ├── layout.tsx │ │ ├── login │ │ │ └── page.tsx │ │ └── register │ │ │ └── page.tsx │ ├── (front) │ │ ├── explore │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ ├── loading.tsx │ │ ├── notifications │ │ │ └── page.tsx │ │ ├── page.tsx │ │ ├── post │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── profile │ │ │ └── page.tsx │ │ └── user │ │ │ └── [id] │ │ │ └── page.tsx │ ├── api │ │ ├── auth │ │ │ ├── [...nextauth] │ │ │ │ ├── options.ts │ │ │ │ └── route.ts │ │ │ ├── login │ │ │ │ └── route.ts │ │ │ └── register │ │ │ │ └── route.ts │ │ ├── comment │ │ │ ├── [id] │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ ├── explore │ │ │ └── route.ts │ │ ├── like │ │ │ └── route.ts │ │ ├── notifications │ │ │ └── route.ts │ │ ├── post │ │ │ ├── [id] │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ └── user │ │ │ ├── [id] │ │ │ └── route.ts │ │ │ ├── comment │ │ │ └── route.ts │ │ │ ├── post │ │ │ └── route.ts │ │ │ └── route.ts │ ├── globals.css │ ├── layout.tsx │ └── providers.tsx ├── components │ ├── base │ │ ├── BaseComponent.tsx │ │ ├── LeftSidebar.tsx │ │ ├── MobileNavBar.tsx │ │ └── RightSidebar.tsx │ ├── common │ │ ├── CommentCard.tsx │ │ ├── DyanmicNavBar.tsx │ │ ├── ImagePreviewCard.tsx │ │ ├── ImageViewer.tsx │ │ ├── PostCard.tsx │ │ ├── PostUserBar.tsx │ │ ├── ShareModal.tsx │ │ ├── SideBarLinks.tsx │ │ ├── SignOutBtn.tsx │ │ ├── ThemeToggleBtn.tsx │ │ ├── UserAvatar.tsx │ │ ├── UserListCard.tsx │ │ ├── UserProfileAvatar.tsx │ │ └── loading.tsx │ ├── explore │ │ └── ExploreSearchBar.tsx │ ├── theme-provider.tsx │ ├── threads │ │ ├── AddComment.tsx │ │ ├── AddThread.tsx │ │ ├── DeleteCommentBtn.tsx │ │ └── DeletePostBtn.tsx │ └── ui │ │ ├── alert-dialog.tsx │ │ ├── avatar.tsx │ │ ├── button.tsx │ │ ├── dialog.tsx │ │ ├── dropdown-menu.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── scroll-area.tsx │ │ ├── sheet.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ ├── toaster.tsx │ │ └── use-toast.ts ├── config │ └── env.ts ├── lib │ ├── serverMethods.ts │ └── utils.ts ├── middleware.ts ├── types.ts └── validators │ ├── CustomErrorReporter.ts │ ├── authSchema.ts │ ├── commentSchema.ts │ ├── imageValidator.ts │ └── postSchema.ts ├── tailwind.config.js ├── tailwind.config.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/.gitignore -------------------------------------------------------------------------------- /LikedIcon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/LikedIcon.svg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/components.json -------------------------------------------------------------------------------- /database.types.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/migrations/20230821055137_added_my_schema/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230821055137_added_my_schema/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230821060240_change_column_type/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230821060240_change_column_type/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230821060634_change_password_column_length/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230821060634_change_password_column_length/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230821181433_add_content_in_notification/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230821181433_add_content_in_notification/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230822054808_addded_likes_table/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230822054808_addded_likes_table/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230823053646_added_user_id_in_likes_table/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/20230823053646_added_user_id_in_likes_table/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/public/images/logo.svg -------------------------------------------------------------------------------- /src/DB/db.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/DB/db.config.ts -------------------------------------------------------------------------------- /src/app/(authPages)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(authPages)/layout.tsx -------------------------------------------------------------------------------- /src/app/(authPages)/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(authPages)/login/page.tsx -------------------------------------------------------------------------------- /src/app/(authPages)/register/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(authPages)/register/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/explore/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/explore/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/layout.tsx -------------------------------------------------------------------------------- /src/app/(front)/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/loading.tsx -------------------------------------------------------------------------------- /src/app/(front)/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/notifications/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/post/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/post/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/profile/page.tsx -------------------------------------------------------------------------------- /src/app/(front)/user/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/(front)/user/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/auth/[...nextauth]/options.ts -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/auth/login/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/auth/login/route.ts -------------------------------------------------------------------------------- /src/app/api/auth/register/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/auth/register/route.ts -------------------------------------------------------------------------------- /src/app/api/comment/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/comment/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/comment/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/comment/route.ts -------------------------------------------------------------------------------- /src/app/api/explore/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/explore/route.ts -------------------------------------------------------------------------------- /src/app/api/like/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/like/route.ts -------------------------------------------------------------------------------- /src/app/api/notifications/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/notifications/route.ts -------------------------------------------------------------------------------- /src/app/api/post/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/post/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/post/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/post/route.ts -------------------------------------------------------------------------------- /src/app/api/user/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/user/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/user/comment/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/user/comment/route.ts -------------------------------------------------------------------------------- /src/app/api/user/post/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/user/post/route.ts -------------------------------------------------------------------------------- /src/app/api/user/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/api/user/route.ts -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/app/providers.tsx -------------------------------------------------------------------------------- /src/components/base/BaseComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/base/BaseComponent.tsx -------------------------------------------------------------------------------- /src/components/base/LeftSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/base/LeftSidebar.tsx -------------------------------------------------------------------------------- /src/components/base/MobileNavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/base/MobileNavBar.tsx -------------------------------------------------------------------------------- /src/components/base/RightSidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/base/RightSidebar.tsx -------------------------------------------------------------------------------- /src/components/common/CommentCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/CommentCard.tsx -------------------------------------------------------------------------------- /src/components/common/DyanmicNavBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/DyanmicNavBar.tsx -------------------------------------------------------------------------------- /src/components/common/ImagePreviewCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/ImagePreviewCard.tsx -------------------------------------------------------------------------------- /src/components/common/ImageViewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/ImageViewer.tsx -------------------------------------------------------------------------------- /src/components/common/PostCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/PostCard.tsx -------------------------------------------------------------------------------- /src/components/common/PostUserBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/PostUserBar.tsx -------------------------------------------------------------------------------- /src/components/common/ShareModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/ShareModal.tsx -------------------------------------------------------------------------------- /src/components/common/SideBarLinks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/SideBarLinks.tsx -------------------------------------------------------------------------------- /src/components/common/SignOutBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/SignOutBtn.tsx -------------------------------------------------------------------------------- /src/components/common/ThemeToggleBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/ThemeToggleBtn.tsx -------------------------------------------------------------------------------- /src/components/common/UserAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/UserAvatar.tsx -------------------------------------------------------------------------------- /src/components/common/UserListCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/UserListCard.tsx -------------------------------------------------------------------------------- /src/components/common/UserProfileAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/UserProfileAvatar.tsx -------------------------------------------------------------------------------- /src/components/common/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/common/loading.tsx -------------------------------------------------------------------------------- /src/components/explore/ExploreSearchBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/explore/ExploreSearchBar.tsx -------------------------------------------------------------------------------- /src/components/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/theme-provider.tsx -------------------------------------------------------------------------------- /src/components/threads/AddComment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/threads/AddComment.tsx -------------------------------------------------------------------------------- /src/components/threads/AddThread.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/threads/AddThread.tsx -------------------------------------------------------------------------------- /src/components/threads/DeleteCommentBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/threads/DeleteCommentBtn.tsx -------------------------------------------------------------------------------- /src/components/threads/DeletePostBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/threads/DeletePostBtn.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/config/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/config/env.ts -------------------------------------------------------------------------------- /src/lib/serverMethods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/lib/serverMethods.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/validators/CustomErrorReporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/validators/CustomErrorReporter.ts -------------------------------------------------------------------------------- /src/validators/authSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/validators/authSchema.ts -------------------------------------------------------------------------------- /src/validators/commentSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/validators/commentSchema.ts -------------------------------------------------------------------------------- /src/validators/imageValidator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/validators/imageValidator.ts -------------------------------------------------------------------------------- /src/validators/postSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/src/validators/postSchema.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TusharVashishth/Threads_clone/HEAD/tsconfig.json --------------------------------------------------------------------------------