Skip to content

Repository files navigation

AI IconAI Learning Platform

Next.js React TypeScript PostgreSQL License

🌟 Key Features

Category Highlights
AI Core 🧠 Dynamic course generation • 📝 Smart content suggestions
Learning 📊 Progress tracking • 🎓 Certifications • 🎥 Interactive video lessons
Tech Stack ⚡ Next.js 14 • 🔐 Clerk Auth • 🐘 Neon Postgres • 🎨 ShadCN UI

🏗️ Project Architecture

├── 📁 app/            # App Router routes & layouts
│   ├── (dashboard)    # Protected routes
│   ├── api/           # Edge-ready API endpoints
├── 📁 components/     # Atomic UI components
│   ├── cards/         # Course cards
│   └── dashboard/     # Progress widgets
├── 📁 lib/            # Utilities & helpers
│   ├── ai/            # AI generation logic
│   └── db/            # Drizzle database client
├── 📁 styles/         # Tailwind configurations
└── 📁 types/          # Global TypeScript types

🛠️ Quick Start

1. Clone & Setup

git clone https://github.com/daveontrack/ai-learning-platform.git
cd ai-learning-platform && npm install

2. Configure Environment

## 🔒 Environment Variables Template (`.env`)

```bash
# ========================
#  Clerk Authentication
# ========================
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key_here
CLERK_SECRET_KEY=your_secret_key_here

# Auth URLs
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL=/
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL=/

# ========================
#  Database (Neon PostgreSQL)
# ========================
DATABASE_URL=your_neon_connection_string
NEXT_PUBLIC_DATABASE_URL=your_neon_connection_string

# ========================
#  AI Services
# ========================
GEMINI_API_KEY=your_gemini_key
AI_GURU_LAB_API=your_custom_ai_key
YOUTUBE_API_KEY=your_youtube_api_key

Fill in your keys:

3. Database Setup

npx drizzle-kit push:pg  # Push schema
npx drizzle-kit generate # Generate types

4. Launch Dev Server

npm run dev

Visit → localhost:3000


🧩 Tech Stack Deep Dive

Technology Why We Chose It Cool Feature Used
Next.js 14 App Router, RSC, Edge Runtime Streaming SSR
Clerk Pre-built auth UIs Organization management
Drizzle ORM Type-safe SQL Schema migrations
Neon Serverless Postgres Branching
Tailwind JIT compiler Arbitrary values
ShadCN Radix-based components Composable primitives

🤝 Contributing

We love contributions! Here's how to help:

  1. Fork the project
  2. Create a branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push (git push origin feature/amazing-feature)
  5. Open a PR

📜 License

MIT © Dave On Track
"Empowering learners through AI"


Built with ❤️ and

About

AI-powered learning platform for dynamically generating courses, tracking learning progress, delivering interactive lessons, and helping learners build personalized learning experiences.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages