Sign inSign up

prabhat9801/fastapi_mcq_platform

By prabhat9801

Updated 11 months ago

🎯 Smart MCQ Platform: LLM-powered question generation with Hindi/English support via FastAPI

Image
Machine learning & AI
Developer tools
Web servers
0

230

prabhat9801/fastapi_mcq_platform repository overview

🎯 Smart MCQ Platform

AI-powered Multiple Choice Question platform built with FastAPI for automated test creation and student assessment.

🚀 Quick Start

# Pull and run the latest image
docker pull prabhat9801/fastapi_mcq_platform:latest
docker run -p 8000:8000 prabhat9801/fastapi_mcq_platform:latest

# Access the application
# API Documentation: http://localhost:8000/docs
# Admin Panel: http://localhost:8000/admin
# Health Check: http://localhost:8000/health

⚙️ Environment Variables

docker run -p 8000:8000 \
  -e GOOGLE_API_KEY="your-api-key" \
  -e SECRET_KEY="your-secret-key" \
  -e DATABASE_URL="sqlite:///./mcq_platform.db" \
  prabhat9801/fastapi_mcq_platform:latest

🌟 Key Features

  • 🤖 AI-Powered MCQ Generation - LLM-based question creation from documents
  • 🌐 Multi-Language Support - Hindi/English with native script support
  • 📊 Real-time Analytics - Performance tracking and progress monitoring
  • 🔐 Authentication & Roles - JWT-based security with admin/student roles
  • 💳 Payment Integration - Stripe/Razorpay for subscriptions
  • 📱 RESTful APIs - 25+ endpoints with OpenAPI documentation

🛠️ Tech Stack

  • FastAPI - High-performance async web framework
  • LangChain - LLM orchestration and prompt engineering
  • ChromaDB + CLIP - Vector database for semantic search
  • SQLAlchemy - Database ORM with async support
  • Redis - Caching and session management
  • Docker - Containerized deployment

📖 Documentation

version: '3.8'
services:
  app:
    image: prabhat9801/fastapi_mcq_platform:latest
    ports:
      - "8000:8000"
    environment:
      - SECRET_KEY=your-secret-key
      - GOOGLE_API_KEY=your-api-key
      - DATABASE_URL=sqlite:///./data/mcq_platform.db
    volumes:
      - ./data:/app/data
    restart: unless-stopped

📊 Image Details

  • Base Image: python:3.11-slim
  • Working Directory: /app
  • Exposed Port: 8000
  • Health Check: Built-in endpoint monitoring
  • Size: Optimized for production deployment

🎯 Use Cases

  • Educational institutions for automated exam creation
  • Corporate training and assessment platforms
  • Online learning platforms requiring API integration
  • Content creators needing rapid MCQ generation

🚀 Production Deployment

Suitable for cloud deployment on:

  • AWS ECS/EKS
  • Google Cloud Run
  • Azure Container Instances
  • DigitalOcean App Platform
  • Any Docker-compatible hosting

Tags: fastapi python ai education mcq llm docker api langchain chromadb

Tag summary

Content type

Image

Digest

sha256:546c5ca9a

Size

5.4 GB

Last updated

11 months ago

docker pull prabhat9801/fastapi_mcq_platform