-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the official MiniCode Wiki โ a complete documentation hub for understanding, using, developing, and deploying the MiniCode platform.
MiniCode is a full-stack coding ecosystem that integrates GitHub workflows, AI-powered evaluation, gamification, and academic management tools into a single platform.
- Overview
- System Architecture
- Core Concepts
- User Roles & Workflows
- Submission & AI Judge Pipeline
- Deployment Guide
- Backend Developer Guide
- Design & UX Vision
- Troubleshooting
- Future Scope
MiniCode is designed for:
- ๐ Colleges and universities
- ๐ป Coding clubs
- ๐ Hackathons and competitions
It enables:
- Real GitHub-based coding
- AI-assisted evaluation (Gemini)
- Role-based access control
- Events, leaderboards, and XP systems
Unlike traditional platforms, MiniCode focuses on real-world development workflows instead of isolated code editors.
Frontend (Next.js)
โ
Backend API (FastAPI)
โ
Redis (Cache + Queue)
โ
Database (PostgreSQL / SQLite)
โ
Celery Workers (Async Processing)
โ
External APIs (GitHub, Google OAuth, Gemini AI)
- Each problem creates a private repository
- Students write and commit code locally
- Submission uses commit history as context
-
Uses Gemini API
-
Evaluates:
- Correctness
- Code quality
- AI probability
-
Returns structured feedback
- XP system
- Levels
- Leaderboards
- Events and rewards
- Login via GitHub
- Start problems โ repo created
- Write code and commit
- Submit โ AI evaluation
- Earn XP and climb leaderboard
- Create problems
- Monitor student performance
- Award XP
- Manage events
- Manage users and roles
- View system analytics
- Maintain platform operations
Detailed workflow reference: ๎filecite๎turn1file3๎
- Student starts problem
- Repo created via GitHub API
- Student commits code
- Submission created (pending)
- Celery worker processes submission
- AI judge analyzes code
- Score and feedback stored
Key Notes:
- Async processing ensures scalability
- AI judging is probabilistic
MiniCode supports both free-tier deployment and production-scale hosting.
- Frontend: Vercel
- Backend: Render
- Database: Supabase
- Redis: Upstash
- AI: Google Gemini Free Tier
- Scalable backend instances
- Dedicated database
- Paid AI usage
Full deployment guide: ๎filecite๎turn1file1๎
- Authentication & authorization
- API management
- Submission pipeline
- Database handling
- FastAPI backend
- SQLModel ORM
- Celery workers
- Redis caching
-
main.pyโ API entry point -
worker.pyโ async tasks -
judge.pyโ AI evaluation -
auth.pyโ authentication
Full developer reference: ๎filecite๎turn1file4๎
MiniCode follows a modern SaaS + Gen-Z developer experience philosophy.
- Zero friction navigation
- Gamified engagement
- Clean, premium UI
- AI-assisted feedback instead of harsh errors
- Dark theme (glassmorphism + neon accents)
- Smooth animations
- Dashboard-driven experience
Full design vision: ๎filecite๎turn1file2๎
- Worker not running
- Redis connection failed
- Incorrect callback URL
- Invalid client credentials
- Problem not started correctly
- GitHub auth expired
- Invalid API key
- Code execution sandbox
- Advanced plagiarism detection
- AI mentorship system
- Mobile app support
MiniCode is more than a coding platform โ it is a complete development ecosystem that prepares students for real-world engineering workflows.
By combining GitHub, AI, and gamification, it bridges the gap between:
๐ Learning ๐ป Development ๐ Competition