Files
ttrpg-character-builder/docs/adr/001-core.md
T
Ivan Fontosh 45105cd069 Switch to JSON store so Electron runs without native sqlite rebuild.
Auto-seeds 10 presets on first launch; visual designer with palette, drag, resize, and bricks CRUD.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 14:52:31 +08:00

22 lines
704 B
Markdown

# ADR-001: Stack and storage
## Decision
Electron + React + TypeScript + Vite; JSON file store (`userData/store.json`) for systems/characters; portable `app/shared` contract for future TTRPG Player + mobile.
## Rationale
Offline-first; avoids native module rebuild (better-sqlite3) requiring Visual Studio on Windows.
# ADR-002: Formula DSL
Custom minimal expression language with explicit rounding; portable to the player.
# ADR-003: Schema freeze via snapshotHash
Player binds store `snapshotHash` rather than inline full schema per character.
# ADR-004: Spells from dnd.su
Import pipeline for PHB-labelled spells at product owner request, with IP disclaimer. Default presets ship SRD stubs.