mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
Adds an opt-in compose override that bind-mounts the three_cx provider files (and the alembic versions dir, so newer local migrations resolve) into the prebuilt API image — useful when iterating on a provider without rebuilding. Loaded explicitly via `docker compose -f docker-compose.yaml -f docker-compose.dev.yaml up`. Also blanks the default `NEXT_PUBLIC_BACKEND_URL` in `ui/.env.example` so the browser uses `window.location.origin` and the Next.js rewrite in `next.config.ts` proxies `/api/v1/*` to the backend. This works for both single-host dev and remote dev (where `localhost:8000` from the browser points at the wrong machine). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| components.json | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| openapi-ts.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| sentry.edge.config.ts | ||
| sentry.server.config.ts | ||
| tsconfig.json | ||
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Login Flow
- The redirection happens server side using
ui/src/stack.tsxafter the user has logged in.
Sentry and PostHog
- Initialized in
ui/src/instrumentation-client.ts