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.
- 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.
- 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.
- Python 3.10.6
- Django 5.1.5
- PostgreSQL 17.2
-
Clone the repository:
git clone https://github.com/Technical-D/CodePlayground.git cd CodePlayground
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations to set up the database:
python manage.py makemigrations python manage.py migrate
-
Create a superuser for the admin panel:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the platform in your browser:
- Admin panel:
http://127.0.0.1:8000/admin/
- Platform home:
http://127.0.0.1:8000/
- Admin panel:
-
Test Case Execution:
- Add a mechanism to evaluate user submissions against predefined test cases.
-
User Progress Tracking:
- Track which problems users have solved.
-
Leaderboard:
- Display top performers based on scores.
This project is licensed under the MIT License.
For queries or suggestions, contact:
- Email: [email protected]
- GitHub: https://github.com/Technical-D