ForgePM — Orlando Enterprise

Run & Deploy

← Back to outcome

Run & Deploy

Requirements

  • Node.js >= 22.5 (uses the built-in node:sqlite). Verified on v24.12.

Run locally

cd app
npm start
# ForgePM listening on http://127.0.0.1:4317

First run seeds a demo organization (Sunset Coast Rentals). The database lives at app/data/forgepm.db by default.

Configuration (environment)

VariableDefaultPurpose
FORGEPM_PORT4317HTTP port
FORGEPM_HOST127.0.0.1Bind address
FORGEPM_DBdata/forgepm.dbSQLite path
FORGEPM_SESSION_SECRETrandom per processSet in production so sessions survive restarts
FORGEPM_SESSION_TTL_MS12hSession lifetime
NODE_ENVdevelopmentproduction adds the Secure cookie flag

Operations

npm run migrate     # apply DB migrations (idempotent)
npm run backup      # checkpoint WAL + copy DB to backups/
npm run verify      # full 70-check verification suite

Production hardening path (the disclosed seams)

This reproducible build runs single-node. For a true production go-live:

  1. TLS — terminate HTTPS at a reverse proxy/load balancer; set

NODE_ENV=production and a strong FORGEPM_SESSION_SECRET.

  1. Identity — wire the SSO seam (sso_subject) to your OIDC/SAML IdP and

enforce MFA for accounts flagged mfa_enabled.

  1. Database — swap node:sqlite for managed Postgres; the repository

interface is the single integration point. Define RPO/RTO and automate backups.

  1. Scale & HA — run multiple stateless app nodes behind the load balancer

(sessions already live in the database).

  1. Payments — connect the payment seam (Stripe/Plaid or ACH) to the

recordPayment flow.

  1. Observability — ship structured logs and /metrics to your stack;

alert on forgepm_responses_5xx_total and forgepm_auth_failures_total.