first commit
This commit is contained in:
34
.env.example
Normal file
34
.env.example
Normal file
@@ -0,0 +1,34 @@
|
||||
# Server Configuration
|
||||
PORT=8080
|
||||
|
||||
# PostgreSQL Configuration
|
||||
DB_URL="host=localhost user=postgres password=yourpassword dbname=gauth port=5432 sslmode=disable TimeZone=Europe/Istanbul"
|
||||
DB_USER=postgres
|
||||
DB_PASSWORD=yourpassword
|
||||
DB_NAME=gauth
|
||||
DB_PORT=5432
|
||||
DB_HOST=localhost
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_USER=default
|
||||
REDIS_PASSWORD=yourpassword
|
||||
REDIS_URL=redis://default:yourpassword@localhost:6379/0
|
||||
|
||||
# JWT Secret
|
||||
JWT_SECRET=your_super_secret_jwt_key_change_this_in_production
|
||||
|
||||
# Application URL
|
||||
APP_URL=http://localhost:8080
|
||||
|
||||
# OAuth - Google
|
||||
GOOGLE_CLIENT_ID=your_google_client_id
|
||||
GOOGLE_CLIENT_SECRET=your_google_client_secret
|
||||
|
||||
# OAuth - GitHub
|
||||
GITHUB_CLIENT_ID=your_github_client_id
|
||||
GITHUB_CLIENT_SECRET=your_github_client_secret
|
||||
|
||||
# OAuth Callback URL
|
||||
CLIENT_CALLBACK_URL=http://localhost:8080/v1/auth
|
||||
Reference in New Issue
Block a user