# {{projectName}}

> {{tagline}}

---

## Vision

{{vision}}

---

## Problem Statement

{{problemStatement}}

---

## Solution Overview

{{solution}}

---

## Tech Stack

{{#if techStack.backend}}
### Backend
- **Language:** {{techStack.backend.language}}
- **Framework:** {{techStack.backend.framework}}
- **Runtime:** {{techStack.backend.runtime}}
{{#if techStack.backend.keyLibraries}}
- **Key Libraries:** {{techStack.backend.keyLibraries}}
{{/if}}
{{/if}}

{{#if techStack.frontend}}
### Frontend
- **Language:** {{techStack.frontend.language}}
- **Framework:** {{techStack.frontend.framework}}
- **Build:** {{techStack.frontend.build}}
- **Styling:** {{techStack.frontend.styling}}
{{#if techStack.frontend.stateManagement}}
- **State Management:** {{techStack.frontend.stateManagement}}
{{/if}}
{{/if}}

{{#if techStack.database}}
### Data
- **Primary:** {{techStack.database.primary}}
{{#if techStack.database.orm}}
- **ORM:** {{techStack.database.orm}}
{{/if}}
{{#if techStack.database.migrations}}
- **Migrations:** {{techStack.database.migrations}}
{{/if}}
{{/if}}

{{#if techStack.infrastructure}}
### Infrastructure
- **Hosting:** {{techStack.infrastructure.hosting}}
- **CI/CD:** {{techStack.infrastructure.cicd}}
{{#if techStack.infrastructure.monitoring}}
- **Monitoring:** {{techStack.infrastructure.monitoring}}
{{/if}}
{{/if}}

---

## Architecture Overview

```
{{architectureDiagram}}
```

### System Boundaries
{{#each systemBoundaries}}
- **{{this.name}}:** {{this.description}}
{{/each}}

### Data Flow
{{#if dataFlow}}
{{dataFlow}}
{{/if}}

---

## Core Features

{{#each features}}
### {{this.name}}
{{this.description}}

{{#if this.acceptanceCriteria}}
**Acceptance Criteria:**
{{#each this.acceptanceCriteria}}
- {{this}}
{{/each}}
{{/if}}

{{/each}}

---

## Non-Functional Requirements

{{#if nfrs}}
### Performance
{{#each nfrs.performance}}
- {{this}}
{{/each}}

### Security
{{#each nfrs.security}}
- {{this}}
{{/each}}

### Scalability
{{#each nfrs.scalability}}
- {{this}}
{{/each}}

### Availability
{{#each nfrs.availability}}
- {{this}}
{{/each}}
{{/if}}

---

## Success Metrics

{{#each successMetrics}}
- **{{this.name}}:** {{this.description}} (Target: {{this.target}})
{{/each}}

---

## Known Constraints

{{#each constraints}}
- **{{this.type}}:** {{this.description}}
{{/each}}

---

## Out of Scope (Future Phases)

{{#each outOfScope}}
- {{this}}
{{/each}}

---

> **Version:** {{version}}
> **Last Updated:** {{timestamp}}
