Skip to content

Commit faa99a8

Browse files
meysam81claude
andauthored
chore: update claude.md with frontend structure and features (#38)
- Add detailed frontend src structure showing App.vue and DnsGenerator component - Document DnsGenerator.vue as a DMARC DNS record generator tool - Add new Frontend Features section documenting dashboard capabilities - Include frontend Vue files in Key Files section Co-authored-by: Claude <noreply@anthropic.com>
1 parent c3a45a4 commit faa99a8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

β€Žclaude.mdβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ parse-dmarc/
2424
β”‚ β”œβ”€β”€ parser/ # DMARC XML parser
2525
β”‚ └── storage/ # SQLite database layer (CGO + pure-Go)
2626
β”œβ”€β”€ src/ # Vue.js 3 frontend source
27+
β”‚ β”œβ”€β”€ App.vue # Main application component (dashboard)
28+
β”‚ └── components/
29+
β”‚ └── DnsGenerator.vue # DMARC DNS record generator tool
2730
β”œβ”€β”€ public/ # Static frontend assets
2831
β”œβ”€β”€ assets/ # Project assets (icons, images)
2932
β”œβ”€β”€ scripts/ # Utility scripts (SVG to PNG conversion)
@@ -103,6 +106,8 @@ go test -v ./internal/parser/...
103106
- `internal/storage/common.go` - Shared storage logic and SQL queries
104107
- `internal/storage/sqlite_no_cgo.go` - Pure Go SQLite implementation (modernc.org/sqlite)
105108
- `internal/storage/sqlite_cgo.go` - CGO SQLite implementation (mattn/go-sqlite3)
109+
- `src/App.vue` - Main Vue.js dashboard component
110+
- `src/components/DnsGenerator.vue` - DMARC DNS record generator component
106111

107112
## API Endpoints
108113

@@ -111,6 +116,15 @@ go test -v ./internal/parser/...
111116
- `GET /api/reports/:id` - Single report details
112117
- `GET /api/top-sources` - Top sending source IPs
113118

119+
## Frontend Features
120+
121+
The Vue.js dashboard includes:
122+
- **Dashboard Statistics** - Overview of DMARC report metrics
123+
- **Reports List** - Paginated view of all DMARC reports
124+
- **Report Details** - Detailed view of individual reports
125+
- **Top Sources** - Visualization of top sending source IPs
126+
- **DMARC DNS Generator** - Interactive tool to generate DMARC DNS TXT records with configurable policies (none/quarantine/reject), subdomain policies, reporting options (rua/ruf), and alignment modes
127+
114128
## Configuration
115129

116130
Config via JSON file or environment variables (using caarlos0/env):

0 commit comments

Comments
Β (0)