Files
fabric_trade_server/.env.example
T
mohmdsdgandCursor 9f0422c1db Add NestJS fabric trade API with Prisma and Docker
Provide backend for admin and user apps with Postgres, migrations, seed data, and docker-compose for LiteSpeed reverse-proxy deployment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 20:26:39 +03:30

17 lines
368 B
Bash

# Local / host Prisma
DATABASE_URL="postgresql://fabric:fabric123@localhost:5432/fabric_trade?schema=public"
# Docker Compose
POSTGRES_USER=fabric
POSTGRES_PASSWORD=fabric123
POSTGRES_DB=fabric_trade
POSTGRES_PORT=5432
API_PORT=3000
RUN_SEED=false
JWT_SECRET="fabric-trade-dev-secret-change-me"
JWT_EXPIRES_IN="7d"
PORT=3000
MOCK_OTP_CODE="123456"
OTP_TTL_MINUTES=5