Local Development
Prerequisites
- Go
1.26.x - Node.js
20.19+or22.12+ - npm
- Docker (for Postgres + Redis during local dev)
Current local app stack in this repository:
- backend: Go
1.26 - frontend: Angular
21.1, PrimeNG21, Tailwind CSS4 - docs site: Docusaurus on Node.js
20+
Start infrastructure
docker compose up -d postgres redis
Run backend
cd backend
go run ./cmd/magpie
Backend defaults to port 5656.
Run frontend
cd frontend
npm install
npm run start
Frontend dev server defaults to http://localhost:4200.
Common dev commands
cd backend
go test ./...
cd frontend
npm test