Skip to content

Commit

Permalink
Merge pull request #56 from MEME-UMC/develop-nhn
Browse files Browse the repository at this point in the history
chore: 사내 개발 환경 세팅 및 코드 정리
  • Loading branch information
limjustin authored Nov 19, 2024
2 parents d012724 + b6a8ca4 commit 76c7458
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 5 deletions.
49 changes: 49 additions & 0 deletions MEME-AUTH/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
spring:
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:db;MODE=MYSQL;NON_KEYWORDS=USER
username: sa
password:

main:
allow-bean-definition-overriding: true

jpa:
hibernate:
ddl-auto: create
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.H2Dialect
h2:
console:
enabled: true
path: /h2-console

data:
redis:
host: 127.0.0.1
port: 6379

security:
oauth2:
kakao:
issuer: "https://kauth.kakao.com"
rest-api-key: ${KAKAO_REST_API_KEY}
apple:
issuer: "https://appleid.apple.com"
client-id: ${APPLE_CLIENT_ID}

jwt:
issuer: meme_umc
secret-key: ${JWT_SECRET_KEY}
access-token-validity-in-seconds: 1800 # 30 minutes
refresh-token-validity-in-seconds: 86400 # 24 hours

springdoc:
swagger-ui:
path: /auth/swagger-ui
display-request-duration: true
api-docs:
path: /auth/docs
2 changes: 0 additions & 2 deletions MEME-AUTH/src/main/resources/data.sql

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
//@EnableJpaRepositories(basePackages = "org.meme.member.domain")
//@EntityScan(basePackages = "org.meme.member.domain")
@EnableJpaAuditing
public class MemeMemberApplication {
public class MemberApplication {

public static void main(String[] args) {
SpringApplication.run(MemeMemberApplication.class, args);
SpringApplication.run(MemberApplication.class, args);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class MemeMemberApplicationTests {
class MemberApplicationTests {

@Test
void contextLoads() {
Expand Down

0 comments on commit 76c7458

Please sign in to comment.