Initial commit: Sase.tr VIN Sorgulama Platformu
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>
This commit is contained in:
33
.env.example
Normal file
33
.env.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# ===========================================
|
||||
# Sase.tr Environment Configuration
|
||||
# ===========================================
|
||||
|
||||
# ----- Database -----
|
||||
DATABASE_URL=mysql://root: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
|
||||
JWT_EXPIRES_IN=15m
|
||||
JWT_REFRESH_SECRET=your-super-secret-refresh-key-min-32-chars
|
||||
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://sandbox-api.iyzipay.com
|
||||
IYZICO_CALLBACK_URL=https://sase.tr/api/payments/callback
|
||||
|
||||
# EMEX VIN Service
|
||||
EMEX_TIMEOUT=60000
|
||||
EMEX_DEBUG=false
|
||||
EMEX_SCRAPER_PATH=scripts/emex-vin-scraper.js
|
||||
Reference in New Issue
Block a user