Files
photoreport/docs/adr/0001-unified-monorepo.md
T
sparkandClaude Opus 5.5 b1e4eca6c5
ci / typescript (push) Failing after 40s
ci / rust (push) Successful in 1m52s
chore: monorepo config, CI, architecture docs and agent rules
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 13:54:20 +01:00

944 B

ADR 0001: One unified monorepo, greenfield beside the old projects

Date: 2026-10-11 · Status: accepted

Context

Three overlapping projects (app.photoreport.pt in Node/JS + MySQL, events.photoreport.pt in Fastify/TS + Prisma, PhotoReport Studio in Flutter) with separate accounts, databases and UIs.

Decision

Build one monorepo (BitReport.pt/photoreport) on new containers. Port business logic and tests, redesign the UI. TypeScript + PostgreSQL backend, one React UI shipped to web and Tauri desktop, LightCraft crates as the develop engine behind engine/core. Old projects stay in production until each phase reaches parity, then data is imported and they are switched off. Final domain app.photoreport.pt.

Consequences

  • One login, one realtime channel, one design system.
  • Data migration scripts are first-class code with dry runs from phase 3.
  • Flutter Studio work is kept as behaviour reference and tests, not code.