-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
211 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
material/rest-api-ui-ktor-quiz-collector/gradle/libs.versions.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/bruno.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "1", | ||
"name": "quiz-collector-bruno", | ||
"type": "collection", | ||
"ignore": [ | ||
"node_modules", | ||
".git" | ||
], | ||
"presets": { | ||
"requestType": "http", | ||
"requestUrl": "http://localhost:8080" | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/respond 1.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
meta { | ||
name: /respond 1 | ||
type: http | ||
seq: 1 | ||
} | ||
|
||
post { | ||
url: http://localhost:8080/respond | ||
body: json | ||
auth: none | ||
} | ||
|
||
body:json { | ||
{ | ||
"responses": [ | ||
{ | ||
"question": "What is the primary goal of Kotlin Multiplatform?", | ||
"answer": "Muzukashi" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform facilitate code sharing between platforms?", | ||
"answer": "By sharing business logic and adapting UI" | ||
} | ||
] | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/respond 2.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
meta { | ||
name: /respond 2 | ||
type: http | ||
seq: 2 | ||
} | ||
|
||
post { | ||
url: http://localhost:8080/respond | ||
body: json | ||
auth: none | ||
} | ||
|
||
body:json { | ||
{ | ||
"responses": [ | ||
{ | ||
"question": "What is the primary goal of Kotlin Multiplatform?", | ||
"answer": "To share code between multiple platforms" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform facilitate code sharing between platforms?", | ||
"answer": "By sharing business logic and adapting UI" | ||
}, | ||
{ | ||
"question": "Which platforms does Kotlin Multiplatform support?", | ||
"answer": "Android, iOS, and web" | ||
}, | ||
{ | ||
"question": "What is a common use case for Kotlin Multiplatform?", | ||
"answer": "Developing a cross-platform app" | ||
}, | ||
{ | ||
"question": "What is a shared code module in Kotlin Multiplatform called?", | ||
"answer": "Shared module" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform handle platform-specific implementations?", | ||
"answer": "Through expect and actual declarations" | ||
}, | ||
{ | ||
"question": "What languages can be interoperable with Kotlin Multiplatform?", | ||
"answer": "Java, JavaScript, Swift" | ||
}, | ||
{ | ||
"question": "What tooling supports Kotlin Multiplatform development?", | ||
"answer": "IntelliJ IDEA, Android Studio" | ||
}, | ||
{ | ||
"question": "What is the benefit of using Kotlin Multiplatform for mobile development?", | ||
"answer": "Code reuse and sharing" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform differ from Kotlin Native and Kotlin/JS?", | ||
"answer": "Kotlin Multiplatform allows sharing code between different platforms using common modules." | ||
} | ||
] | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/respond 3.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
meta { | ||
name: /respond 3 | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
post { | ||
url: http://localhost:8080/respond | ||
body: json | ||
auth: none | ||
} | ||
|
||
body:json { | ||
{ | ||
"responses": [ | ||
{ | ||
"question": "What is the primary goal of Kotlin Multiplatform?", | ||
"answer": "Nashi" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform facilitate code sharing between platforms?", | ||
"answer": "Don't know" | ||
}, | ||
{ | ||
"question": "Which platforms does Kotlin Multiplatform support?", | ||
"answer": "Windows Phone" | ||
}, | ||
{ | ||
"question": "What is a common use case for Kotlin Multiplatform?", | ||
"answer": "No" | ||
}, | ||
{ | ||
"question": "What is a shared code module in Kotlin Multiplatform called?", | ||
"answer": "Nashi" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform handle platform-specific implementations?", | ||
"answer": "Copy paste is the best" | ||
}, | ||
{ | ||
"question": "What languages can be interoperable with Kotlin Multiplatform?", | ||
"answer": "Zenbu" | ||
}, | ||
{ | ||
"question": "What tooling supports Kotlin Multiplatform development?", | ||
"answer": "Vim" | ||
}, | ||
{ | ||
"question": "What is the benefit of using Kotlin Multiplatform for mobile development?", | ||
"answer": "Code reuse and sharing" | ||
}, | ||
{ | ||
"question": "How does Kotlin Multiplatform differ from Kotlin Native and Kotlin/JS?", | ||
"answer": "Kotlin Multiplatform allows sharing code between different platforms using common modules." | ||
} | ||
] | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/results.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
meta { | ||
name: /results | ||
type: http | ||
seq: 4 | ||
} | ||
|
||
get { | ||
url: http://localhost:8080/results | ||
body: none | ||
auth: none | ||
} |
11 changes: 11 additions & 0 deletions
11
material/rest-api-ui-ktor-quiz-collector/quiz-collector-bruno/table.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
meta { | ||
name: /table | ||
type: http | ||
seq: 5 | ||
} | ||
|
||
get { | ||
url: http://localhost:8080/table | ||
body: none | ||
auth: none | ||
} |
Empty file.
6 changes: 6 additions & 0 deletions
6
material/rest-api-ui-ktor-quiz-collector/result-explorer/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# quiz collector notebooks | ||
|
||
```sh | ||
pip install kotlin-jupyter-kernel jupyter | ||
pip show kotlin-jupyter-kernel jupyter | ||
``` |
2 changes: 2 additions & 0 deletions
2
material/rest-api-ui-ktor-quiz-collector/result-explorer/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kotlin-jupyter-kernel==0.12.0.217 | ||
jupyter==1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters