From 4ea24e4b1e1d2acea5c6bb491859d6251883ad0b Mon Sep 17 00:00:00 2001 From: AYEOOON Date: Mon, 7 Jul 2025 14:47:51 +0900 Subject: [PATCH 1/3] =?UTF-8?q?remove:=20MySQL=20=EC=A0=84=ED=99=98?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=9D=BC=20Azure=20SQL=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=84=A4=EC=A0=95=20=EC=BB=AC=EB=9F=BC=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/project/Haru_Mail/domain/diary/Diary.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/project/Haru_Mail/domain/diary/Diary.java b/src/main/java/com/project/Haru_Mail/domain/diary/Diary.java index 6f3e25a..2178c04 100644 --- a/src/main/java/com/project/Haru_Mail/domain/diary/Diary.java +++ b/src/main/java/com/project/Haru_Mail/domain/diary/Diary.java @@ -19,7 +19,6 @@ public class Diary { @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; // 다이어리 ID - @Column(columnDefinition = "NVARCHAR(255)") private String title; // 제목 @Lob From e9c0ded4369a4af415a1565866647f3df2b0e670 Mon Sep 17 00:00:00 2001 From: AYEOOON Date: Mon, 7 Jul 2025 14:58:22 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=EB=AF=BC=EA=B0=90=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EB=B3=80=EC=88=98=EB=A5=BC=20GitHub=20Secrets?= =?UTF-8?q?=EB=A1=9C=20=EB=B6=84=EB=A6=AC=ED=95=98=EC=97=AC=20application.?= =?UTF-8?q?properties=20=EA=B5=AC=EC=84=B1=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- src/main/resources/application.properties | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/application.properties diff --git a/.gitignore b/.gitignore index ce3029c..06ab520 100644 --- a/.gitignore +++ b/.gitignore @@ -18,8 +18,6 @@ bin/ !**/src/test/**/bin/ ### IntelliJ IDEA ### -application.properties -application-test.properties .idea *.iws *.iml @@ -37,3 +35,4 @@ out/ ### VS Code ### .vscode/ +/.env diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..abea1b1 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,44 @@ +spring.security.oauth2.client.registration.google.client-id=${GOOGLE_CLIENT_ID} +spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_CLIENT_SECRET} +spring.security.oauth2.client.registration.google.redirect-uri=${GOOGLE_REDIRECT_URI} +spring.security.oauth2.client.registration.google.scope=email, profile + +spring.datasource.url=${SPRING_DATASOURCE_URL} +spring.datasource.username=${SPRING_DATASOURCE_USERNAME} +spring.datasource.password=${DB_PASSWORD} + +spring.jpa.hibernate.ddl-auto=update +spring.jpa.show-sql=true +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect +spring.jpa.properties.hibernate.connection.charSet=UTF-8 +spring.jpa.properties.hibernate.connection.useUnicode=true +spring.jpa.properties.hibernate.connection.characterEncoding=UTF-8 + +jwt.secret-key=${JWT_SECRET_KEY} +jwt.access-token-expiration-minutes=30 +jwt.refresh-token-expiration-minutes=1440 +jwt.header=Authorization +jwt.prefix=Bearer + +spring.redis.host = localhost +spring.redis.port = 6379 +spring.redis.password=${REDIS_PASSWORD} +spring.redis.timeout = 6000 + +spring.mail.host = smtp.gmail.com +spring.mail.port = 587 +spring.mail.username=${MAIL_USERNAME} +spring.mail.password=${MAIL_PASSWORD} +spring.mail.properties.mail.smtp.auth = true +spring.mail.properties.mail.smtp.starttls.enable = true +spring.mail.properties.mail.smtp.ssl.trust=smtp.gmail.com + +spring.thymeleaf.prefix=classpath:/templates/ +spring.thymeleaf.suffix=.html +spring.thymeleaf.mode=HTML +spring.thymeleaf.encoding=UTF-8 +spring.thymeleaf.cache=false + +cloudinary.cloud-name=dr6jccdxm +cloudinary.api-key=${CLOUDINARY_API_KEY} +cloudinary.api-secret=${CLOUDINARY_API_SECRET} \ No newline at end of file From 1996ba50a7c878673263c94a356df5c66bb4e8e2 Mon Sep 17 00:00:00 2001 From: AYEOOON Date: Mon, 7 Jul 2025 15:28:22 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20gradlew=20=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?=EB=B6=80=EC=97=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755