Rewrite api to Go

This commit is contained in:
2025-08-07 13:47:42 +00:00
parent 4a9a7febec
commit 7f6ff5f660
56 changed files with 6487 additions and 10338 deletions

26
.env.example Normal file
View File

@@ -0,0 +1,26 @@
# MongoDB Configuration
MONGO_URI=mongodb://localhost:27017/neomovies
# 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
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