mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-28 01:48:51 +05:00
Add Google OAuth
This commit is contained in:
44
.env.example
44
.env.example
@@ -1,26 +1,28 @@
|
||||
# MongoDB Configuration
|
||||
MONGO_URI=mongodb://localhost:27017/neomovies
|
||||
# Required
|
||||
MONGO_URI=
|
||||
MONGO_DB_NAME=database
|
||||
TMDB_ACCESS_TOKEN=
|
||||
JWT_SECRET=
|
||||
|
||||
# TMDB API Configuration
|
||||
TMDB_ACCESS_TOKEN=your_tmdb_access_token_here
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your_super_secret_jwt_key_here
|
||||
|
||||
# Email Configuration (для уведомлений)
|
||||
GMAIL_USER=your_gmail@gmail.com
|
||||
GMAIL_APP_PASSWORD=your_app_specific_password
|
||||
|
||||
# Players Configuration
|
||||
LUMEX_URL=your_lumex_player_url
|
||||
ALLOHA_TOKEN=your_alloha_token
|
||||
|
||||
# Server Configuration
|
||||
# Service
|
||||
PORT=3000
|
||||
BASE_URL=http://localhost:3000
|
||||
NODE_ENV=development
|
||||
|
||||
# Production Configuration (для Vercel)
|
||||
# MONGO_URI=mongodb+srv://username:password@cluster.mongodb.net/neomovies
|
||||
# BASE_URL=https://your-app.vercel.app
|
||||
# NODE_ENV=production
|
||||
# Email (Gmail)
|
||||
GMAIL_USER=
|
||||
GMAIL_APP_PASSWORD=
|
||||
|
||||
# Players
|
||||
LUMEX_URL=
|
||||
ALLOHA_TOKEN=
|
||||
|
||||
# Torrents (RedAPI)
|
||||
REDAPI_BASE_URL=http://redapi.cfhttp.top
|
||||
REDAPI_KEY=
|
||||
|
||||
# Google OAuth
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
GOOGLE_REDIRECT_URL=http://localhost:3000/api/v1/auth/google/callback
|
||||
FRONTEND_URL=http://localhost:3001
|
||||
Reference in New Issue
Block a user