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>
This commit is contained in:
2026-08-05 20:26:39 +03:30
co-authored by Cursor
commit 9f0422c1db
86 changed files with 18369 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# 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