Handover workspace

ERS, Todo, OfferReview, and Docu in one view

Imported from live server docs, code structure, and deployment notes.

Apr 3, 2026, 12:38 PM

ERS

Runtime Context

No summary found yet.

_generated/01-runtime-context.md

Updated Apr 3, 2026, 12:38 PM

Runtime Context

Deployment

  • Tool: ERS
  • Domain: review.r32a.com
  • Framework: Next.js
  • Runtime summary: Next.js 16 + Prisma
  • Code path: /srv/apps/ers/prod
  • Working directory: /srv/apps/ers/prod
  • Environment file: /etc/ers-prod.env
  • Repo: git@github.com:rrzli/ers.git
  • Branch: main
  • Last commit: a82cd01 (2026-02-20)
  • Health: healthy

Services

ServiceActiveEnabled
ers-prod.serviceactiveenabled

Ports

LabelAddressStatus
App port127.0.0.1:3002listening

Important Environment Keys

  • NODE_ENV
  • HOST
  • PORT
  • DATABASE_URL
  • AUTH_JWT_SECRET
  • AUTH_COOKIE_NAME
  • UPLOAD_BASE_DIR
  • UPLOAD_MAX_MB
  • RESEND_API_KEY
  • RESEND_FROM_EMAIL
  • EMAIL_FROM
  • OPENAI_API_KEY
  • OPENAI_MODEL
  • INTERNAL_API_SECRET

Data Paths

  • /srv/apps/ers/prod

Start Commands

  • npm start -- --hostname 127.0.0.1 --port 3002

Common Support Commands

  • cd /srv/apps/ers/prod
  • git -C /srv/apps/ers/prod status -sb
  • git -C /srv/apps/ers/prod log -1 --oneline
  • systemctl status ers-prod.service
  • journalctl -u ers-prod.service -n 100 --no-pager
  • systemctl restart ers-prod.service