mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-27 17:38:51 +05:00
Add Google OAuth
This commit is contained in:
33
pkg/config/vars.go
Normal file
33
pkg/config/vars.go
Normal file
@@ -0,0 +1,33 @@
|
||||
package config
|
||||
|
||||
const (
|
||||
// Environment variable keys
|
||||
EnvTMDBAccessToken = "TMDB_ACCESS_TOKEN"
|
||||
EnvJWTSecret = "JWT_SECRET"
|
||||
EnvPort = "PORT"
|
||||
EnvBaseURL = "BASE_URL"
|
||||
EnvNodeEnv = "NODE_ENV"
|
||||
EnvGmailUser = "GMAIL_USER"
|
||||
EnvGmailPassword = "GMAIL_APP_PASSWORD"
|
||||
EnvLumexURL = "LUMEX_URL"
|
||||
EnvAllohaToken = "ALLOHA_TOKEN"
|
||||
EnvRedAPIBaseURL = "REDAPI_BASE_URL"
|
||||
EnvRedAPIKey = "REDAPI_KEY"
|
||||
EnvMongoDBName = "MONGO_DB_NAME"
|
||||
EnvGoogleClientID = "GOOGLE_CLIENT_ID"
|
||||
EnvGoogleClientSecret= "GOOGLE_CLIENT_SECRET"
|
||||
EnvGoogleRedirectURL = "GOOGLE_REDIRECT_URL"
|
||||
EnvFrontendURL = "FRONTEND_URL"
|
||||
|
||||
// Default values
|
||||
DefaultJWTSecret = "your-secret-key"
|
||||
DefaultPort = "3000"
|
||||
DefaultBaseURL = "http://localhost:3000"
|
||||
DefaultNodeEnv = "development"
|
||||
DefaultRedAPIBase = "http://redapi.cfhttp.top"
|
||||
DefaultMongoDBName = "database"
|
||||
|
||||
// Static constants
|
||||
TMDBImageBaseURL = "https://image.tmdb.org/t/p"
|
||||
CubAPIBaseURL = "https://cub.rip/api"
|
||||
)
|
||||
Reference in New Issue
Block a user