๐ฝ CORNS ํ๊ฒฝ๋ณ์ ์ธํ
# MySQL
spring
.datasource
.driver-class-name =com.mysql.cj.jdbc.Driver
.url=DB source url
.username =๊ณ์ ์ด๋ฆ
password =๋น๋ฐ๋ฒํธ
# Redis
spring
.cache.type=redis
.redis
.host=ํธ์คํธ์ฃผ์
.password=๋น๋ฐ๋ฒํธ
.port=ํฌํธ๋ฒํธ
# Jpa
spring.jpa
.show_sql=true
.properties
.hibernate
.show_sql=true
.format_sql=true
.globally_quoted_identifiers=true
.hibernate.ddl-auto=ddl์๋์ต์
#port
server.port=ํฌํธ๋ฒํธ
#Swagger
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
#JWT
jwt.secret=jwt sercret ์ ๋ณด
#file upload
upload.path=ํ์ผ์
๋ก๋์ฃผ์
domain.save.path=ํ์ผ์ ์ฅ๋๋ฉ์ธ์ฃผ์
#logging setting
logging.level.com.w6w.corns.controller=debug
#oauth
spring.profiles.include=oauth
# papago key
papago.clientId=ํด๋ผ์ด์ธํธ์์ด๋
papago.clientSecret=ํด๋ผ์ด์ธํธ์ํฌ๋ฆฟ
application-oauth.properties
#google login
OAuth2
.google
.client-id=ํด๋ผ์ด์ธํธ์์ด๋
.client-secret=ํด๋ผ์ด์ธํธ์ํฌ๋ฆฟ
.callback-url=callback url
REACT_APP_GOOGLE_CLIENT_ID = ํด๋ผ์ด์ธํธ ์์ด๋
REACT_APP_GOOGLE_REDIRECT_URI = redirect uri
REACT_APP_GOOGLE_SCOPE = "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
REACT_APP_HOST = api ์์ฒญํ ๋ฐฑ ์ฃผ์