Kwaku Danso
4bf0dab853
docs: add 4-tier production roadmap and detailed Tier 1 plan
...
- CLAUDE.md: 4-tier feature roadmap appended after the build-order
section (launch blockers → moat features). Future sessions
reference this to know which tier a new feature belongs to.
- docs/TIER1_PLAN.md: detailed sequencing for the 8 blocks of
Tier 1 work (auth, authz, rate limiting, notifications, CSV
import, billing, backups, privacy) with schema changes,
endpoints, tests, and effort estimates per block.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-11 21:09:25 +01:00
Kwaku Danso
3f8bc58ca9
feat: build core API, fraud engine, notifier, and frontend
...
Phase 1 — Core API (Go):
- Events, guests, tokens, RSVPs CRUD on PostgreSQL via pgx/v5
- HMAC-signed per-guest tokens with format validation
- Health endpoint with DB ping, slog JSON logging, graceful shutdown
Phase 2 — NATS + Fraud Engine:
- NATS JetStream pub/sub with explicit-ack consumers
- Python/FastAPI fraud engine with heuristic risk scoring
(fingerprint mismatch, IP change, missing signals, repeated access)
- gRPC sync scoring with 250ms fail-open timeout
- Per-guest baseline tracking; risk bands low/medium/high/block
Phase 3 — Notifications + Frontend:
- Notification worker scaffolding (Twilio/SES stubs, retry/backoff)
- Nuxt 3 frontend with Tailwind dark theme + brand green
- Live monitor via WebSocket with auto-reconnect
- Activity history endpoint backfills monitor with RSVPs +
scored access checks (including blocked attempts)
UX polish:
- Marketing-friendly landing page (hero mockup, how-it-works,
features, use cases, testimonials, FAQ, final CTA)
- Animated layered card mockups on landing + new-event page
- Plus-ones stepper, RSVP status badges, filter buttons
- Friendly access-check labels (Verified/Review/Suspicious/Blocked)
- Dashboard hydration fix via ClientOnly wrapper
Infrastructure:
- docker-compose for full local dev (postgres, nats, api,
fraud-engine, notifier, frontend)
- Multi-stage Dockerfiles, non-root UID 1000
- Integration tests with testcontainers-go
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-11 21:08:56 +01:00