Skip to content

Deployment Overview

The platform is deployed across two services:

AppProviderURL
FrontendAWS Amplify (CDN SPA)https://app.intecoglogistech.com
BackendEC2 + PM2 + nginxhttps://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:fresh

These scripts:

  1. Build @my-app/shared
  2. Build @my-app/backend
  3. Reload/start the PM2 process

Intecog Logistech IoT Monitoring Platform