How alonmesh/easyshifts works
Main Components Overview
a) Frontend Layer (React Application)
• React components hierarchy
• Components by functionality (Auth, Manager Features, Employee Features)
• Routing structure
b) Backend Layer (Python Server)
• Handlers structure
• Database access layers (Controller -> Service -> Repository pattern)
• Authentication system
c) Database Layer (MySQL)
• Six main tables and their relationships
• Data flow between tables
Detailed Component Breakdown
• Authentication (Login, SignUp components)
• Manager Dashboard (ManagerProfile, ManagerSchedule, ManagerSettings)
• Employee Dashboard (EmployeeProfile, ShiftsPage, SignInShifts)
• Create sections for:
• API Handlers (group by functionality)
• Authentication Layer
• Business Logic Layer (Services)
• Data Access Layer (Controllers and Repositories)
• Database Models
• Six tables:
• Users
• Workplaces
• UserRequests
• Shifts
• ShiftWorkers
• ShiftBoard
Connection and Data Flow
• HTTP/API requests between Frontend and Backend
• Database queries and responses
• Authentication flow
• Business logic flow
Technical Details
Annotations for:
• Technologies used (React, Python, MySQL)
• Key libraries and dependencies
• API endpoints
• Database relationships