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:
@@ -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
|
||||
Reference in New Issue
Block a user