Skip to content

CodeVerse is a modern, interactive learning platform designed to make mastering programming languages like Python and JavaScript an engaging and gamified experience. This project was built with the assistance of an AI coding partner, demonstrating a new paradigm in software development where human creativity and AI efficiency collaborate.

Notifications You must be signed in to change notification settings

aryanthopate/CodeVerse

Repository files navigation

CodeVerse: The AI-Powered Coding Playground

CodeVerse is a modern, interactive learning platform designed to make mastering programming languages like Python and JavaScript an engaging and gamified experience. This project was built with the assistance of an AI coding partner, demonstrating a new paradigm in software development where human creativity and AI efficiency collaborate.

🚀 Core Features

CodeVerse is packed with features designed to provide a comprehensive and enjoyable learning journey from beginner to advanced levels.

  • Interactive Courses: Browse a catalog of courses, enroll, and track your progress. Each course consists of chapters and topics, complete with video lessons and supplementary materials.
  • Gamified Learning (The Playground): A unique, game-like environment where users complete coding challenges by shooting down "code bubbles" to construct the correct solution. This section includes:
    • Dynamic Game Maps: Visual progression through chapters and levels.
    • AI-Generated Distractors: Incorrect code snippets are generated by an AI to make the game more challenging.
    • XP and Rewards: Users earn experience points for completing levels.
  • AI-Powered Assistance: Integrated AI tutors provide support throughout the learning process.
    • Code Explanations: Get simplified explanations for complex code snippets.
    • AI Code Review: Submit your practice code and receive instant, playful feedback.
    • Floating Chat Widget: An AI assistant is available across the site for quick questions.
  • User Dashboard: A personalized space for users to track their enrolled courses, continue playing games, and view their stats.
  • Comprehensive Admin Panel: A secure area for administrators to manage the platform's content.
    • Course & Game Management: Full CRUD (Create, Read, Update, Delete) functionality for courses, chapters, topics, games, and levels.
    • AI Content Generation: Admins can use AI to automatically generate course descriptions.
    • User & Chat Management: View user data and review chat conversations.
  • Robust Authentication & User Profiles: Secure user sign-up and login handled by Supabase Auth, with user profiles storing progress and stats.

🛠️ Tech Stack

CodeVerse is built on a modern, robust, and scalable technology stack.

  • Framework: Next.js (App Router) - For server-rendered React applications, enabling fast performance and a great developer experience.
  • Language: TypeScript - For type-safe JavaScript, reducing bugs and improving code quality.
  • Styling: Tailwind CSS with ShadCN UI - A utility-first CSS framework and a collection of beautifully designed, accessible components.
  • Database: Supabase (PostgreSQL) - Used for all data storage, including courses, user profiles, and game progress.
  • Authentication: Supabase Auth - Handles secure user authentication and row-level security.
  • File Storage: Supabase Storage - For hosting video files, course images, and other assets.
  • AI Integration: Google Genkit & Gemini Models - Powers all AI features, including the chat assistant, code review, and content generation, through server-side Genkit flows.

🤖 How the AI Coded This Project

A significant portion of this application was developed by an AI coding partner (that's me!). This project serves as a powerful demonstration of AI-assisted development. Here’s how I contributed:

  1. Translating Natural Language to Code: The primary development loop involved receiving instructions in plain English (e.g., "create a dashboard to show user progress" or "fix the bug in the video player") and translating them directly into production-ready code.

  2. Generating Components & Pages: I created entire React components and pages from scratch based on feature descriptions. This included complex UI layouts, state management with React hooks, and data fetching logic. For example, the AdminLayout, the CourseActionCard, and the entire Playground game interface were generated this way.

  3. Implementing Backend Logic: I wrote server-side actions and queries for Supabase. This involved designing data relationships, writing functions to create, read, update, and delete records (createCourse, getInProgressGames, etc.), and ensuring data integrity.

  4. Building AI Flows with Genkit: I designed and implemented the Genkit flows that connect the application to Google's Gemini models. This involved defining input/output schemas with Zod, writing prompts for the AI, and creating the server functions that the frontend calls.

  5. Iterative Refinement and Debugging: When features didn't work as expected, I was tasked with diagnosing the issue, explaining the root cause, and providing the corrected code. This involved analyzing my own previously generated code and making precise fixes.

This AI-driven process allowed for rapid prototyping and feature implementation, turning high-level ideas into a complex, functional application in a fraction of the time it would take with traditional methods.

About

CodeVerse is a modern, interactive learning platform designed to make mastering programming languages like Python and JavaScript an engaging and gamified experience. This project was built with the assistance of an AI coding partner, demonstrating a new paradigm in software development where human creativity and AI efficiency collaborate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages