NextJs Auth Application

NextJs authentication application with regiser, login, email verification, and reset password through email.

Before you start

  • npm install or pnpm install
  • copy the content of the .env.example and create a new .env file and fill your variables
  • run prisma commands to create the database npx prisma db push or pnpm dlx prisma push

TODOs

[X] initialize a new next project [X] add db connection using prisma [X] create register, login, send email and reset password forms [X] add auth.js to the application [X] make simple signin work with database [X] complete registration flow with database [X] add encryption to password [X] send email verification link [X] send reset password link [X] wire evrything up