Local Development
Practical startup order, prerequisites, and environment conventions for running the full Assistiv stack locally.
This guide is intended for running all major services in parallel during local development.
Prerequisites
- Node.js
22.14.0 - Yarn classic
- GNU Make
- Docker Desktop (for backend Valkey/Redis dependency)
- Go
1.24+(foraurora) mkcertfor local HTTPS certificates
Certificates
Each repo expects local certificate files similar to:
localhost+1.pemlocalhost+1-key.pem
Typical bootstrap:
mkcert -install
mkcert localhost 127.0.0.1
Run from each repo root where the certificates are expected.
Startup Sequence
- Start
assistiv-backend:
cd assistiv-backend
make init
make run
- Start
aurora:
cd aurora
go mod download && go mod verify
make run
- Start
assistiv:
cd assistiv
make init
make run
- Start
assistiv-adminon a non-conflicting port:
cd assistiv-admin
yarn dev --experimental-https --hostname 0.0.0.0 --port 4201
Why Admin Needs a Different Port
Both frontend Makefiles currently run on 4200. Use a custom port for one frontend when running both at once.
Key Environment Variables by Service
assistiv and assistiv-admin
NEXT_PUBLIC_API_URL_DEVELOPMENTNEXT_PUBLIC_AURORA_API_URL_DEVELOPMENTNEXT_PUBLIC_API_URL_PRODUCTIONNEXT_PUBLIC_AURORA_API_URL_PRODUCTION
assistiv-backend
NODE_ENV,PORTDATABASE_*and/orDATABASE_URLREDIS_HOST,REDIS_PORT,REDIS_PASSWORDAURORA_API_URL_DEVELOPMENT,AURORA_API_URL_PRODUCTIONAWS_REGION, upload bucket settings, OAuth provider keys
aurora
ENV(controls dev/prod mode and listen port behavior)DATABASE_*and/orDATABASE_URLREDIS_*AWS_REGION,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY- session/auth keys and backend URL settings
Validation Checklist
- Frontend loads with HTTPS
- Backend health route
/returns success - Aurora
/aurora/v1/returns success - Login redirects resolve to backend endpoints
- Frontend requests resolve to expected API base URLs