LOJ - LeLe Online Judge, modern competitive programming platform
LOJ is a modern online judge platform built with Next.js 16. It supports programming problem solving, contests, training tracks, an AI teaching assistant, and multi-engine code execution evaluation.
This template deploys two services:
| Technology | Purpose |
|---|---|
| Next.js 16 | React framework (App Router) |
| Tailwind CSS v4 | Styling |
| shadcn/ui | UI component library |
| Prisma 7 | ORM / Database |
| PostgreSQL 18 | Database |
| NextAuth v5 | Authentication (credentials + JWT) |
| Monaco Editor | Code editor |
| BlockNote | Rich text editor |
| OneCompiler / Judge0 | Judging engines |
The following variables are pre-configured for you:
DB_PROVIDER — Set to postgresqlDATABASE_URL — Automatically linked to the PostgreSQL service via ${POSTGRES_CONNECTION_STRING}NEXTAUTH_SECRET — JWT signing secret (auto-generated)After deployment, visit your service URL. The first run will automatically initialize the database schema.
To set up OAuth login (GitHub/Google), add the following environment variables in the service settings:
AUTH_GITHUB_IDAUTH_GITHUB_SECRETAUTH_GOOGLE_IDAUTH_GOOGLE_SECRETThis template uses the latest image tag from ghcr.io. To update, rebuild the Docker image via GitHub Actions and trigger a redeploy in the Zeabur Dashboard.