first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:22:29 +03:00
commit ec28a2024d
208 changed files with 23836 additions and 0 deletions

39
.env.example Normal file
View File

@@ -0,0 +1,39 @@
# Django Settings
DEBUG=True
SECRET_KEY='your-secret-key-here'
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,yourdomain.com
# Database Settings (Mevcut PostgreSQL sunucunuz)
USE_POSTGRES=True
POSTGRES_DB=server_dj
POSTGRES_USER=cloud
POSTGRES_PASSWORD=your-password
POSTGRES_HOST=10.80.80.70
POSTGRES_PORT=5432
# Social Auth (Google)
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY='your-google-client-id' # Your Google Client ID
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET='your-google-client-secret' # Your Google Client Secret
# Social Auth (GitHub)
SOCIAL_AUTH_GITHUB_KEY='your-github-client-id' # Your GitHub Client ID
SOCIAL_AUTH_GITHUB_SECRET='your-github-client-secret' # Your GitHub Client Secret
# Email Settings (Optional)
EMAIL_HOST=10.80.80.70
EMAIL_PORT=1025
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''
EMAIL_USE_TLS=False
EMAIL_USE_SSL=False
DEFAULT_FROM_EMAIL='noreply@localhost'
# Additional settings
CSRF_TRUSTED_ORIGINS=https://yourdomain.com,https://api.yourdomain.com
REDIS_URL=redis://default:your-redis-password@10.80.80.70:6379
DJOSER_DOMAIN=localhost:3000
DJOSER_SITE_NAME=Django Auth API
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:5173,http://127.0.0.1:5173,http://localhost:8080,http://127.0.0.1:8080
SOCIAL_AUTH_FACEBOOK_KEY=
SOCIAL_AUTH_FACEBOOK_SECRET=