feat: initial project setup with scenarios, database and web ui
Add complete mockupAWS platform for AWS cost estimation: - FastAPI backend with scenario management - PostgreSQL database schema for scenarios, metrics, logs - AWS pricing table with real pricing data - React frontend dashboard (planned) - PII detection and token counting - Report generation (PDF/CSV) - Complete test suite with pytest - Docker Compose setup - Documentation: README, PRD, Architecture - OpenCode configuration (.opencode/)
This commit is contained in:
92
export/architecture.md
Normal file
92
export/architecture.md
Normal file
@@ -0,0 +1,92 @@
|
||||
# Architecture Document (Export)
|
||||
|
||||
> Decisioni architetturali e diagrammi di flusso.
|
||||
|
||||
## Istruzioni
|
||||
|
||||
Questo file deve essere creato/aggiornato dall'agente `@spec-architect` durante la fase di analisi.
|
||||
|
||||
## Contenuto Richiesto
|
||||
|
||||
1. **Scelte Architetturali**
|
||||
- Pattern architetturali
|
||||
- Motivazioni
|
||||
- Trade-off
|
||||
|
||||
2. **Stack Tecnologico**
|
||||
- Tecnologie e versioni
|
||||
- Motivazioni scelta
|
||||
|
||||
3. **Diagrammi di Flusso**
|
||||
- Architettura sistema
|
||||
- Flussi dati
|
||||
- Sequenze operazioni
|
||||
|
||||
4. **Interfacce e Contratti**
|
||||
- API contracts
|
||||
- Interfacce tra componenti
|
||||
|
||||
---
|
||||
|
||||
## Template
|
||||
|
||||
```markdown
|
||||
# Architecture - [Nome Progetto/Feature]
|
||||
|
||||
## 1. Overview
|
||||
|
||||
[Descrizione ad alto livello]
|
||||
|
||||
## 2. System Architecture
|
||||
|
||||
```
|
||||
[ASCII art o riferimento a diagramma]
|
||||
```
|
||||
|
||||
## 3. Componenti
|
||||
|
||||
### 3.1 [Nome Componente]
|
||||
**Responsabilità:**
|
||||
-
|
||||
|
||||
**Interfacce:**
|
||||
- Input:
|
||||
- Output:
|
||||
|
||||
**Dipendenze:**
|
||||
-
|
||||
|
||||
## 4. Data Flow
|
||||
|
||||
```
|
||||
[Descrizione flusso dati]
|
||||
```
|
||||
|
||||
## 5. API Contracts
|
||||
|
||||
### [Endpoint]
|
||||
```
|
||||
POST /api/v1/...
|
||||
Request:
|
||||
body: { ... }
|
||||
|
||||
Response:
|
||||
200: { ... }
|
||||
400: { ... }
|
||||
```
|
||||
|
||||
## 6. Decisioni
|
||||
|
||||
### [DEC-001] - [Titolo]
|
||||
**Decisione:**
|
||||
|
||||
**Motivazione:**
|
||||
|
||||
**Alternative:**
|
||||
|
||||
**Conseguenze:**
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
*Questo file verrà popolato durante la fase di specifica*
|
||||
Reference in New Issue
Block a user