NikhilGupta777/Courses-website-temp-name-

TypeScript

0

58 commits

updated Sep 14, 2026

See the code

README

LearnAI - AI Courses Platform

A premium, modern AI education platform offering live classes, offline workshops, pre-recorded video courses, interactive quizzes, timed tests, completion certificates, and flexible pricing.

Overview

LearnAI is a full-stack web application built with cutting-edge technologies to deliver the best possible learning experience for AI/ML education.

Tech Stack

LayerTechnology
FrontendNext.js 14 (App Router) + TypeScript
UITailwind CSS + shadcn/ui + Framer Motion
StateZustand + TanStack React Query
BackendNext.js API Routes + tRPC
DatabasePostgreSQL (Neon) + Prisma ORM
AuthAuth.js v5 (NextAuth)
PaymentsStripe
VideoMux
StorageAWS S3 / Cloudflare R2
CacheRedis (Upstash)
EmailResend
SearchMeilisearch

Features

  • Multi-mode Courses: Live online, offline workshops, pre-recorded, hybrid
  • Rich Content: Video lessons, articles, code exercises
  • Assessments: Quizzes, timed tests, coding assignments
  • Certificates: Auto-generated, verifiable, shareable
  • Subscriptions: Free, Pro Monthly ($29), Pro Annual ($249), Enterprise
  • Instructor Portal: Course builder, analytics, payouts
  • AI Tutor: GPT-powered Q&A chatbot
  • Gamification: Streaks, badges, leaderboard
  • Community: Forums, peer review, study groups

Getting Started

# Clone the repository
git clone https://github.com/NikhilGupta777/Courses-website-temp-name-.git
cd Courses-website-temp-name-/learnai

# Install dependencies
pnpm install

# Copy environment variables
cp .env.example .env

# Set up database
pnpm prisma generate
pnpm prisma db push

# Start development server
pnpm dev

Project Structure

learnai/
├── docs/               # Planning documents (PRD, Architecture, DB Schema, API Spec, Tasks)
├── prisma/             # Database schema & migrations
├── public/             # Static assets
└── src/
    ├── app/            # Next.js App Router pages
    │   ├── (public)/   # Public pages (catalog, pricing, etc.)
    │   ├── (auth)/     # Authentication pages
    │   ├── (dashboard)/ # Student dashboard
    │   ├── (instructor)/ # Instructor portal
    │   ├── (admin)/    # Admin panel
    │   └── api/        # API routes & webhooks
    ├── components/     # Reusable UI components
    ├── lib/            # Utilities, configs, DB client
    ├── server/         # tRPC routers & business logic
    ├── stores/         # Zustand state stores
    ├── hooks/          # Custom React hooks
    └── types/          # TypeScript type definitions

Documentation

Development Phases

PhaseDurationStatus
Phase 1 — MVP8 weeksIn Progress
Phase 2 — Growth6 weeksPlanned
Phase 3 — Scale6 weeksPlanned
Phase 4 — Polish4 weeksPlanned

License

MIT

Contributors

NikhilGupta777

41 commits

kiro-agent

17 commits

NikhilGupta777/Courses-website-temp-name-

TypeScript

0

58 commits

updated Sep 14, 2026

See the code

README

LearnAI - AI Courses Platform

A premium, modern AI education platform offering live classes, offline workshops, pre-recorded video courses, interactive quizzes, timed tests, completion certificates, and flexible pricing.

Overview

LearnAI is a full-stack web application built with cutting-edge technologies to deliver the best possible learning experience for AI/ML education.

Tech Stack

LayerTechnology
FrontendNext.js 14 (App Router) + TypeScript
UITailwind CSS + shadcn/ui + Framer Motion
StateZustand + TanStack React Query
BackendNext.js API Routes + tRPC
DatabasePostgreSQL (Neon) + Prisma ORM
AuthAuth.js v5 (NextAuth)
PaymentsStripe
VideoMux
StorageAWS S3 / Cloudflare R2
CacheRedis (Upstash)
EmailResend
SearchMeilisearch

Features

  • Multi-mode Courses: Live online, offline workshops, pre-recorded, hybrid
  • Rich Content: Video lessons, articles, code exercises
  • Assessments: Quizzes, timed tests, coding assignments
  • Certificates: Auto-generated, verifiable, shareable
  • Subscriptions: Free, Pro Monthly ($29), Pro Annual ($249), Enterprise
  • Instructor Portal: Course builder, analytics, payouts
  • AI Tutor: GPT-powered Q&A chatbot
  • Gamification: Streaks, badges, leaderboard
  • Community: Forums, peer review, study groups

Getting Started

# Clone the repository
git clone https://github.com/NikhilGupta777/Courses-website-temp-name-.git
cd Courses-website-temp-name-/learnai

# Install dependencies
pnpm install

# Copy environment variables
cp .env.example .env

# Set up database
pnpm prisma generate
pnpm prisma db push

# Start development server
pnpm dev

Project Structure

learnai/
├── docs/               # Planning documents (PRD, Architecture, DB Schema, API Spec, Tasks)
├── prisma/             # Database schema & migrations
├── public/             # Static assets
└── src/
    ├── app/            # Next.js App Router pages
    │   ├── (public)/   # Public pages (catalog, pricing, etc.)
    │   ├── (auth)/     # Authentication pages
    │   ├── (dashboard)/ # Student dashboard
    │   ├── (instructor)/ # Instructor portal
    │   ├── (admin)/    # Admin panel
    │   └── api/        # API routes & webhooks
    ├── components/     # Reusable UI components
    ├── lib/            # Utilities, configs, DB client
    ├── server/         # tRPC routers & business logic
    ├── stores/         # Zustand state stores
    ├── hooks/          # Custom React hooks
    └── types/          # TypeScript type definitions

Documentation

Development Phases

PhaseDurationStatus
Phase 1 — MVP8 weeksIn Progress
Phase 2 — Growth6 weeksPlanned
Phase 3 — Scale6 weeksPlanned
Phase 4 — Polish4 weeksPlanned

License

MIT

Contributors

NikhilGupta777

41 commits

kiro-agent

17 commits

Languages

TypeScript

98.2%