← cd .. PORTFOLIO
cat ./projects/team-shift-system/README.md

團隊排班系統 - Team Shift System

# 設計排班系統及介面排版,方便管理人員安排班別
# Designing a shift scheduling system and interface to streamline workforce management.

Description:
針對傳統 Excel 排班導致的協作不便與安全風險,開發專用排班平台。透過帳號權限管理分離前後端介面:前台供人員即時查閱,後台供管理員進行排程,並整合政府行政機關辦公日曆,大幅提升排班流程的流暢度與準確性。
To address the collaboration hurdles and security risks of traditional Excel-based scheduling, I developed a dedicated shift management platform. By implementing account-based access control, the system decouples the user and admin interfaces—providing personnel with real-time schedule visibility while enabling admins to manage rosters integrated with official government holiday calendars.

Tech Stack:

Features:

Results:

Architecture Overview:

Shift Management Flow

sequenceDiagram
    participant Admin as Admin User
    participant Backend as FastAPI Backend
    participant ES as Elasticsearch
    participant HR as HR System
    
    Admin->>Backend: Create Shift Info
    Backend->>ES: Save Shift Info
    Admin->>Backend: Set Shift Schedule
    Backend->>ES: Save Shift Schedule
    Admin->>Backend: Export Request
    Backend->>ES: Query Shift Data
    ES-->>Backend: Return Schedule
    Backend->>Backend: Convert to HR CSV Format
    Backend-->>Admin: Download HR CSV File
    Admin->>HR: Import CSV