URL: https://lovable.dev/projects/0cfdebde-89ea-47eb-b966-cb1b056155cd
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run devEdit a file directly in GitHub
- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.
Use GitHub Codespaces
- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
Simply open Lovable and click on Share -> Publish.
Yes, you can!
To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
Read more here: Setting up a custom domain
이 프로젝트는 카카오, 구글, GitHub 소셜 로그인을 지원합니다. 활성화하려면 Lovable Cloud 대시보드에서 다음 설정을 완료하세요:
각 소셜 로그인 Provider를 활성화하고 인증 정보를 입력합니다:
-
Lovable Cloud 대시보드 접속
- 프로젝트 페이지에서 "View Backend" 클릭
- Authentication → Providers 메뉴로 이동
-
Provider별 설정
카카오(Kakao)
- Kakao Developers에서 애플리케이션 생성
- Client ID와 Client Secret 발급
- Lovable Cloud에서 Kakao Provider 활성화 후 입력
- Redirect URI: Supabase에서 제공하는 콜백 URL 사용 (
https://<project-ref>.supabase.co/auth/v1/callback) - 참고: Supabase Kakao Login Guide
구글(Google)
- Google Cloud Console에서 프로젝트 생성
- OAuth 2.0 클라이언트 ID 생성 (애플리케이션 유형: 웹 애플리케이션)
- Authorized JavaScript origins:
https://sobooksobook.lovable.app - Authorized redirect URIs: Supabase 콜백 URL
- Lovable Cloud에서 Google Provider 활성화 후 Client ID/Secret 입력
- 참고: Supabase Google Login Guide
GitHub
- GitHub Settings → OAuth Apps에서 New OAuth App 생성
- Homepage URL:
https://sobooksobook.lovable.app - Authorization callback URL: Supabase 콜백 URL
- Lovable Cloud에서 GitHub Provider 활성화 후 Client ID/Secret 입력
- 참고: Supabase GitHub Login Guide
Authentication → URL Configuration에서:
- Site URL:
https://sobooksobook.lovable.app - Redirect URLs: 배포된 도메인 추가 (개발/프리뷰 환경 포함)
자세한 내용: Supabase Redirect URLs Documentation
소셜 로그인은 다음 코드로 구현되어 있습니다:
src/hooks/useAuth.tsx:signInWithOAuth()함수src/pages/Auth.tsx: 소셜 로그인 버튼 UI- Supabase SDK의
signInWithOAuth()메서드 사용
참고: Supabase Social Login Overview
/auth페이지에서 소셜 로그인 버튼 클릭- 해당 Provider 동의 화면 확인
- 로그인 후 자동으로 홈(
/)으로 리다이렉트 - 세션이 유지되는지 확인 (새로고침 후에도 로그인 상태 유지)