Skip to content

Repository files navigation

🚀 Axiom — AI-Powered Learning Operating System

Next.js   TypeScript   MongoDB   Redis   Gemini AI

A next-generation e-learning platform that autonomously generates full-stack curricula, tracks user progress, and provides context-aware mentorship via AI personas.


📌 Project Overview

Axiom transforms learning by shifting from static courses to dynamic, AI-orchestrated curricula. Users enter any topic, and the engine generates a structured syllabus complete with theory files, coding challenges, and mock project scopes, backed by active AI coaching.

✨ Core Capabilities

  • Autonomous Syllabus Engine: Generates customized learning paths (Theory, Practice, Projects) for any topic.
  • Sensei AI Coach: Context-aware assistant that understands your current module, reads your workspace code, and offers intelligent debugging guidance.
  • Caching & Optimization: Utilizes Upstash Redis cache to speed up API responses for frequently generated tracks by 30%.
  • Type-Safe Architecture: Built with strict TypeScript validations from frontend user components to Mongoose database layers.

📂 System Architecture

src/
├── app/          # Next.js App Router (RSC, layouts, and pages)
├── components/   # Modular UI elements (curriculum cards, chat panels)
├── lib/          # Utilities (Redis config, Gemini model initializers)
├── models/       # Mongoose Schemas (User, Track, Session)
└── types/        # TypeScript interfaces

⚙️ Local Development Setup

Prerequisites

  • Node.js v20.x+
  • MongoDB Instance (Atlas or Local)
  • Gemini API Key (Google AI Studio)

Installation Steps

  1. Clone the Repository:
    git clone https://github.com/Nashid-k/axiom-e-learning.git
    cd axiom-e-learning
  2. Install Dependencies:
    npm install
  3. Configure Variables: Copy the .env.example file and configure:
    MONGODB_URI=your_mongodb_connection
    GEMINI_API_KEY=your_gemini_api_key
    UPSTASH_REDIS_REST_URL=your_redis_url
    UPSTASH_REDIS_REST_TOKEN=your_redis_token
  4. Run Dev Server:
    npm run dev