This commit is contained in:
LBerardi 2025-10-31 11:13:33 +01:00
parent fefed588b4
commit 5a0e2ed6c3

View File

@ -10,7 +10,6 @@ Order Management System - Systemdesign und Entscheidungen
- **Validierung**: Zod für Runtime-Checks
- **API-Endpunkte**:
- `POST /orders` - Neue Bestellung erstellen
- `GET /health` - Health Check
### 2. Datenhaltung
- **Datenbank**: SQLite3
@ -87,7 +86,7 @@ Zwei Container:
## Fehlerhandling
### API-Level
### API-Level
```typescript
try {
// validation
@ -102,8 +101,6 @@ try {
### DB-Level
- Promises mit try/catch
- Graceful degradation
- Transaction Support (für später)
### Frontend
- Axios error handling