Skip to content

coderhisham/Pathzy-AI-Course-Recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pathzy - AI Course Recommender

An intelligent AI-powered platform that helps learners discover personalized course recommendations through natural language conversations. Built with Next.js 14 and powered by Google's Gemini AI.

๐Ÿš€ Features

๐Ÿค– AI-Powered Course Discovery

  • Natural Language Chat Interface - Ask about courses in plain English
  • Intelligent Course Matching - AI analyzes your query to recommend relevant courses
  • Sample Prompts - Get started with suggested queries like "I want to learn web development with React"

๐Ÿ“š Comprehensive Course Management

  • Course Cards with detailed information (level, duration, provider)
  • Save/Bookmark System - Keep track of courses you're interested in
  • Course Details - AI-generated detailed course information including prerequisites and learning outcomes
  • Direct Course Links - AI-generated realistic URLs to course providers

๐Ÿ“Š Personalized Dashboard

  • Saved Courses Management - View and organize your bookmarked courses
  • Learning Analytics - Track courses by level, provider, and duration
  • Advanced Filtering - Search and filter courses by multiple criteria
  • Learning Insights - AI-powered analysis of your course selection

๐ŸŽฏ Smart Features

  • Course Insights - AI analysis of how courses complement each other
  • Learning Path Recommendations - Understand course progression and career opportunities
  • Provider Integration - Support for major platforms (Coursera, Udemy, edX, LinkedIn Learning, Pluralsight)
  • Responsive Design - Optimized for desktop and mobile devices

๐Ÿ›  Tech Stack

๐Ÿ Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended) or npm/yarn
  • Google Gemini API key

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/pathzy-ai-course-recommender.git
cd pathzy-ai-course-recommender
  1. Install dependencies:
pnpm install
  1. Set up environment variables:
cp .env.example .env.local

Add your environment variables:

GEMINI_API_KEY=your_gemini_api_key_here
NEXT_PUBLIC_APP_URL=http://localhost:3000
  1. Run the development server:
pnpm dev
  1. Open your browser: Navigate to http://localhost:3000

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ app/                          # Next.js App Router
โ”‚   โ”œโ”€โ”€ api/                     # API routes
โ”‚   โ”‚   โ”œโ”€โ”€ chat/               # Course recommendation endpoint
โ”‚   โ”‚   โ”œโ”€โ”€ course-details/     # Detailed course information
โ”‚   โ”‚   โ”œโ”€โ”€ course-url/         # Course URL generation
โ”‚   โ”‚   โ””โ”€โ”€ insights/           # AI learning path analysis
โ”‚   โ”œโ”€โ”€ dashboard/              # Dashboard page
โ”‚   โ”œโ”€โ”€ layout.tsx              # Root layout
โ”‚   โ””โ”€โ”€ page.tsx                # Home page
โ”œโ”€โ”€ components/                   # React components
โ”‚   โ”œโ”€โ”€ ui/                     # shadcn/ui base components
โ”‚   โ”œโ”€โ”€ chat-interface.tsx      # Main chat interface
โ”‚   โ”œโ”€โ”€ course-card.tsx         # Individual course display
โ”‚   โ”œโ”€โ”€ course-list.tsx         # Course grid display
โ”‚   โ”œโ”€โ”€ course-filters.tsx      # Filtering functionality
โ”‚   โ”œโ”€โ”€ course-suggestion.tsx   # AI insights dialog
โ”‚   โ”œโ”€โ”€ dashboard.tsx           # Dashboard analytics
โ”‚   โ”œโ”€โ”€ hero-section.tsx        # Landing page hero
โ”‚   โ””โ”€โ”€ nav-bar.tsx             # Navigation component
โ””โ”€โ”€ lib/                        # Utilities and configuration
    โ”œโ”€โ”€ store/                  # Zustand state management
    โ”‚   โ””โ”€โ”€ savedCoursesStore.ts # Course bookmarking
    โ””โ”€โ”€ gemini.ts               # AI integration

๐Ÿ”ง Key Components

  • Main conversational interface for course discovery
  • Handles user queries and AI responses
  • Manages course recommendations and feedback
  • Displays individual course information
  • Bookmark/save functionality
  • AI-generated course details and URLs
  • Social sharing capabilities
  • Analytics and saved course management
  • Advanced filtering and search
  • Learning statistics and insights
  • AI-powered learning path analysis
  • Course relationship insights
  • Personalized recommendations

๐ŸŒ API Endpoints

Endpoint Description
/api/chat Generate course recommendations from user queries
/api/course-details Get detailed course information using AI
/api/course-url Generate realistic course URLs
/api/insights Analyze course selections and provide learning insights

๐ŸŽจ Features in Detail

AI-Powered Recommendations

The platform uses Google's Gemini AI to:

  • Parse natural language queries
  • Generate relevant course suggestions
  • Create detailed course descriptions
  • Provide learning path analysis

Course Management

  • Bookmarking System: Save courses with persistent storage
  • Detailed Information: AI-generated course details including prerequisites
  • Provider Integration: Support for major learning platforms
  • Smart Filtering: Search by level, provider, duration, and more

Learning Analytics

  • Progress Tracking: Monitor saved courses by category
  • Provider Statistics: See which platforms you prefer
  • Level Distribution: Track learning progression

๐Ÿš€ Deployment

Vercel (Recommended)

  1. Push to GitHub:
git push origin main
  1. Deploy on Vercel:
    • Import your repository on Vercel
    • Add environment variables
    • Deploy automatically

Environment Variables for Production

GEMINI_API_KEY=your_production_gemini_api_key
NEXT_PUBLIC_APP_URL=https://your-domain.com

๐Ÿค Contributing

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

๐Ÿ“ Development Scripts

pnpm dev          # Start development server
pnpm build        # Build for production
pnpm start        # Start production server
pnpm lint         # Run ESLint
pnpm type-check   # TypeScript type checking

๐Ÿ”ฎ Future Enhancements

  • User authentication and profiles
  • Course progress tracking
  • Social features and course sharing
  • Integration with more learning platforms
  • Advanced recommendation algorithms
  • Course reviews and ratings

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Google Gemini AI for powering intelligent recommendations
  • Next.js team for the amazing framework
  • shadcn for the beautiful UI components
  • Vercel for seamless deployment

Pathzy AI Course Recommender - Discover your next learning adventure with the power of AI! ๐ŸŽ“โœจ

Ask, Discover, Learn - Your personalized course journey starts here.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors