CODETION is a Django project that allows users to create, update, and manage quiz contests. Users can participate in contests and view the leaderboard.
- User Authentication: Users can register, login, and logout.
- Quiz Contests: Users can create new quiz contests, update existing contests, and delete contests.
- Leaderboard: Users can view the leaderboard for each contest, showing the top scorers.
- Python 3.x
- Django 3.x or higher
- Docker (optional, for running the project using Docker)
-
Clone the repository:
git clone https://github.com/ilakshaygupt/CODETION-BACKEND cd quiz-contest
-
Create a virtual environment:
python -m venv env
-
Activate the virtual environment:
-
On Windows:
.\env\Scripts\activate
-
On macOS and Linux:
source env/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Access the application:
Open your web browser and go to
http://127.0.0.1:8000
.
-
Clone the repository:
git clone https://github.com/ilakshaygupt/CODETION-BACKEND cd quiz-contest
-
Build and run the containers:
docker-compose up --build
-
Access the application:
Open your web browser and go to
http://localhost:8000
.
Contributions to CODETION are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.