├── .gitignore ├── LICENSE ├── README.md ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prisma └── schema.prisma ├── public ├── avatar.png └── screenshot-for-readme.png ├── src ├── actions │ ├── notification.action.ts │ ├── post.action.ts │ ├── profile.action.ts │ └── user.action.ts ├── app │ ├── api │ │ ├── tasks │ │ │ └── route.ts │ │ └── uploadthing │ │ │ ├── core.ts │ │ │ └── route.ts │ ├── favicon.ico │ ├── fonts │ │ ├── GeistMonoVF.woff │ │ └── GeistVF.woff │ ├── globals.css │ ├── layout.tsx │ ├── notifications │ │ └── page.tsx │ ├── page.tsx │ ├── profile │ │ └── [username] │ │ │ ├── ProfilePageClient.tsx │ │ │ ├── not-found.tsx │ │ │ └── page.tsx │ └── tasks │ │ └── page.tsx ├── components │ ├── CreatePost.tsx │ ├── DeleteAlertDialog.tsx │ ├── DesktopNavbar.tsx │ ├── FollowButton.tsx │ ├── ImageUpload.tsx │ ├── MobileNavbar.tsx │ ├── ModeToggle.tsx │ ├── Navbar.tsx │ ├── NotificationSkeleton.tsx │ ├── PostCard.tsx │ ├── Sidebar.tsx │ ├── ThemeProvider.tsx │ ├── WhoToFollow.tsx │ └── ui │ │ ├── alert-dialog.tsx │ │ ├── avatar.tsx │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── dialog.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── scroll-area.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── skeleton.tsx │ │ ├── tabs.tsx │ │ └── textarea.tsx ├── lib │ ├── prisma.ts │ ├── uploadthing.ts │ └── utils.ts └── middleware.ts ├── tailwind.config.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/public/avatar.png -------------------------------------------------------------------------------- /public/screenshot-for-readme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/public/screenshot-for-readme.png -------------------------------------------------------------------------------- /src/actions/notification.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/actions/notification.action.ts -------------------------------------------------------------------------------- /src/actions/post.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/actions/post.action.ts -------------------------------------------------------------------------------- /src/actions/profile.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/actions/profile.action.ts -------------------------------------------------------------------------------- /src/actions/user.action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/actions/user.action.ts -------------------------------------------------------------------------------- /src/app/api/tasks/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/api/tasks/route.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/fonts/GeistMonoVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/fonts/GeistMonoVF.woff -------------------------------------------------------------------------------- /src/app/fonts/GeistVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/fonts/GeistVF.woff -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/notifications/page.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/profile/[username]/ProfilePageClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/profile/[username]/ProfilePageClient.tsx -------------------------------------------------------------------------------- /src/app/profile/[username]/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/profile/[username]/not-found.tsx -------------------------------------------------------------------------------- /src/app/profile/[username]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/profile/[username]/page.tsx -------------------------------------------------------------------------------- /src/app/tasks/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/app/tasks/page.tsx -------------------------------------------------------------------------------- /src/components/CreatePost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/CreatePost.tsx -------------------------------------------------------------------------------- /src/components/DeleteAlertDialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/DeleteAlertDialog.tsx -------------------------------------------------------------------------------- /src/components/DesktopNavbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/DesktopNavbar.tsx -------------------------------------------------------------------------------- /src/components/FollowButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/FollowButton.tsx -------------------------------------------------------------------------------- /src/components/ImageUpload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ImageUpload.tsx -------------------------------------------------------------------------------- /src/components/MobileNavbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/MobileNavbar.tsx -------------------------------------------------------------------------------- /src/components/ModeToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ModeToggle.tsx -------------------------------------------------------------------------------- /src/components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/Navbar.tsx -------------------------------------------------------------------------------- /src/components/NotificationSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/NotificationSkeleton.tsx -------------------------------------------------------------------------------- /src/components/PostCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/PostCard.tsx -------------------------------------------------------------------------------- /src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /src/components/ThemeProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ThemeProvider.tsx -------------------------------------------------------------------------------- /src/components/WhoToFollow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/WhoToFollow.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/lib/uploadthing.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burakorkmez/nextjs-course/HEAD/tsconfig.json --------------------------------------------------------------------------------