<aside> 🧭

This is the technical architecture for Hat Check: the plan for how the app is built, written before we build it. We fill it in together, one decision at a time. Every important choice also gets a short "why" recorded as an ADR (Architecture Decision Record).

</aside>

Product context: Vision and Scope - Hat Check · Epics and Features - Hat Check

Status: Draft, started November 4, 2026


1. What we're building

Plain-language summary of the app and who it serves, pulled from the vision. The "why" behind the whole system.

⬜ To fill together

2. Where the app lives (the three tiers)

The browser (what the user sees), the app server (does the work), and the database (stores what must last). Which work happens in each place, and where each server runs.

⬜ To fill together

3. Technology decisions (the ingredients)

The languages, framework, UI library, database, AI service, and hosting we pick, and the reason for each. One row per choice.

⬜ To fill together

4. How the code is organized (the layers)

Presentation, domain (the business rules), and data layers. The one rule that matters most: the business rules never depend on the screen or the web.

⬜ To fill together

5. Software pattern (the shape of the system)

The overall style (for example a modular monolith) and how we handle the decode logic, with the trade-offs we accept.

⬜ To fill together

6. Data architecture