LEESAH Quiz Starter-app
System overview
┌──────────────┐ ┌──────────────┐
│ │ │ │
│ │ │ │
│ Quizboard │ │ Quizmaster │
│ │ │ │
│ │ │ │
└──────────────┘ └──────────────┘
│ ▲ │ ▲
│ │ │ │
│ │ │ │
▼ │ ▼ │
┌──────────────────────────────────────────────────────────────┐
│ Kafka │
└──────────────────────────────────────────────────────────────┘
▲ │ ▲ │
│ │ │ │
│ ▼ │ ▼
┌──────────────┐ ┌──────────────┐
│ │ │ │
│ │ │ │
│ Team 1 │ . . . │ Team n │
│ │ │ │
│ │ │ │
└──────────────┘ └──────────────┘
Prerequisites
For Java and Gradle SDKman is recommended for installing.
📝
Setup - Click the [Use this template] button located on: https://github.com/navikt/leesah-game-starter-kotlin
- Create a new public repository from the template with your team name with the navikt organisation as owner.
- Clone your repository to your local machine
git clone https://github.com/navikt/<your repository name>.git
🤖
Developing your quiz participant Your challenge is to implement a QuizParticipant that answers all the question messages that are
published by the quizmaster
The code you need to extend is all located in src/main/kotlin/no/nav/QuizApplication.kt
.
From the command-line in the project root run:
To build the app locally
./gradlew build
To run the app locally
java -jar build/libs/app.jar
First task
Deploy the application to NAIS!
Good luck! Remember to ask questions!