Skip to content

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

Notifications You must be signed in to change notification settings

bilalmohib/QuizAppDjango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 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.