Skip to content

Commit

Permalink
update quiz collector
Browse files Browse the repository at this point in the history
  • Loading branch information
yostane committed Aug 23, 2024
1 parent 8c6c04b commit 315b333
Show file tree
Hide file tree
Showing 8 changed files with 762 additions and 270 deletions.
3 changes: 2 additions & 1 deletion material/rest-api-ui-ktor-quiz-collector/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ out/
/.nb-gradle/

### VS Code ###
.vscode/
.vscode/
.kotlin
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions material/rest-api-ui-ktor-quiz-collector/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
kotlin.code.style=official

org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.parallel=true
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
meta {
name: /results
name: /responses
type: http
seq: 4
}

get {
url: http://localhost:8080/results
url: http://localhost:8080/responses
body: none
auth: none
}
11 changes: 11 additions & 0 deletions material/rest-api-ui-ktor-quiz-collector/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ktor + jupyter quiz collection

Enable dev mode

- Make sure development mode is enabled in your Ktor configuration file. This depends on how you created and run your
server. If you use EngineMain to run a server, enable development mode in the configuration file.
- Add run task that runs `./gradlew -t build` and run it.

![img.png](assets/gradle-build.png)

- Run the ktor server with `./gradlew run` or from a run task
Loading

0 comments on commit 315b333

Please sign in to comment.