Pubquiz system using a strapi / sqlite backend and a custom VUE frontend
- Docker
- Docker-compose
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
The backend is based upon Strapi (https://strapi.io/). The Strapi admin panel can be visited using http://localhost:1337/admin/
To login to the Strapi backend use the following credentials:
Username: admin@admin.com
Password: Admin123
Content-types:
Quiz
A quiz (bag of questions), a quiz can be playedQuestion
The base question part, not containing any specific question type values
Components:
Question-types
QuestionMultipleChoice
multiple choice question typeQuestionOpen
open question type
The frontend can be found here: http://localhost:3000
- React (https://reactjs.org/)
- Boilerplate using
create-react-app
(https://create-react-app.dev/) using typescript template - ESLint + Prettier + eslint-config-prettier + airbnb defaults (and some minor changes)
- Material ui 5 (https://mui.com/)
- React-Query (https://tanstack.com/query/v4)
/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