Jonatandb / django-htmx-quiz-app

Django + HTMX - Quiz App

Home Page:https://django-htmx-quiz-app.onrender.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django-HTMX Quiz App

Screenshot01 Screenshot02 Screenshot03 Screenshot04 Screenshot05


  • Create environment (only first time)

    • py -m venv .venv
  • Activate python environment

    • source .venv/Scripts/activate
  • Install dependencies (only first time)

    • pip install -r requirements.txt
  • Run app

    • python manage.py runserver
  • Visit website


  • To load extra data, create a new yaml file following quiz_data.yaml format and execute:
    • python manage.py loaddata quiz_data.yaml
      • New quiz data must have different/consecutive pk's for quiz, question, answer to avoid conflict with existing ones.

About

Django + HTMX - Quiz App

https://django-htmx-quiz-app.onrender.com


Languages

Language:Python 71.0%Language:HTML 29.0%