From b90e171977d48960cbc05a4c72375e92986d01b6 Mon Sep 17 00:00:00 2001 From: Maxime Duchene-Savard Date: Tue, 23 Jun 2026 23:33:12 -0400 Subject: [PATCH] first commit --- .gitignore | 39 ++++++++++++++ .idea/.gitignore | 10 ++++ .idea/encodings.xml | 7 +++ .idea/google-java-format.xml | 6 +++ .idea/kotlinc.xml | 7 +++ .idea/misc.xml | 14 +++++ .idea/vcs.xml | 6 +++ AGENTS.md | 17 ++++++ pom.xml | 102 +++++++++++++++++++++++++++++++++++ src/main/kotlin/Main.kt | 9 ++++ 10 files changed, 217 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/google-java-format.xml create mode 100644 .idea/kotlinc.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 AGENTS.md create mode 100644 pom.xml create mode 100644 src/main/kotlin/Main.kt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..480bdf5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ +.kotlin + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..942f3a2 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/google-java-format.xml b/.idea/google-java-format.xml new file mode 100644 index 0000000..2aa056d --- /dev/null +++ b/.idea/google-java-format.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml new file mode 100644 index 0000000..93e65c4 --- /dev/null +++ b/.idea/kotlinc.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..048a301 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..a249d6a --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,17 @@ +# Basic Rules + +1. Do not abstract away unless explicitly required, in order to avoid over-engineering code early. +2. Do not assume anything, ask instead. +3. Do not be afraid to ask questions. + +# Tech Stack + +On the backend: +1. Kotlin +2. Javalin +3. Postgres and its JVM driver + +On the frontend: +1. Vue.js +2. Vuetify +3. Pinia diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..5ac7a6b --- /dev/null +++ b/pom.xml @@ -0,0 +1,102 @@ + + + 4.0.0 + + dev.mduchene + boruto + 1.0-SNAPSHOT + + + UTF-8 + official + 25 + 2.3.21 + + + + + mavenCentral + https://repo1.maven.org/maven2/ + + + + + src/main/kotlin + src/test/kotlin + + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + true + + + compile + compile + + compile + + + + test-compile + test-compile + + test-compile + + + + + + maven-surefire-plugin + 2.22.2 + + + maven-failsafe-plugin + 2.22.2 + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + MainKt + + + + + + + + org.jetbrains.kotlin + kotlin-test-junit5 + ${kotlin.version} + test + + + org.junit.jupiter + junit-jupiter + 5.10.0 + test + + + org.jetbrains.kotlin + kotlin-stdlib + ${kotlin.version} + + + + org.slf4j + slf4j-simple + 2.0.17 + + + + io.javalin + javalin + 7.2.2 + + + + \ No newline at end of file diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt new file mode 100644 index 0000000..100b065 --- /dev/null +++ b/src/main/kotlin/Main.kt @@ -0,0 +1,9 @@ +package dev.mduchene + +import io.javalin.Javalin + +fun main() { + val app = Javalin.create { config -> + config.routes.get("/") { ctx -> ctx.result("Hello World") } + }.start(7070) +} \ No newline at end of file