Quiz buzzer system sample.
Users can Quiz buzzer game and the moderator can change users view, make a sound depending on users answer.
# install dependencies
$ yarn
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
-
$ yarn firebase login
-
This project use only realtime database.
$ yarn firebase init
-
{ "rules": { "quiz-state": { "current-quiz": { ".read": true, ".write": true }, "respondent-id": { ".read": true, ".write": true } } } }
-
- You can start to serve at localhost:3000
$ yarn dev
- You can manage user view at
localhost:3000/manage
and change questions by changingstatic/data/quiz.js
- You can start to serve at localhost:3000