quizmaker

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

This is an application that builds quizzes. Can be used in conferences or other events.

It's still work in progress but already usable.

screenshot

All you need it to create a yaml file with the possible questions (see the test file as an example: test questions.yaml)

Then you need to generate a secret that will sign the cookies. E.g. with:

export QUIZMAKER_COOKIE_SECRET=$(openssl rand -base64 32)

then run the application with golang:

go run . -question-pool questions.yaml

NOTE: This application started as part of the Kairos.io team hackweek.

TODO:

  • Finalize the question pool
  • make it configurable so other teams can use their own logo and text
  • create an easy way to collect results
  • create an easy deployment method (kustomization / helm chart / other)
  • Test in Kairos kiosk mode and create the relevant helper files
  • Create endpoint that shows the currently active quizzes
  • improve the README
  • Create a leaderboard with aliases (not their emails). This way we can give prizes to 1st/2nd/3rd etc
  • When showing leaderboard, check if any pending sessions are now expired (recalculate the fields), because currently we recalculate the fields only when a question is answers. Abandoned quizzes will show as "in progress" forever this way.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL