You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Django backend at data.bhmc.org owns the database schema and handles authentication (Djoser token auth). The NestJS API reads/writes the same MySQL database using Drizzle ORM and handles admin operations, event registration, and Stripe payments. Both Next.js apps proxy auth requests through their own API routes to avoid CORS.
pnpm dev # Start all apps (Turbo)
pnpm build # Build all apps
pnpm lint # Lint all apps
pnpm test# Run unit tests
pnpm typecheck # TypeScript checks
pnpm test:e2e # Playwright end-to-end tests
pnpm format # Format with Prettier
Backend
cd backend
uv sync
uv run python manage.py runserver
uv run python manage.py test
uv run python manage.py migrate
Set DJANGO_ENV to control configuration: local, docker, or prod.
Deployment
Tagged releases trigger GitHub Actions workflows that build Docker images, upload source maps to PostHog, and deploy to CapRover.