The competitive programming platform of Daffodil International University — exam-style C practice plus inter-university contests with NSU, AIUB, and BRAC.
- 140 exam-style C problems (practice without login)
- Register / login with university profile
- Email verification + forgot password (SMTP)
- Per-university practice & contest leaderboards
- Advanced admin command center with analytics, system health, and audit history
- Contest control center: scheduling, rules, problem ordering, go-live, and monitoring
- User access management and complete judge submission inspection
- Logged-in solves persist to Neon Postgres
- Copy env template:
cp .env.example .env- Fill in:
DATABASE_URL— Neon Postgres connection stringAUTH_SECRET—openssl rand -base64 32APP_URL— e.g.http://localhost:3000- SMTP vars for mail
- Push schema + seed admin:
npm install
npm run db:push
npm run db:seedSet ADMIN_EMAIL and a strong ADMIN_PASSWORD (minimum 12 characters)
in .env before running the seed. No default administrator password is used.
- Run:
npm run devRequires clang or gcc for the local C judge.
| Script | Purpose |
|---|---|
npm run db:push |
Sync Prisma schema to Neon |
npm run db:seed |
Create / update admin user |
npm run db:studio |
Browse data |
npm run build |
Generate Prisma client + Next build |