Features: - Next.js 16.1.3 frontend with Turbopack - NestJS API with Prisma ORM - EMEX VIN scraper integration - Turkish translations for automotive parts - JWT authentication with refresh tokens - PM2 production deployment Tech Stack: - Frontend: Next.js 16.1, React 19, TailwindCSS - Backend: NestJS, Prisma, MySQL - Scraping: Puppeteer Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
962 B
Plaintext
39 lines
962 B
Plaintext
# ===========================================
|
|
# API Environment Configuration
|
|
# ===========================================
|
|
|
|
# ----- App -----
|
|
NODE_ENV=production
|
|
PORT=4000
|
|
API_PREFIX=api
|
|
CORS_ORIGIN=https://sase.tr
|
|
|
|
# ----- Database -----
|
|
DATABASE_URL=mysql://sase_user:your_password@localhost:3306/sase_tr
|
|
|
|
# ----- Redis -----
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# ----- JWT -----
|
|
JWT_SECRET=your-super-secret-jwt-key-min-32-chars-here
|
|
JWT_EXPIRES_IN=15m
|
|
JWT_REFRESH_SECRET=your-super-secret-refresh-key-min-32-chars-here
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# ----- External VIN API -----
|
|
VIN_API_URL=https://api.vinprovider.com/v1
|
|
VIN_API_KEY=your-vin-api-key
|
|
VIN_API_TIMEOUT=30000
|
|
|
|
# ----- iyzico Payment -----
|
|
IYZICO_API_KEY=your-iyzico-api-key
|
|
IYZICO_SECRET_KEY=your-iyzico-secret-key
|
|
IYZICO_BASE_URL=https://api.iyzipay.com
|
|
IYZICO_CALLBACK_URL=https://sase.tr/api/payments/callback
|
|
|
|
# ----- Rate Limiting -----
|
|
THROTTLE_TTL=60
|
|
THROTTLE_LIMIT=100
|