A responsive web application for currency exchange services (RMB to INR) with integrated secure chat functionality and social referral capabilities.
- User authentication with admin approval workflow
- Currency exchange rate display
- Secure chat communication
- Referral system
- Comprehensive backoffice administration
- Clone the repository
- Install dependencies:
npm install - Configure environment variables:
- Copy
.env.local.exampleto.env.local - Set
ADMIN_EMAILandNEXT_PUBLIC_ADMIN_EMAILto your admin email
- Copy
- Run the development server:
npm run dev
This application implements an admin approval workflow for new user registrations:
- New users can sign up with email and password
- Users receive an email verification link
- After verifying their email, users are placed in a "pending approval" state
- Administrators must approve user accounts before they can access the dashboard
- Once approved, users receive an email notification and can access the full application
To access the admin dashboard:
- Create an account with the email specified in your
.env.localfile - Verify your email and log in
- You will automatically have access to the admin dashboard at
/admin/dashboard - Use the admin dashboard to approve or reject pending user registrations
- Next.js
- React
- Supabase for authentication and database
- Tailwind CSS for styling