Skip to content

Building from scratch an enterprise-grade Adaptive Learning Platform that leverages Generative AI (GPT-4) and Spring Boot 3 to create real-time, personalized tutoring and dynamic assessments.

Notifications You must be signed in to change notification settings

elchibek5/AiDA_Learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎓 AiDA Learn

The LMS that adapts to you.

AiDA (Artificial Intelligence Digital Assistant) is an enterprise-grade Learning Management System being built to use Generative AI for real-time personalized tutoring.

Status

Java Spring Boot PostgreSQL Docker OpenAI


🏗️ System Architecture

AiDA follows a Domain-Driven Design (DDD) approach with a clear separation of concerns.

graph TD
    User((User)) -->|HTTPS / JSON| API_Gateway["API Gateway / Controller"]
    
    subgraph "Core Backend (Spring Boot)"
        API_Gateway -->|Validate Token| Security["Security Config (Stateless)"]
        Security -->|Authorized| Service["Learning Service"]
        Service -->|Read/Write| Repository["JPA Repository"]
    end
    
    subgraph "Data Persistence"
        Repository <-->|JDBC| DB[("PostgreSQL")]
        DB <-->|Cache| Redis[("Redis Cache")]
    end
    
    subgraph "AI Integration"
        Service -->|Prompt Engineering| AI_Client["OpenAI Service"]
        AI_Client <-->|REST| GPT["OpenAI API"]
    end
Loading

🛠️ Tech Stack

Component Technology Description
Language Java 21 Utilizing Records, Pattern Matching, and Virtual Threads.
Framework Spring Boot 3.2 Rapid backend development with Dependency Injection.
Database PostgreSQL Relational data integrity for user and course management.
Security Spring Security 6 OAuth2 Resource Server & JWT Authentication.
AI Engine OpenAI GPT-4 Dynamic quiz generation and context-aware tutoring.
Container Docker Consistent deployment across environments.

💡 Key Features (In Progress)

🔐 Secure Authentication

  • Implementation of JWT (JSON Web Tokens) for stateless session management.
  • Role-Based Access Control (RBAC) distinguishing between STUDENT, INSTRUCTOR, and ADMIN.

🤖 Generative AI Tutor

  • Dynamic Quiz Generation: System analyzes course text and generates 5 unique questions on-the-fly.
  • Explanation Engine: Uses RAG (Retrieval-Augmented Generation) to explain incorrect answers to students.

⚡ High Performance

  • Leveraging Java 21 Virtual Threads for high-throughput concurrency handling.
  • Optimized SQL queries using Hibernate/JPA projections.

Chat Feature

  • Secure AI chat available only to authenticated users
  • Protected by Spring Security
  • Fully tested (backend + frontend)

🚀 Roadmap

  • Initial Project Setup & Docker Configuration
  • Database Schema Design (PostgreSQL)
  • Implement Spring Security Filter Chain
  • Connect OpenAI API Client
  • Build Frontend Dashboard (React)

Created by Elchibek Dastanov

About

Building from scratch an enterprise-grade Adaptive Learning Platform that leverages Generative AI (GPT-4) and Spring Boot 3 to create real-time, personalized tutoring and dynamic assessments.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published