Skip to content

yassermessahli/Query-quest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 QueryQuest

Play Data Science! β€” Gamified challenges for aspiring data scientists.

QueryQuest is a battle royale–themed data science challenge platform that blends learning with competition. Participants solve timed coding problems, capture unique flags, and advance through levels β€” making data science both engaging and practical.


Query Quest Banner

πŸ’  Key Features

  • Timed coding challenges
  • Progress tracking with unique flags
  • Secure authentication system
  • Multiple difficulty levels (Beginner β†’ Advanced)
  • Battle royale–themed interface

πŸ›  Tech Stack

  • Backend: Django REST Framework
  • Database: MySQL
  • Validation: OpenAI integration for answer checking
  • Auth: Token-based authentication

πŸ“¦ Architecture


project/
β”œβ”€β”€ server/              # Django backend
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ config/
β”‚   └── ...
└── data/                # Challenge questions
β”œβ”€β”€ questions/
└── advanced/

⚑ Getting Started

Prerequisites

  • Python 3.11+
  • Node.js 18+
  • MySQL

Setup (development environment)

cd <directory>
pip install poetry
poetry install
python manage.py migrate
python manage.py runserver

Environment Variables

Create a .env file in the project root based on .env.example.

βš™οΈ Security Features

  • Single-session authentication
  • Unique team tokens
  • Secure flag generation algorithm
  • Rate limiting on submissions
  • SSL/TLS encryption

πŸ’  API Documentation

Key Endpoints

  • POST /api/login/ β†’ Team authentication
  • GET /api/question/<id>/ β†’ Retrieve question details
  • POST /api/question/<id>/check/ β†’ Submit & validate answers
  • GET /api/status/ β†’ Check team progress

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes and push
  4. Open a Pull Request

About

🧩 Play Data Science! Web plateform built with Django and OpenAI

Topics

Resources

Stars

Watchers

Forks

Contributors