A staff accommodation management system built with React and Supabase.
- Authentication: Secure login/signup with Supabase Auth
- Role-based Access: Administrator and Employee roles with different permissions
- Room Management: Track room assignments and occupancy
- Maintenance Requests: Submit and manage maintenance requests
- Employee Management: Manage staff and assignments
- Multi-language Support: English and Arabic support
- Dark Mode: Toggle between light and dark themes
-
Install dependencies:
npm install
-
Set up Supabase:
- Follow instructions in
setup-supabase.md - Create the profiles table using the provided SQL
- Configure authentication URLs
- Follow instructions in
-
Run the app:
npm run dev
- Full system access
- Manage rooms, employees, and assignments
- Process maintenance requests
- View analytics and reports
- View announcements
- Submit maintenance requests
- Track request status
- Limited system access
- Frontend: React, Vite, Tailwind CSS
- Backend: Supabase (PostgreSQL, Auth, Storage)
- UI Components: Radix UI, Lucide React
- Routing: React Router
- State Management: React Context