├── .env.example ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── app ├── AuthProvider.tsx ├── NavMenu.module.css ├── NavMenu.tsx ├── about │ └── page.tsx ├── api │ ├── auth │ │ └── [...nextauth] │ │ │ └── route.ts │ ├── content │ │ └── route.ts │ ├── follow │ │ └── route.ts │ ├── hello │ │ └── route.ts │ └── user │ │ └── route.ts ├── blog │ ├── [slug] │ │ └── page.tsx │ └── page.tsx ├── dashboard │ ├── ProfileForm.tsx │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── page.module.css ├── page.tsx └── users │ ├── [id] │ └── page.tsx │ ├── error.tsx │ ├── loading.tsx │ ├── page.module.css │ └── page.tsx ├── components ├── AuthCheck.tsx ├── FollowButton │ ├── FollowButton.tsx │ └── FollowClient.tsx ├── UserCard │ ├── UserCard.module.css │ └── UserCard.tsx └── buttons.tsx ├── lib └── prisma.ts ├── next.config.js ├── package.json ├── prisma ├── migrations │ ├── 20230501205637_init │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── logo.png ├── logo.svg ├── mememan.webp ├── next.svg └── vercel.svg └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/README.md -------------------------------------------------------------------------------- /app/AuthProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/AuthProvider.tsx -------------------------------------------------------------------------------- /app/NavMenu.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/NavMenu.module.css -------------------------------------------------------------------------------- /app/NavMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/NavMenu.tsx -------------------------------------------------------------------------------- /app/about/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/about/page.tsx -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/api/content/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/api/content/route.ts -------------------------------------------------------------------------------- /app/api/follow/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/api/follow/route.ts -------------------------------------------------------------------------------- /app/api/hello/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/api/hello/route.ts -------------------------------------------------------------------------------- /app/api/user/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/api/user/route.ts -------------------------------------------------------------------------------- /app/blog/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/blog/[slug]/page.tsx -------------------------------------------------------------------------------- /app/blog/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/blog/page.tsx -------------------------------------------------------------------------------- /app/dashboard/ProfileForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/dashboard/ProfileForm.tsx -------------------------------------------------------------------------------- /app/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/dashboard/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.module.css: -------------------------------------------------------------------------------- 1 | .main { 2 | 3 | } -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/users/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/users/[id]/page.tsx -------------------------------------------------------------------------------- /app/users/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/users/error.tsx -------------------------------------------------------------------------------- /app/users/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/users/loading.tsx -------------------------------------------------------------------------------- /app/users/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/users/page.module.css -------------------------------------------------------------------------------- /app/users/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/app/users/page.tsx -------------------------------------------------------------------------------- /components/AuthCheck.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/AuthCheck.tsx -------------------------------------------------------------------------------- /components/FollowButton/FollowButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/FollowButton/FollowButton.tsx -------------------------------------------------------------------------------- /components/FollowButton/FollowClient.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/FollowButton/FollowClient.tsx -------------------------------------------------------------------------------- /components/UserCard/UserCard.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/UserCard/UserCard.module.css -------------------------------------------------------------------------------- /components/UserCard/UserCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/UserCard/UserCard.tsx -------------------------------------------------------------------------------- /components/buttons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/components/buttons.tsx -------------------------------------------------------------------------------- /lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/lib/prisma.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20230501205637_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/prisma/migrations/20230501205637_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/mememan.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/public/mememan.webp -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fireship-io/nextjs-course/HEAD/tsconfig.json --------------------------------------------------------------------------------