User portal for the UT Sustainable Building Initiative (UTSBI), serving team members and clients. This is a monorepo containing the web frontend, the AI/API backend, and the database schema.
| Path | Description |
|---|---|
frontend/ |
Next.js 16 App Router app. See frontend/README.md. |
backend/ |
FastAPI service (uv). See backend/README.md. |
supabase/ |
Supabase Postgres migrations & RLS policies. |
docker-compose.yml |
VPS Docker production stack definition. |
# Frontend (preferred runtime: bun)
cd frontend && bun install && bun dev # http://localhost:3000
# Backend (managed with uv)
cd backend && uv sync && uv run fastapi dev # http://localhost:8000
# Or run the backend via Docker
docker compose up -d backendEach app has its own .env.example — copy it to .env.local (frontend) or
.env (backend) and fill in the values before running.
- Frontend → Vercel (deploys on merge).
- Backend → Docker on a VPS, behind nginx proxy manager (TLS termination,
localhost-bound containers). See the comments in
docker-compose.ymlfor the routing model.
Branch naming follows feat/x / fix/x / chore/x, commits follow
Conventional Commits. PRs target dev;
dev merges into main. Use bun (not npm/yarn) for the frontend.