Feat: FCM Json Key 추가

This commit is contained in:
김용수 2024-09-24 11:32:58 +09:00
parent 38e53d4306
commit 0ceeda6e6b
4 changed files with 21 additions and 3 deletions

7
backend/.gitignore vendored
View File

@ -186,13 +186,14 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
src/main/resources/application.properties
# End of https://www.toptal.com/developers/gitignore/api/java,intellij+all,redis,macos,windows
# Gradle wrapper files
!/gradle/wrapper/gradle-wrapper.properties
!/gradle/wrapper/gradle-wrapper.jar
src/main/resources/application.properties
src/main/resources/firebase/worlabel-firbase-key.json

View File

@ -72,6 +72,9 @@ dependencies {
// WebSocket
implementation 'org.springframework.boot:spring-boot-starter-websocket'
// FCM
implementation 'com.google.firebase:firebase-admin:7.1.1'
}
tasks.named('test') {

View File

@ -0,0 +1,14 @@
package com.worlabel.global.config;
import lombok.RequiredArgsConstructor;
import lombok.Value;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
@Slf4j
@Configuration
@RequiredArgsConstructor
public class FCMConfig {
// Firebase 설정 Json 파일의 경로
}