Skip to content

CodePlayground is an interactive web-based platform designed for coding enthusiasts and learners. It provides a seamless experience for practicing, solving, and testing coding problems.

Notifications You must be signed in to change notification settings

Technical-D/CodePlayground

Repository files navigation

CodePlayground - README

Overview

This project is a Django-based problem-solving platform designed to help users practice coding problems. Each problem has detailed descriptions, test cases, and starter code to guide users. The platform supports functionality to create, view, and solve coding problems while tracking user progress. image


Features

  1. Interactive Python Interpreter::
    • Users can run Python code directly in the browser to test their solutions.
    • Input and output are displayed within the platform to provide immediate feedback.
    • Allows users to solve problems and check their code functionality interactively in real time.

image

  1. Future Enhancements:
    • View problems with a detailed description.
    • Solve challenges and submit solutions (test case feature planned for future).
    • Add automated test case evaluation.
    • Track user progress and display leaderboards.

Installation

Prerequisites

  • Python 3.10.6
  • Django 5.1.5
  • PostgreSQL 17.2

Steps

  1. Clone the repository:

    git clone https://github.com/Technical-D/CodePlayground.git
    cd CodePlayground
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Apply migrations to set up the database:

    python manage.py makemigrations
    python manage.py migrate
  5. Create a superuser for the admin panel:

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver
  7. Access the platform in your browser:

    • Admin panel: http://127.0.0.1:8000/admin/
    • Platform home: http://127.0.0.1:8000/

Future Enhancements

  1. Test Case Execution:

    • Add a mechanism to evaluate user submissions against predefined test cases.
  2. User Progress Tracking:

    • Track which problems users have solved.
  3. Leaderboard:

    • Display top performers based on scores.

License

This project is licensed under the MIT License.


Contact

For queries or suggestions, contact:

About

CodePlayground is an interactive web-based platform designed for coding enthusiasts and learners. It provides a seamless experience for practicing, solving, and testing coding problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published