This is a React-based authentication system that includes:
- User Sign Up
- Login System
- Email/Code Verification Flow
- Protected Dashboard
After successful authentication, users are redirected to the Expat Cares Dubai Health Dashboard.
- Sign Up page with form validation
- Login page
- Verification code screen (OTP flow)
- Protected Dashboard
- Responsive UI design
- Clean component-based structure
You can directly access pages using these routes:
- Sign Up →
http://localhost:5173/signup - Login →
http://localhost:5173/login - Dashboard →
http://localhost:5173/dashboard
npm installnpm run devhttp://localhost:5173/
Then navigate to:
/signupto create account/loginto login- After verification → dashboard access
- User signs up
- Verification code is sent/entered
- After verification → login success
- Redirected to dashboard
After login, user accesses: Expat Cares Dubai Health Dashboard
- React.js
- React Router
- CSS / Bootstrap (if used)
- Vite (development server)
- Make sure Node.js is installed
- Always run project using
npm run dev
React Authentication Project – Expat Cares System