This is an implementation of Email-Password Authentication and Verification with Next.js 14. A blog about this can be found here: Email Authentication and Verification in Next.js 14 With Next Auth and Prisma | Fajarwz.
cp .env.example .env
- Open .env file
- Create a database and connect it with Next.js by adjusting the
DATABASE_URL
with your own configuration
npx prisma db push
npm install
npm run dev