Triverse Academy - Full-Stack Learning Platform
A production-ready full-stack learning platform delivering 21 Agentic Design Pattern courses, 24+ AI video courses, and interactive coding projects with seamless authentication, S3 document management, and modern responsive UI.

Project Overview
Triverse Academy addresses the challenge of delivering diverse educational content through a unified platform. The system seamlessly integrates three learning paths: MindForge (21 Agentic Design Pattern courses with downloadable materials), VisionStream (24+ DeepLearning.AI video courses with auto-fetched thumbnails), and CodeSphere (interactive coding projects). Built with React and FastAPI, the platform features enterprise-grade authentication, dynamic S3 document URL generation, automatic thumbnail extraction, and a modern animated UI with Framer Motion.
System Architecture
The platform uses a modern three-tier architecture: React frontend (Vite + TailwindCSS), FastAPI backend with async/await support, and PostgreSQL database with Alembic migrations. Authentication is handled by the Apex SaaS Framework with JWT tokens. The system features automatic thumbnail fetching from DeepLearning.AI pages using BeautifulSoup, dynamic S3 URL generation for course documents, and comprehensive error handling with automatic retry logic. The frontend includes health monitoring and connection status indicators for production reliability.

React Frontend
Vite-powered SPA with React Router, Framer Motion animations, and TailwindCSS styling
FastAPI Backend
Async Python API with SQLAlchemy ORM, Pydantic validation, and CORS middleware
PostgreSQL Database
Relational database with Alembic migrations for schema versioning
Apex SaaS Framework
Enterprise authentication system with JWT tokens, password reset, and user management
AWS S3 Integration
Dynamic document URL generation for course materials stored in S3
Thumbnail Service
Automatic thumbnail extraction from DeepLearning.AI course pages using web scraping
Implementation Details
Code Example
from fastapi import FastAPI, Depends
from sqlalchemy.orm import Session
from app.db.session import get_db
from app.models.course import Course
from app.services.s3_url_builder import build_document_url
@router.get("/api/courses/{course_id}/pdf")
def get_course_pdf(course_id: int, db: Session = Depends(get_db)):
"""Get PDF URL for a course"""
course = db.query(Course).filter(Course.id == course_id).first()
if not course:
raise HTTPException(status_code=404, detail="Course not found")
# Dynamically build S3 URL
pdf_url = build_document_url(course.url_name, ".pdf")
return {"url": pdf_url}
# Automatic thumbnail fetching
async def fetch_thumbnail_from_url(url: str) -> Optional[str]:
async with httpx.AsyncClient() as client:
response = await client.get(url)
soup = BeautifulSoup(response.text, 'html.parser')
og_image = soup.find('meta', property='og:image')
return og_image['content'] if og_image else NoneAgent Memory
Converting CORS_ORIGINS to JSON format before importing the apex package prevents SettingsError during initialization. This ensures the authentication framework receives properly formatted configuration values.
Workflow
User Registration: New users sign up through the React frontend, which calls the FastAPI backend. The Apex SaaS Framework handles user creation with password hashing.
Authentication: JWT tokens (access + refresh) are issued and stored in localStorage. The frontend automatically retries failed requests with exponential backoff.
Course Access: Authenticated users browse courses through the MindForge section. Course documents are dynamically generated from S3 paths.
Video Discovery: VisionStream displays video courses with automatically fetched thumbnails from DeepLearning.AI pages.
Document Viewing: Course materials (.docx, .pdf) are served via S3 URLs, with the frontend using docx-preview for seamless document rendering.
Profile Management: Users can update their profile and change passwords through protected routes with JWT validation.

Results & Impact
"The platform seamlessly handles 21 courses and 24+ video courses with automatic content management. The authentication system is robust, and the S3 integration makes document delivery effortless."
Scalability
Handles multiple learning paths with unified authentication and content management
Automation
Automatic thumbnail fetching reduces manual content management by 90%
Reliability
100% API test coverage with automatic retry logic and health monitoring
User Experience
Modern animated UI with responsive design and seamless document viewing
Production Ready
Comprehensive deployment guides, error handling, and monitoring solutions
About the Author
Rahul Patil
AI Context Engineer
Apex Neural
Rahul is an AI Context Engineer experienced in architecting agentic AI systems, scalable backend services, and full-stack SaaS platforms. His work includes LLM integrations, automation systems, OCR and document processing, web scraping, and fine-tuned AI models. He focuses on delivering production-ready AI solutions that solve real business problems.
Contributors
Ready to Build Your AI Solution?
Get a free consultation and see how we can help transform your business.

Hansika