diff --git a/.gitignore b/.gitignore index ef5a5f4..a08c3b2 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,5 @@ frontend/src/index.js .env .DS_Store + +backend/src/resources/application.yml diff --git a/backend/src/resources/application.yml b/backend/src/resources/application.yml.example similarity index 61% rename from backend/src/resources/application.yml rename to backend/src/resources/application.yml.example index 32275c8..d64ad57 100644 --- a/backend/src/resources/application.yml +++ b/backend/src/resources/application.yml.example @@ -3,10 +3,10 @@ server: spring: datasource: - url: jdbc:h2:mem:whattocook - username: sa + url: + username: password: - driverClassName: org.h2.Driver + driver-class-name: data: rest: base-path: /api/v1 diff --git a/build.gradle b/build.gradle index 6a8174c..57002e6 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,9 @@ dependencies { // https://mvnrepository.com/artifact/com.h2database/h2 implementation group: 'com.h2database', name: 'h2', version: '1.3.148' + // https://mvnrepository.com/artifact/org.postgresql/postgresql + implementation group: 'org.postgresql', name: 'postgresql', version: '42.4.0' + // okhttp implementation("com.squareup.okhttp3:okhttp:4.10.0")