Skip to content
Docs
On this page The system 1/4
Internal — not published

eDGR is one backend and one web app in a single repository. The backend serves the API, answers inbound messages with an AI reply agent, and runs campaigns as durable workflows. The web app is every screen a user sees. Docker Compose runs both, with Postgres for the data and Restate for the campaign workflows.

The pages in this tab describe each part by what it does, why it is there, and how data moves to the next part. Names of files and functions are left to the code.

From a change to production
  1. 1 Plan Larger work starts as a spec and a plan in the repository
  2. 2 Build locally The whole stack in Docker, reloading on save
  3. 3 Test Unit suites in seconds; agent evals by hand
  4. 4 Commit Conventional Commits; CI runs the backend tests
  5. 5 Release Back up, build on the server, migrate, start, check
  6. 6 Document Update these pages and recapture screenshots

The system

Working on eDGR

Inside the system

Quick commands

Run the stack
cp .env.example .env && cp backend/.env.example backend/.env && cp frontend/.env.example frontend/.env.local
docker compose up -d     # http://localhost:5173
Run the tests
cd backend && bun run test
cd frontend && bun run test
Build the docs with this tab
cd docs && bun run build:internal
Was this page helpful?
Docs
EN VI