View Project
If you think you need full ownership of your app user authentication experience, this is for you.
This is a starter kit for user authentication in Nextjs using Google 0Auth and Credentials:
Including: registration, authentication, password reset.
In this version, rate limiting is not implemented, I'd recommend Arcjet
Tools:
Next.js: A React framework for building server-side rendered applications.
Auth.js: Authentication library for Next.js applications.
Prisma: ORM for database management.
Zod: Schema validation for user input.
bcryptjs: Password hashing for secure storage.
Nodemailer: Email sending for OTP verification.
SMTP2G0: Free SMTP server: Use your preferred email-sending service.
Neon: Database hosting: Use your preferred database hosting service.
Feel free to contribute and share.
Built with