Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth 2.0(구글, 네이버) 적용 완료 #36

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,12 @@ CACHE_TTL=60
CACHE_MAX=1000

REDIS_HOST=host
REDIS_PORT=port
REDIS_PORT=port

NAVER_CLIENT_ID=NAVER_CLIENT_ID
NAVER_CLIENT_SECRET=NAVER_CLIENT_SECRET
NAVER_CALLBACK_URI=NAVER_CALLBACK_URL

GOOGLE_CLIENT_ID=GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET=GOOGLE_CLIENT_SECRET
GOOGLE_CALLBACK_URI=GOOGLE_CALLBACK_URL
19 changes: 11 additions & 8 deletions database-dump/4iz.sql

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ services:
- CACHE_MAX=1000
- REDIS_HOST=cache
- REDIS_PORT=6379
# 사용자의 클라이언트 아이디, 클라이언트 시크릿, 콜백 URI 설정.
- NAVER_CLIENT_ID=naver-client-id
- NAVER_CLIENT_SECRET=naver-client-secret
- NAVER_CALLBACK_URI=naver-callback-uri
- GOOGLE_CLIENT_ID=google-client-id
- GOOGLE_CLIENT_SECRET=google-client-secret
- GOOGLE_CALLBACK_URI=google-callback-uri
- WAIT_HOSTS=db:3306
- WAIT_TIMEOUT=600
- WAIT_SLEEP_INTERVAL=10
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ services:
- CACHE_MAX=1000
- REDIS_HOST=cache
- REDIS_PORT=6379
# 사용자의 클라이언트 아이디, 클라이언트 시크릿, 콜백 URI 설정.
- NAVER_CLIENT_ID=naver-client-id
- NAVER_CLIENT_SECRET=naver-client-secret
- NAVER_CALLBACK_URI=naver-callback-uri
- GOOGLE_CLIENT_ID=google-client-id
- GOOGLE_CLIENT_SECRET=google-client-secret
- GOOGLE_CALLBACK_URI=google-callback-uri
- WAIT_HOSTS=db-dev:3306, db-test:3306
- WAIT_TIMEOUT=600
- WAIT_SLEEP_INTERVAL=10
Expand Down
4 changes: 3 additions & 1 deletion nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"dtoFileNameSuffix": [".dto.ts"]
}
}
]
],
"assets": ["public/**/*", "views/**/*"],
"watchAssets": true
}
}
Loading
Loading