๐Ÿš€ CodeQuiz - AITamer

๐ŸŽฏ Inspiration

CodeQuiz was inspired by the challenges faced by developers when understanding unfamiliar codebases, whether working on legacy projects, contributing to open source, or learning new programming concepts.

Traditional approaches to learning and understanding codeโ€”like reading documentation or manually studying codeโ€”are often time-consuming and lack interactive feedback.

๐Ÿ”น AI-Powered Learning: The increasing sophistication of large language models (e.g., Perplexity API) presents an opportunity to create personalized, automated code assessment tools.
๐Ÿ”น Active Learning Research: Studies show that quizzes & interactive challenges improve retention compared to passive learning.


๐Ÿ› ๏ธ What it does

CodeQuiz is a comprehensive web platform that provides:

โœ… Multi-Source Code Processing

  • Upload individual code files, ZIP archives, or link GitHub repositories.

๐Ÿค– AI-Powered Code Summaries

  • Uses the Perplexity API and Gemini 2.0 to analyze and generate insights on:
    • ๐Ÿ“Œ Code structure
    • ๐Ÿ“Œ Functionality
    • ๐Ÿ“Œ Design patterns
    • ๐Ÿ“Œ Key concepts

๐Ÿ“ Customized Quizzes

  • *Automatically * generates quizzes:
    • ๐Ÿ† Multiple-choice questions for theoretical understanding

๐Ÿ“Š Progress Tracking & Skill Verification

  • Users can monitor their performance, track score.

๐ŸŽจ Responsive UI

  • Modern, mobile-friendly interface with dark mode support.

๐Ÿ—๏ธ How we built it

Cursor A lot of debugging hours and deployment setting up

๐Ÿ”น Frontend

  • ๐Ÿ–ฅ React with TypeScript โ€“ Type-safe, component-based UI (built with Vite)
  • ๐Ÿ›ฃ React Router โ€“ Seamless navigation
  • ๐ŸŽจ Tailwind CSS โ€“ Utility-first styling
  • ๐Ÿ“ฆ Shadcn UI Components โ€“ Consistent UI elements
  • ๐ŸŒ Context API โ€“ Global state management (auth, theme)
  • ๐Ÿ”— Axios โ€“ API communication

๐Ÿ”น Backend

  • ๐Ÿ— Node.js with Express โ€“ Server framework
  • ๐Ÿ—„ MongoDB with Mongoose โ€“ Database modeling
  • ๐Ÿ”’ JWT Authentication โ€“ Secure user sessions
  • ๐Ÿ“‚ Multer โ€“ Handles file uploads (code files & ZIPs)
  • ๐Ÿค– Perplexity and Gemini โ€“ AI-powered code analysis & quiz generation

๐Ÿ›  Key Features Implementation

  • ๐Ÿ“ค File Upload System โ€“ Uses UUIDs for unique file storage
  • ๐Ÿ”— GitHub Integration โ€“ Processes GitHub repos for analysis
  • โš™ Code Execution โ€“ Secure sandboxed environment
  • ๐Ÿ“ฑ Responsive Design โ€“ Supports both light & dark mode

๐Ÿ† Challenges we ran into

โŒ Extracting relevant data for quiz generation
โŒ Handling authentication complexities
โŒ Implementing quiz saving & redo functionality
โŒ Managing various file extensions
โŒ Extract and compress files


๐ŸŽ‰ Accomplishments that we're proud of

โœจ We actually got it to work! ๐Ÿš€


๐Ÿ”ฎ What's next for CodeQuiz - AITamer?

๐Ÿคท IDK, what do you think?

Built With

Share this project:

Updates