Skip to main content
This guide walks through creating a basic schedule: two employees, two shifts, one day.

Prerequisites

  • Node.js 20+
  • Docker (for the solver)

1. Install dabke

2. Start the solver

3. Create a schedule

What happened

  1. ModelBuilder took your employees, shifts, coverage, and rules and compiled them into a CP-SAT constraint model
  2. HttpSolverClient sent the model to the solver service
  3. parseSolverResponse turned the raw solver output into typed shift assignments
The solver found an assignment where each shift has exactly one server and no employee works more than 8 hours.

Next steps