bilalmohib / QuizAppDjango

A question/answer django quiz app that uses python and django at its backend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿš€ Question-Answer Django Admin App

This repository contains a simple question-answer Django admin app that uses SQLite as the database.

โš™๏ธ Tech Stack

  • Django ๐Ÿ - A high-level Python web framework.
  • SQLite ๐Ÿ“ - A lightweight, file-based relational database management system.
  • HTML/CSS ๐ŸŽจ - Front-end technologies for creating user interfaces.

โœจ Features

  • Allows administrators to add, edit, and delete questions and answers.
  • Questions and answers are stored in an SQLite database.
  • The app provides a user-friendly web interface powered by Django's admin site.

๐Ÿ–ฅ๏ธ Installation

  1. Clone the repository:

    git clone https://github.com/Muhammad-Bilal-7896/Technical-Test.git
  2. Create and activate a virtual environment:

    python3 -m django-env env
    source env/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Set up the SQLite database:

    python manage.py migrate
    

๐Ÿ› ๏ธ Usage

  1. Start the development server:

    python manage.py runserver
  2. Open your web browser and navigate to http://localhost:8000/admin/.

  3. Log in with your superuser account or create one using the following command:

    python manage.py runserver
  4. Once logged in, you can perform the following actions through the Django admin interface:

  • Add questions and answers by clicking on the "Questions" or "Answers" section.
  • Edit existing questions and answers.
  • Delete questions and answers.

๐Ÿค๐Ÿป Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.

๐Ÿ“ƒ License

This project is licensed under the MIT License.

About

A question/answer django quiz app that uses python and django at its backend.


Languages

Language:Python 87.5%Language:HTML 11.7%Language:CSS 0.9%