Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 1.88 KB

File metadata and controls

80 lines (54 loc) · 1.88 KB

StaffSchedulingWeb

StaffSchedulingWeb is the official web interface for the StaffScheduling ecosystem. It supports case management, preference input, schedule comparison, and final schedule selection for deployment workflows.

Next.js React TypeScript

Overview

This application is designed as a companion UI to the solver project:

  • Solver and optimization logic: StaffScheduling
  • Web workflow and operational UI: this repository

Core capabilities:

  • Manage case-specific employee data inputs
  • Capture wishes and blocked periods
  • Import and compare multiple generated schedules
  • Select and export the preferred schedule

Quick Start

Prerequisites

  • Node.js 20+
  • npm 9+

Setup

  1. Install dependencies:

    npm install
  2. Create local configuration:

    • Copy config.template.json to config.json
    • Set casesDirectory to your cases path, for example:
    {
      "casesDirectory": "../StaffScheduling/cases"
    }
  3. Start the development server:

    npm run dev
  4. Open http://localhost:3000

Data Layout (Simplified)

cases/
└── [case_id]/
    ├── case_information.json
    ├── employees.json
    ├── wishes_and_blocked.json
    ├── schedule_[timestamp].json
    └── schedules.json

Documentation

This README intentionally stays concise. For full documentation and detailed workflows, see:

Contributing

Contributions and issue reports are welcome through GitHub Issues and Pull Requests.