Next.js Authentication Demo

This demo project showcases an email/password-based authentication flow build with Next.js. It implements registration, sign-in, and password reset functionalities along with email notifications. It uses React Server Components, Server Functions, and more to remain fully operational even with JavaScript disabled.

Highlights

Explore key features of this project:

  • JavaScript Independence: Fully functional even when JavaScript is disabled.

  • Authentication Flows: Supports Sign Up, Sign In, and Password Reset.

  • Email Notification: Provides email confirmation, password reset, and update notifications.

  • Theming Support: Offers System, Dark, and Light themes, with automatic preference detection via prefer-color-scheme when JavaScript is disabled.

  • Storybook Integration: Interactive component demos and email template previews.

  • Testing: End-to-end tests with Cypress and unit tests with Vitest.

Routes

Choose an entry point for different authentication flows or view the Storybook demos:

Contacts

This project available on GitHub.

My Portfolio Website.

Currently open to job opportunities! Let's connect on LinkedIn.

Made with ❤️ by Dima using Next.js © 2025.