diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 5115826..f1dbd3d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,17 +5,9 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -30,7 +22,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -43,9 +57,9 @@
-
+ {
+ "associatedIndex": 8
+}
@@ -62,10 +76,12 @@
"RunOnceActivity.ShowReadmeOnStart": "true",
"Spring Boot.TampopotestApplication.executor": "Run",
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
- "git-widget-placeholder": "master",
+ "git-widget-placeholder": "swclaude3",
"junie.onboarding.icon.badge.shown": "true",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "C:/Users/student/IdeaProjects/tampopo-server",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "settings.editor.selected.configurable": "junie.application.models",
"to.speed.mode.migration.done": "true",
"vue.rearranger.settings.migration": "true"
}
diff --git a/build.gradle b/build.gradle
index ceb8f35..be39a67 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,8 +19,10 @@
}
dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-jersey'
- testImplementation 'org.springframework.boot:spring-boot-starter-jersey-test'
+ implementation 'org.springframework.boot:spring-boot-starter-web'
+ implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
+ runtimeOnly 'com.h2database:h2'
+ testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 4649332..d54ec06 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1 +1,16 @@
spring.application.name=tampopotest
+
+# H2 Database Configuration
+spring.datasource.url=jdbc:h2:mem:tampopodb
+spring.datasource.driverClassName=org.h2.Driver
+spring.datasource.username=sa
+spring.datasource.password=
+
+# JPA Configuration
+spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
+spring.jpa.hibernate.ddl-auto=create-drop
+spring.jpa.show-sql=true
+
+# H2 Console
+spring.h2.console.enabled=true
+spring.h2.console.path=/h2-console