Hands-on generative AI learning academy monorepo with interactive lessons, quizzes, and progress tracking.
3
stars
3
commits
TypeScript
primary language
May 18, 2026
updated
An interactive learning platform for generative AI concepts, built as a pnpm monorepo with a modern React frontend and an optional sync backend.
artifacts/genai-learnhimanshu-nakrani/Generative-AI-AcademyGenerative AI Academy is designed as a practical, hands-on curriculum experience rather than a static notes site. It combines structured topic learning, quizzes, and progress analytics with optional account-based sync so users can learn locally first and connect cross-device features when signed in.
| Path | Purpose |
|---|---|
artifacts/genai-learn | Main learner-facing React app (Vite + TypeScript) |
artifacts/api-server | Express API for sync, leaderboard, and user profile |
artifacts/warm-scholar | Additional learning app variant |
artifacts/mockup-sandbox | Sandbox app for UI and mockup iteration |
lib/db | Drizzle schema, DB connection, migrations/push config |
lib/api-spec | OpenAPI source and Orval codegen config |
lib/api-zod | Shared Zod validators from API contracts |
lib/api-client-react | Shared React Query client hooks |
scripts | Workspace utility scripts |
flowchart LR
A[GenAI Learn Frontend<br/>React + Vite] --> B[Local-first state<br/>localStorage]
A -->|optional signed-in sync| C[API Server<br/>Express 5]
C --> D[(PostgreSQL<br/>Drizzle ORM)]
E[OpenAPI Spec + Orval] --> F[Shared API client + Zod schemas]
F --> A
F --> C
@clerk/react, @clerk/express)pnpm install
genai-learn)
PORTandBASE_PATHare required by Vite config in this repo.
PORT=5173 BASE_PATH=/ VITE_CLERK_PUBLISHABLE_KEY=pk_test_placeholder pnpm --filter @workspace/genai-learn run dev
PORTandDATABASE_URLare required. Clerk keys are needed for authenticated flows.
PORT=8080 DATABASE_URL=postgresql://user:pass@localhost:5432/genai CLERK_PUBLISHABLE_KEY=pk_test_xxx CLERK_SECRET_KEY=sk_test_xxx pnpm --filter @workspace/api-server run dev
pnpm run typecheck
pnpm run build
pnpm --filter @workspace/api-spec run codegen
pnpm --filter @workspace/db run push
| Route | Purpose |
|---|---|
POST /api/sync | Push local progress/bookmarks/achievements |
GET /api/sync | Fetch synced user learning state |
GET /api/leaderboard | Fetch leaderboard data |
GET /api/user/me | Get current user profile |
PATCH /api/user/me | Update profile fields (for example team name) |
This repository deploys artifacts/genai-learn to GitHub Pages via .github/workflows/deploy-pages.yml.
The workflow:
@workspace/genai-learn with BASE_PATH=/Generative-AI-Academy/index.html to 404.html for SPA refresh-route supportartifacts/genai-learn/dist/public) to GitHub Pagesmain.MIT
2 commits
1 commits
TypeScript
98.1%
CSS
1.4%
Hands-on generative AI learning academy monorepo with interactive lessons, quizzes, and progress tracking.
3
stars
3
commits
TypeScript
primary language
May 18, 2026
updated
An interactive learning platform for generative AI concepts, built as a pnpm monorepo with a modern React frontend and an optional sync backend.
artifacts/genai-learnhimanshu-nakrani/Generative-AI-AcademyGenerative AI Academy is designed as a practical, hands-on curriculum experience rather than a static notes site. It combines structured topic learning, quizzes, and progress analytics with optional account-based sync so users can learn locally first and connect cross-device features when signed in.
| Path | Purpose |
|---|---|
artifacts/genai-learn | Main learner-facing React app (Vite + TypeScript) |
artifacts/api-server | Express API for sync, leaderboard, and user profile |
artifacts/warm-scholar | Additional learning app variant |
artifacts/mockup-sandbox | Sandbox app for UI and mockup iteration |
lib/db | Drizzle schema, DB connection, migrations/push config |
lib/api-spec | OpenAPI source and Orval codegen config |
lib/api-zod | Shared Zod validators from API contracts |
lib/api-client-react | Shared React Query client hooks |
scripts | Workspace utility scripts |
flowchart LR
A[GenAI Learn Frontend<br/>React + Vite] --> B[Local-first state<br/>localStorage]
A -->|optional signed-in sync| C[API Server<br/>Express 5]
C --> D[(PostgreSQL<br/>Drizzle ORM)]
E[OpenAPI Spec + Orval] --> F[Shared API client + Zod schemas]
F --> A
F --> C
@clerk/react, @clerk/express)pnpm install
genai-learn)
PORTandBASE_PATHare required by Vite config in this repo.
PORT=5173 BASE_PATH=/ VITE_CLERK_PUBLISHABLE_KEY=pk_test_placeholder pnpm --filter @workspace/genai-learn run dev
PORTandDATABASE_URLare required. Clerk keys are needed for authenticated flows.
PORT=8080 DATABASE_URL=postgresql://user:pass@localhost:5432/genai CLERK_PUBLISHABLE_KEY=pk_test_xxx CLERK_SECRET_KEY=sk_test_xxx pnpm --filter @workspace/api-server run dev
pnpm run typecheck
pnpm run build
pnpm --filter @workspace/api-spec run codegen
pnpm --filter @workspace/db run push
| Route | Purpose |
|---|---|
POST /api/sync | Push local progress/bookmarks/achievements |
GET /api/sync | Fetch synced user learning state |
GET /api/leaderboard | Fetch leaderboard data |
GET /api/user/me | Get current user profile |
PATCH /api/user/me | Update profile fields (for example team name) |
This repository deploys artifacts/genai-learn to GitHub Pages via .github/workflows/deploy-pages.yml.
The workflow:
@workspace/genai-learn with BASE_PATH=/Generative-AI-Academy/index.html to 404.html for SPA refresh-route supportartifacts/genai-learn/dist/public) to GitHub Pagesmain.MIT
2 commits
1 commits
TypeScript
98.1%
CSS
1.4%