← All 23 Open-Source Repositories

SupplyShift — Workforce Capacity, Slot Overbooking & Shift Movement Tower

Field Workforce Shift-Rostering, Slot Capacity & Overbooking Loss Optimizer: demand-curve simulator, slot-cap recommender, and plan-vs-actual utilization tracker.

Problem Solved

Field operations teams lose orders every morning when customer bookings cluster into peak 15-minute slots at one hub while neighboring hubs sit at 35% utilization, or when mid-shift attendance drops go unnoticed until SLAs fail.

Core Capabilities

Quickstart

git clone https://github.com/mohan-n-swamy/supplyshift-public.git
cd supplyshift-public
npm install
npm run demo      # zero-credential synthetic hub movement & overbooking simulation
npm test          # runs all 4 TypeScript test suites (auth/locks, slots, CDL history, overbookings)
npm run lint      # strict TypeScript typecheck (tsc --noEmit)

Configurable .env Inputs

VariableDefaultPurpose
PORT3800
SCHEDULER_API_URLhttps://scheduler-api.ops.example.org
ALLOWED_AUTH_DOMAINops.example.org
GOOGLE_CLIENT_ID000000000000-exampleoauthclientid.apps.googleusercontent.com
GOOGLE_CLIENT_SECRETreplace-with-oauth-client-secret
GOOGLE_REDIRECT_URIhttp://localhost:3800/api/auth/callback
GOOGLE_SHEETS_SPREADSHEET_ID10000000000000000000000000000000000000000000
SAME_HOME_SHEET_ID10000000000000000000000000000000000000000001

Natural-Language AI Discovery Queries

Topics

workforce-management shift-scheduling capacity-planning operations-research field-operations demand-forecasting typescript docker open-source