Docs
Operation Protocol / v1.0

Documentation

Everything you need to deploy, integrate, and extend the Scheduler system.

Overview

Scheduler is a high-performance meeting coordination engine. It uses an Industrial Noir aesthetic and is built with a focus on precision and zero scheduling friction.

Global Sync

Automated coordination across time zones with sub-millisecond precision.

Autonomous Workflows

Zero-touch meeting handshake with automated invites and conflict resolution.

Local Execution

Follow these steps to run the full Scheduler stack on your local machine.

1. Prerequisites

  • Node.js 20 or higher
  • pnpm 9 or higher
  • Docker (for database orchestration)

2. Installation

# Install dependencies
pnpm install

# Setup environment variables
cp .env.example .env
cp apps/web/.env.example apps/web/.env

3. Boot System

# Launch all services
pnpm dev

* Local services will be available at: Web (5174), Landing (3000), API (8000).

Architecture

The system is structured as a Turborepo monorepo for maximum modularity and build efficiency.

/apps/web Core dashboard interface
/apps/landing Product presentation site
/apps/api Backend service layer
/packages/@repo/auth Shared authentication logic
/packages/@repo/ui Design system components

Authentication

Scheduler uses session-based authentication via Better Auth. All API requests must include session cookies.

# Endpoint: /api/auth/login
# Method: POST
{
  "email": "user@example.com",
  "password": "..."
}

Endpoints

GET/api/v1/availability/:userIdRetrieve user scheduling windows
POST/api/v1/bookingsCreate a new meeting entry
GET/api/v1/meetingsFetch active sessions
PATCH/api/v1/bookings/:id/cancelInvalidate a booking