How karthick-code/zenora works
Zenora is a browser-based, multi-tenant workforce-management platform built with React and Firebase, with no application server or Cloud Functions. Users sign in or register, enter role-appropriate workspaces, and use workforce, HR, payroll, and operations features backed by the frontend data service. Platform owners have a separate administration workspace. The README documents Firestore-backed company registration and Firebase Authentication password resets. Some page implementations were not sampled; their inclusion and routing are supported by the source index and App excerpt, while unsampled data flows are not inferred.
Main entry points: api.js Firestore data service · App.jsx Router and access · AuthContext.jsx Session and identity · firebase.js Firebase client setup
Components 27
Application and identity
- Router and access
frontend/src/App.jsx - Sign-in and registration
frontend/src/pages/AuthPage.jsx - Session and identity
frontend/src/context/AuthContext.jsx - Password reset
frontend/src/pages/ResetPasswordPage.jsx - Workspace navigation
frontend/src/layouts/DashboardLayout.jsx
Workforce management
- Employee records
frontend/src/pages/EmployeesPage.jsx - Attendance
frontend/src/pages/AttendancePage.jsx - Biometric devices
frontend/src/pages/BiometricPage.jsx - Leave management
frontend/src/pages/LeavesPage.jsx - Approvals
frontend/src/pages/ApprovalsPage.jsx - Payroll
frontend/src/pages/PayrollPage.jsx - Expenses
frontend/src/pages/ExpensesPage.jsx - Documents and assets
frontend/src/pages/DocumentsAssetsPage.jsx - Workforce overview
frontend/src/pages/DashboardPage.jsx
People operations
- Operations and helpdesk
frontend/src/pages/OperationsPage.jsx - Reports
frontend/src/pages/ReportsPage.jsx - Audit logs
frontend/src/pages/AuditLogsPage.jsx - Organization settings
frontend/src/pages/SettingsPage.jsx
Platform administration
- Platform console
frontend/src/pages/PlatformAdminPage.jsx - Master admin dashboard
frontend/src/pages/MasterAdminDashboardPage.jsx - Master admin login
frontend/src/pages/MasterAdminLoginPage.jsx
Firebase data services
- Firestore data service
frontend/src/services/api.js - Firebase client setup
frontend/src/services/firebase.js - Cloud Firestore
- Firebase Authentication
- Firebase Storage
Other components
- Workforce user
Connections 46
- Workforce user → Router and access: opens
- Router and access → Session and identity: provides session
frontend/src/App.jsx - Router and access → Sign-in and registration: routes to
frontend/src/App.jsx - Router and access → Workspace navigation: routes through
frontend/src/App.jsx - Router and access → Employee records: routes to
frontend/src/App.jsx - Router and access → Attendance: routes to
frontend/src/App.jsx - Router and access → Leave management: routes to
frontend/src/App.jsx - Router and access → Approvals: routes to
frontend/src/App.jsx - Router and access → Payroll: routes to
frontend/src/App.jsx - Router and access → Expenses: routes to
frontend/src/App.jsx - Router and access → Documents and assets: routes to
frontend/src/App.jsx - Router and access → Operations and helpdesk: routes to
frontend/src/App.jsx - Router and access → Reports: routes to
frontend/src/App.jsx - Router and access → Audit logs: routes to
frontend/src/App.jsx - Router and access → Organization settings: routes to
frontend/src/App.jsx - Router and access → Platform console: routes to
frontend/src/App.jsx - Router and access → Biometric devices: routes to
frontend/src/App.jsx - Sign-in and registration → Session and identity: submits credentials
frontend/src/pages/AuthPage.jsx - Session and identity → Firebase Authentication: authenticates
frontend/src/context/AuthContext.jsx - Session and identity → Firestore data service: loads profile
frontend/src/context/AuthContext.jsx - Password reset → Firestore data service: requests reset
README.md - Workspace navigation → Session and identity: reads session
frontend/src/layouts/DashboardLayout.jsx - Workspace navigation → Firestore data service: loads notifications
frontend/src/layouts/DashboardLayout.jsx - Employee records → Firestore data service: reads and writes
frontend/src/pages/EmployeesPage.jsx - Attendance → Firestore data service: uses data service
frontend/src/pages/AttendancePage.jsx - Biometric devices → Firestore data service: uses data service
frontend/src/pages/BiometricPage.jsx - Leave management → Firestore data service: uses data service
frontend/src/pages/LeavesPage.jsx - Approvals → Firestore data service: uses data service
frontend/src/pages/ApprovalsPage.jsx - Payroll → Firestore data service: loads and processes
frontend/src/pages/PayrollPage.jsx - Expenses → Firestore data service: uses data service
frontend/src/pages/ExpensesPage.jsx - Documents and assets → Firestore data service: uses data service
frontend/src/pages/DocumentsAssetsPage.jsx - Workforce overview → Firestore data service: uses data service
frontend/src/pages/DashboardPage.jsx - Operations and helpdesk → Firestore data service: loads and updates
frontend/src/pages/OperationsPage.jsx - Reports → Firestore data service: uses data service
frontend/src/pages/ReportsPage.jsx - Audit logs → Firestore data service: uses data service
frontend/src/pages/AuditLogsPage.jsx - Organization settings → Firestore data service: uses data service
frontend/src/pages/SettingsPage.jsx - Platform console → Firestore data service: loads platform data
frontend/src/pages/PlatformAdminPage.jsx - Master admin dashboard → Platform console: opens console
frontend/src/pages/MasterAdminDashboardPage.jsx - Master admin login → Session and identity: uses session
frontend/src/pages/MasterAdminLoginPage.jsx - Firestore data service → Firebase client setup: uses client
frontend/src/services/api.js - Firebase client setup → Cloud Firestore: initializes
frontend/src/services/firebase.js - Firebase client setup → Firebase Authentication: initializes
frontend/src/services/firebase.js - Firebase client setup → Firebase Storage: initializes
frontend/src/services/firebase.js - Firestore data service → Cloud Firestore: reads and writes
frontend/src/services/api.js - Firestore data service → Firebase Authentication: sends reset email
frontend/src/services/api.js - Firestore data service → Firebase Storage: may upload files
README.md