Repository navigation
Local Modes
Rodrigo Silveira edited this page Jun 19, 2026
·
1 revision
Use this when testing the deployment shape.
Start:
docker compose \
--env-file .env.development \
-f docker-compose.server.yml \
-f docker-compose.local.yml \
-p ers-dev \
down
docker compose \
--env-file .env.development \
-f docker-compose.server.yml \
-f docker-compose.local.yml \
-p ers-dev \
build
docker compose \
--env-file .env.development \
-f docker-compose.server.yml \
-f docker-compose.local.yml \
-p ers-dev \
up -dThen test frontend through local Caddy:
curl -i http://localhost:8088Test backend through local Caddy:
curl -i http://localhost:8088/api/v1/healthzTest backend directly:
curl -i http://localhost:8080/api/v1/healthzUse this when actively editing React and Go.
Terminal 1:
cd backend
go run ./cmd/api
or whatever your actual backend command path is.Terminal 2:
cd frontend
npm run devThen this should work:
curl -i http://localhost:5173
``
In this mode, Vite should proxy /api to the backend.