feat: Google OAuth ile giris

- User modeline googleId (unique) eklendi
- google start/callback API route'lari (state korumali, find-or-create)
- Login/register sayfalarina Google butonu
- docker-compose'a GOOGLE_CLIENT_ID/SECRET env gecisi
- tsconfig.tsbuildinfo gitignore'a eklendi
This commit is contained in:
2026-08-02 16:50:34 +03:00
parent 17319a1555
commit bf2fc272f2
12 changed files with 272 additions and 2 deletions
+1
View File
@@ -86,6 +86,7 @@ model User {
id String @id @default(cuid())
email String @unique
passwordHash String?
googleId String? @unique
name String?
avatarUrl String?
role UserRole @default(USER)