Hackorda Docs

Readme

Hackorda is two products in one repo:

  1. Quiz Learning Platform — the original LMS with quizzes, courses, leaderboard
  2. Test Cycles vertical — a QA management system layered on top (added 2026-Q2)

📚 Documentation Structure

🧭 Read this first

  • System Overview & Scaling Guide — the front-door: what Hackorda is, the tech stack, how it's all wired (runtime + code + deploy), the permission model (in-app RBAC + repo/ops governance), and the layer-by-layer scaling roadmap. Links out to everything below.

📋 Roadmaps

🔐 Reference

📖 Guides (how-tos)

🗂 Use cases

🔄 Test Cycles (QA vertical) — start here for what's shipped

  • Test Cycles — canonical reference: cycle docs, inline media, run packs, AI agents, role model, API surface
  • Feature Matrix — every feature: shipped/planned/deferred registry
  • Flows — 16 canonical user journeys (F-01→F-16) with acceptance criteria
  • Deployment — droplet ops, GHCR, AI key setup
  • QA onboarding handbook — auto-seeded into the Hackorda Onboarding cycle
  • QA test cases — auto-seeded into the cycle as a runbook doc

Legacy quiz platform

🚀 Quick Start

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local

# Run database migrations
npm run migrate

# Seed database (optional)
npm run seed

# Start development server
npm run dev

🎯 Key Features

Quiz platform:

  • Multi-role quiz system — random quizzes and timed exams
  • Admin dashboard — course and user management
  • Module-based permission system
  • Real-time leaderboard
  • Course management

Test Cycles vertical (see test-cycles.md):

  • Notion-style cycle documents with inline screenshots / videos
  • Issue intake with AI-suggested title / severity / bug type
  • Run packs — drop session recordings onto a test run
  • Auto-generated session recap on End Run
  • Auto-generated stakeholder report on cycle close
  • Issue payout state machine (Kaspi / bank / cash)
  • Tester role assignment from Profile → Actions
  • Graceful AI failure UX (out-of-credits / rate-limit / auth)

🛠️ Tech Highlights

  • Next.js 15 with App Router
  • Clerk Authentication with role-based access
  • Drizzle ORM with PostgreSQL
  • TanStack Query for state management
  • TailwindCSS 4 (alpha) for styling
  • TypeScript for type safety

📊 Current Status

The platform is feature-complete with a few schema inconsistencies and type safety improvements needed.

🤝 Contributing

  1. Check the Development Guide
  2. Follow TypeScript and database naming conventions
  3. Add tests for new features
  4. Update documentation as needed

On this page