Technical Docs
Reference documentation for the mi-casa codebase.
| Note | Description |
|---|---|
| Architecture Overview | Full stack table, request flow, directory structure, path aliases, DI pattern |
| Authentication Flow | Login, invite signup, token refresh, change password — sequence diagrams + security properties |
| Frontend State Management | Redux store shape, RTK Query slice pattern, re-auth interceptor, localStorage persistence |
| Database Schema | All tables, column types, relationships, migration workflow, repository layer |
| Environment Variables | Every env var, type, default, and which service uses it |
| Error Handling Patterns | ErrorOr<T>, AppError types, HTTP status mapping, response shapes, validation |
| OHLC Feature Enhancements | New pattern types (Cypher, Three Drives, ABCD), composite signal score, multi-timeframe confirmation, backtest improvements, indicator overlays, live alerts, BTC/ETH symbols |
| OHLC Phase 2 — Actionability & Observability | Desktop/email notifications, analytics dashboard, chart drawing tools, watchlist, paper portfolio |
| Broker Options for Live Trading Integration | Oanda, IBKR, and split-broker approach evaluated for execution, streaming, and historical data |