8000 GitHub - Jassu78/CodeGym-AI: CodeGym-AI is an intelligent, step-by-step mentor designed to sharpen your problem-solving skills rather than just providing code snippets. Unlike traditional AI assistants that spoon-feed answers, CodeGym-AI acts as a real-time tutor that prioritizes your cognitive growth. · GitHub
[go: up one dir, main page]

Skip to content

Jassu78/CodeGym-AI

Repository files navigation

CodeGym AI: Your AI-Powered Coding Practice Arena

CodeGym AI is a web application built with Next.js that helps you practice your coding skills. It leverages generative AI to provide a dynamic and interactive learning experience, complete with on-the-fly problem generation, code evaluation, quality analysis, and an assistant chatbot to help you when you're stuck.

This project was bootstrapped with Firebase Studio.

Features

  • AI-Powered Problem Generation: Select a topic, programming language (Java, Python, C), and complexity level to get a unique coding challenge.
  • Interactive Code Editor: A simple, clean editor to write and test your solutions.
  • Instant Code Execution: Run your code against the problem's expected output and get immediate feedback on its correctness.
  • Code Quality Analysis: Get AI-driven feedback on your code's quality, focusing on aspects like readability and best practices.
  • Conversational Chatbot: Stuck on a problem? Ask the integrated AI chatbot for hints, clarifications, or guidance.
  • Responsive Design: A clean, modern UI that works across different screen sizes.

Tech Stack

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js (version 20 or later)
  • npm or another package manager

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/Jassu78/CodeGym-AI.git
    cd CodeGym-AI
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root of your project by copying the example file:

    cp .env.example .env

    Open the .env file and add your Google Gemini API key:

    GEMINI_API_KEY=__YOUR_API_KEY__
    

    You can obtain a key from the Google AI Studio.

  4. Run the development server:

    npm run dev

The application should now be running at http://localhost:9002.

Available Scripts

  • npm run dev: Starts the Next.js development server.
  • npm run build: Builds the application for production.
  • npm run start: Starts a production server.
  • npm run lint: Lints the project files using Next.js's built-in ESLint configuration.

About

CodeGym-AI is an intelligent, step-by-step mentor designed to sharpen your problem-solving skills rather than just providing code snippets. Unlike traditional AI assistants that spoon-feed answers, CodeGym-AI acts as a real-time tutor that prioritizes your cognitive growth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0