A fullstack monorepo example with Nix, featuring a React frontend, Go backend, and AWS infrastructure.
frontend/- React + Vite + SSR frontendbackend/example/- Go HTTP server / Lambda backendinfra/- AWS infrastructure (Nix/Terranix/OpenTofu)
- Nix + direnv
- AWS credentials configured (for infra deployment)
# Enter dev shell
direnv allow
# Frontend
cd frontend && pnpm install && pnpm dev
# Backend
cd backend/example && go run ./cmd/example# Frontend
nix build .#frontend
nix build .#frontend-lambda
# Backend
nix build .#backend-example
nix build .#backend-example-lambda
# Infrastructure
nix run .#infra-prod.plan