prepare for google translate

This commit is contained in:
Daniel Goc
2026-03-16 08:51:35 +01:00
parent 6ff47ce1c4
commit a44885faa5
8 changed files with 198 additions and 28 deletions

6
.env
View File

@@ -21,6 +21,12 @@ AUTH_JWT_SECRET=5c020e6ed3d8d6e67e5804d67c83c4bd5ae474df749af6d63d8f20e7e2ba29b3
AUTH_JWT_EXPIRATION=86400
AUTH_REFRESH_EXPIRATION=604800
# Google Translate Client
# Path to your service account JSON key file downloaded from Google Cloud Console
GOOGLE_APPLICATION_CREDENTIALS=/home/daniel/coding/work/b2b/google-cred.json
# Your Google Cloud project ID (visible in the Google Cloud Console dashboard)
GOOGLE_CLOUD_PROJECT_ID=YOUR_PROJECT_ID
# Google OAuth2
OAUTH_GOOGLE_CLIENT_ID=331979954218-9vrpe08oqhhcgj6bvu6d4lds0dt630m9.apps.googleusercontent.com
OAUTH_GOOGLE_CLIENT_SECRET=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