๐ 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
- ๐ Code structure
๐ Customized Quizzes
- *Automatically * generates quizzes:
- ๐ Multiple-choice questions for theoretical understanding
- ๐ 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
- express.js
- gemini
- javascript
- node.js
- perplexity
- react
- rest
- tailwind
- typescript
- vite
Log in or sign up for Devpost to join the conversation.