This project was developed as a task for Fanavari Digital Decamond.
๐ You can view the live demo here: Demo
- Next.js (App Router)
- TypeScript
- Sass / SCSS
- topersiannumber (to format numbers in Persian)
NextLoginFlow is a simple and clean Next.js project focused on user authentication. It shows how to manage user sessions on the client side using localStorage and how to handle routing based on login status. The UI is styled using Sass and CSS Modules, with Persian number formatting to improve user experience.
- Login using a valid Iranian phone number
- Client-side session management with
localStorage - Redirect users between home, dashboard, and login pages based on authentication
- Simple logout functionality
- Persian number formatting with
topersiannumber - Clean and minimal user interface with modular styles
This project can be a starting point or reference for building authentication flows in Next.js apps with TypeScript and modern styling techniques.