Commit Graph
8 Commits
Author SHA1 Message Date
mohmdsdgandCursor 345a4a4708 Add SMS OTP, harden auth, and fix order/checkout server bugs.
Ship 4-digit OTP with rate-limit attempts, Tehran-safe expiry/rass math, larger JSON body limit for check images, and safer order pricing/status guards. Include rebuilt dist for prebuilt deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 14:55:26 +03:30
mohmdsdgandCursor 2d513a81af Expose API on host port 8585 for LiteSpeed proxy
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 09:18:08 +03:30
mohmdsdgandCursor 6ed952cc5d Extract deploy bundle inside Dockerfile so server needs no tar command
Server workflow is only git pull and docker compose up --build; env still comes from .env.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 22:00:15 +03:30
mohmdsdgandCursor 67cfc17079 Align main compose with server .env env_file loading
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:29:32 +03:30
mohmdsdgandCursor ad236b7357 Switch npm mirror to npmmirror after IranServer 404s
IranServer npm mirror lacks packages; use registry.npmmirror.com which matches npmjs URL layout for lockfile rewrites.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 21:00:13 +03:30
mohmdsdgandCursor 5e973d7f2c Use Iranian npm mirror and rewrite package-lock URLs
npm ci ignores registry config when lockfile points at registry.npmjs.org; rewrite resolved URLs to mirror.iranserver.com before install.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 20:54:35 +03:30
mohmdsdgandCursor 5ed1b83457 Fix npm registry ARG so builds use npmmirror by default
ARG after FROM was empty without an explicit default, so npm ci hit the slow/blocked official registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 20:49:49 +03:30
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