joriskes / quiz

Quiz system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quiz

Pubquiz system using a strapi / sqlite backend and a custom VUE frontend

Getting Started

Dependencies

  • Docker
  • Docker-compose

Installing

Just run the docker image to start

git clone https://github.com/joriskes/quiz.git
cd quiz
docker-compose up

Especially the first time this process will take some time

Backend

The backend is based upon Strapi (https://strapi.io/). The Strapi admin panel can be visited using http://localhost:1337/admin/

Default username / password

To login to the Strapi backend use the following credentials:

Username: admin@admin.com

Password: Admin123

Setup

Content-types:

  • Quiz A quiz (bag of questions), a quiz can be played
  • Question The base question part, not containing any specific question type values

Components:

  • Question-types
    • QuestionMultipleChoice multiple choice question type
    • QuestionOpen open question type

Frontend

The frontend can be found here: http://localhost:3000

Libraries

Developer notes

/data/data.db is the location of the database for strapi. The sqlite database is intentionally added to version control, this way the strapi content-types are in sync with the frontend

About

Quiz system

License:MIT License


Languages

Language:Vue 37.5%Language:TypeScript 22.1%Language:JavaScript 21.2%Language:SCSS 13.8%Language:Shell 2.0%Language:HTML 1.7%Language:Dockerfile 1.6%