How shahbazahmadbalti/employees-_management works
This is a browser-based employee management system. Users authenticate, then the application loads role-appropriate employee and business data and presents dashboard and management views; domain modules handle attendance, scheduling, leave, performance, payroll, communication, and reporting. Firebase Realtime Database and Firebase Authentication provide the visible persistence and identity layer. The README also documents department administration, exports, settings, and backups. Some modules are indexed but not excerpted, so their capabilities are represented without speculative internal call paths.
Main entry points: main.js Application startup · core.js Shared state and API · dashboard.js Dashboard · attendance.js Attendance tracking
Components 26
Application shell
- Application startup
js/main.js - User preferences
js/prefs.js - Navigation configuration
js/navconfig.js - Live table updates
js/tables.js
People operations
- Employees and departments
js/employees.js - Leadership views
js/leaders.js
Workforce operations
- Attendance tracking
js/attendance.js - Attendance builder
js/attmaker.js - Scheduling
js/schedule.js - Leave management
js/leave.js - Payroll
js/payroll.js - Performance reviews
js/performance.js
Insights and communication
- Dashboard
js/dashboard.js - Reports and exports
js/reports.js - Audit and logs
js/logs.js - Team chat
js/chat.js - Tasks
js/tasks.js - Task files
js/files.js - Notices and events
js/notices.js - Notifications
js/notifications.js
Shared platform
- Shared state and API
js/core.js - Firebase Authentication
- Firebase Realtime Database
- Telegram notifications
api/telegram-notify.js
Other components
- Employee
- Sign-in page
login.html
Connections 32
- Employee → Sign-in page: signs in
README.md - Sign-in page → Application startup: opens app
js/main.js - Application startup → Firebase Authentication: initializes session
js/main.js - Application startup → Employees and departments: loads and renders
js/main.js - Application startup → Leave management: renders
js/main.js - Application startup → Performance reviews: renders
js/main.js - Application startup → Payroll: renders
js/main.js - Application startup → Dashboard: renders
js/main.js - Application startup → Scheduling: fetches schedule
js/main.js - Application startup → Live table updates: starts watchers
js/main.js - Application startup → Notifications: updates
js/main.js - Application startup → Shared state and API: loads shared state
js/main.js - Employees and departments → Shared state and API: uses API
js/employees.js - Employees and departments → Firebase Authentication: creates employee login
js/employees.js - Attendance tracking → Firebase Realtime Database: reads and writes logs
js/attendance.js - Attendance tracking → Shared state and API: uses shared helpers
js/attendance.js - Attendance builder → Shared state and API: uses shared helpers
js/attmaker.js - Scheduling → Firebase Realtime Database: reads and writes schedules
js/schedule.js - Scheduling → Shared state and API: uses shared helpers
js/schedule.js - Dashboard → Attendance tracking: uses attendance metrics
js/dashboard.js - Dashboard → Scheduling: looks up shifts
js/dashboard.js - Dashboard → Firebase Realtime Database: reads attendance
js/dashboard.js - Payroll → Firebase Realtime Database: reads schedule data
js/payroll.js - Payroll → Shared state and API: uses API
js/payroll.js - Reports and exports → Attendance tracking: uses attendance calculations
js/reports.js - Reports and exports → Shared state and API: uses shared helpers
js/reports.js - Team chat → Firebase Realtime Database: reads and writes chat
js/chat.js - Team chat → Shared state and API: uses shared helpers
js/chat.js - Tasks → Task files: uploads and opens files
js/tasks.js - Tasks → Shared state and API: uses shared helpers
js/tasks.js - Shared state and API → Firebase Realtime Database: wraps database access
js/core.js - Shared state and API → Firebase Authentication: initializes auth client
js/core.js