This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# ADR 0002 — Go services and React/TypeScript web application
|
||||
|
||||
**Status:** Accepted baseline
|
||||
|
||||
## Decision
|
||||
|
||||
Use Go for API, worker and agent commands. Use React + TypeScript for the web application, with Vite as the default build tool unless discovery proves a stronger need for server-rendered Next.js behavior.
|
||||
|
||||
## Rationale
|
||||
|
||||
The product is a highly interactive authenticated dashboard rather than a public content site. Go provides efficient long-lived connections, concurrency and small deployable binaries. React has mature dashboard/grid/chart ecosystems. A static frontend reduces production runtime complexity.
|
||||
|
||||
## Consequences
|
||||
|
||||
- Shared contracts are generated or validated from schemas.
|
||||
- API/worker/agent can share modules but deploy with separate privileges.
|
||||
- An ADR is required to add a Node server runtime to production.
|
||||
Reference in New Issue
Block a user