# OrthoGlobe Site

Production site for the OrthoGlobe International Orthopaedic Research Collaborative.

## Quickstart

```bash
pnpm install
pnpm dev          # http://localhost:3000
pnpm build        # production build (standalone output)
pnpm test         # vitest unit tests
pnpm test:e2e     # playwright smoke tests
```

### Local database

Plan 2 onward requires Postgres. From `site/`:

    cp .env.example .env.local
    # generate fresh secrets:
    openssl rand -base64 32   # NEXTAUTH_SECRET
    openssl rand -base64 32   # APPROVAL_TOKEN_SECRET
    docker compose up -d
    pnpm db:migrate

## Stack
Next.js 16 (App Router) · React 19 · TypeScript · Tailwind CSS v4 · pnpm

## Deployment
Self-hosted on a Hetzner CX22 VPS via Coolify. See `../infra/README.md`.
