├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── bun.lockb ├── next.config.js ├── nextjs14-full-authentication.code-workspace ├── package.json ├── postcss.config.js ├── prisma ├── dev.db ├── migrations │ ├── 20231116113603_first │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── forgotPass.png ├── login.png ├── next.svg └── vercel.svg ├── src ├── app │ ├── api │ │ └── auth │ │ │ └── [...nextauth] │ │ │ └── route.ts │ ├── auth │ │ ├── activation │ │ │ └── [jwt] │ │ │ │ └── page.tsx │ │ ├── forgotPassword │ │ │ └── page.tsx │ │ ├── resetPass │ │ │ └── [jwt] │ │ │ │ └── page.tsx │ │ ├── signin │ │ │ └── page.tsx │ │ └── signup │ │ │ └── page.tsx │ ├── components │ │ ├── Appbar.tsx │ │ ├── NextAuthProviders.tsx │ │ ├── PasswordStrength.tsx │ │ ├── ResetPasswordForm.tsx │ │ ├── SignInForm.tsx │ │ ├── SignUpForm.tsx │ │ └── SigninButton.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── profile │ │ └── page.tsx │ └── providers.tsx ├── lib │ ├── actions │ │ └── authActions.ts │ ├── emailTemplates │ │ ├── activation.ts │ │ └── resetPass.ts │ ├── jwt.ts │ ├── mail.ts │ ├── prisma.ts │ └── types.d.ts └── middleware.ts ├── tailwind.config.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/README.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/bun.lockb -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/next.config.js -------------------------------------------------------------------------------- /nextjs14-full-authentication.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/nextjs14-full-authentication.code-workspace -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/prisma/dev.db -------------------------------------------------------------------------------- /prisma/migrations/20231116113603_first/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/prisma/migrations/20231116113603_first/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/forgotPass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/public/forgotPass.png -------------------------------------------------------------------------------- /public/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/public/login.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/auth/activation/[jwt]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/auth/activation/[jwt]/page.tsx -------------------------------------------------------------------------------- /src/app/auth/forgotPassword/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/auth/forgotPassword/page.tsx -------------------------------------------------------------------------------- /src/app/auth/resetPass/[jwt]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/auth/resetPass/[jwt]/page.tsx -------------------------------------------------------------------------------- /src/app/auth/signin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/auth/signin/page.tsx -------------------------------------------------------------------------------- /src/app/auth/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/auth/signup/page.tsx -------------------------------------------------------------------------------- /src/app/components/Appbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/Appbar.tsx -------------------------------------------------------------------------------- /src/app/components/NextAuthProviders.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/NextAuthProviders.tsx -------------------------------------------------------------------------------- /src/app/components/PasswordStrength.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/PasswordStrength.tsx -------------------------------------------------------------------------------- /src/app/components/ResetPasswordForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/ResetPasswordForm.tsx -------------------------------------------------------------------------------- /src/app/components/SignInForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/SignInForm.tsx -------------------------------------------------------------------------------- /src/app/components/SignUpForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/SignUpForm.tsx -------------------------------------------------------------------------------- /src/app/components/SigninButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/components/SigninButton.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/profile/page.tsx -------------------------------------------------------------------------------- /src/app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/app/providers.tsx -------------------------------------------------------------------------------- /src/lib/actions/authActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/actions/authActions.ts -------------------------------------------------------------------------------- /src/lib/emailTemplates/activation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/emailTemplates/activation.ts -------------------------------------------------------------------------------- /src/lib/emailTemplates/resetPass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/emailTemplates/resetPass.ts -------------------------------------------------------------------------------- /src/lib/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/jwt.ts -------------------------------------------------------------------------------- /src/lib/mail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/mail.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/lib/types.d.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vahid-nejad/Nextjs14-Comprehensive-authentication-Course/HEAD/tsconfig.json --------------------------------------------------------------------------------