Adds react-router-dom with routes for ship list, dashboard, and rules pages.
Includes TopBar with navigation and mobile-first dark theme CSS.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implements ship:join/leave/update and weapon:create/update/delete socket events
with room-based broadcasting. Server validates and persists before broadcasting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds POST/PATCH/DELETE for weapons with ammo constraint validation,
status enum checks, and ship existence verification on create.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds GET/POST/PATCH/DELETE /api/ships with constraint validation (current <= max),
enum checks for maneuver_class, and cascade delete for weapons.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds better-sqlite3 with WAL mode, auto-migration runner that tracks applied
migrations, and initial schema for ships and weapons tables with constraints.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set up monorepo structure with server/ (Fastify + TypeScript) and web/ (React + Vite + TypeScript).
Includes package configs, dev proxy setup, and mobile-first CSS foundation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>