cafeore-2024 POSシステム
コマンド
コマンド |
説明 |
bun sync |
依存パッケージのインストール |
bun dev |
開発環境の立ち上げ |
bun tsc |
TypeScriptの型チェックを実行 |
bun lint |
Biome の lint & format のチェック |
bun fmt |
Biome による修正 --unsafe で破壊的な修正 |
bun test:unit |
単体テスト |
bun test:db |
Firebase Emulatorsを使ったFirestoreのテスト |
Architecture
flowchart TB
subgraph CONV[Converter]
direction LR
DocumentData <-- convert --> Entity
end
subgraph REPO[Repository]
direction TB
CONV <--> IO[Inputs/Outputs]
end
Firestore --> CONV
Action --> REPO --> Loader
subgraph API[Virtual API]
Loader
Action
end
subgraph "Endpoint (Remix SPA mode)"
API
Loader --> Route --> Action
end