Deployment Overview
The platform is deployed across two services:
| App | Provider | URL |
|---|---|---|
| Frontend | AWS Amplify (CDN SPA) | https://app.intecoglogistech.com |
| Backend | EC2 + PM2 + nginx | https://app.intecoglogistech.com/api/v1/ |
Both share the same domain — nginx routes /api/v1/* requests to the Express backend on port 3500, and all other requests serve the Amplify-hosted SPA.
Quick Deploy Reference
bash
# Zero-downtime backend redeploy (use for regular updates)
pnpm deploy:backend
# Fresh start (first deploy or ecosystem.config.cjs changed)
pnpm deploy:backend:freshThese scripts:
- Build
@my-app/shared - Build
@my-app/backend - Reload/start the PM2 process
