D1VD1V

Architecture

Environments, promotion model, and where failures usually come from.

Layers

UI LayerAPI LayerData Layer

Environments

  • Preview (dev): test keys, disposable data, fast iteration
  • Production: live keys, stricter security, rollback plan

Common domain model:

  • project-dev.yourdomain.com
  • project.yourdomain.com

Build loop

PromptProject MetaChat BuildPreviewDeploy

Rollback

  • Revert the last change and redeploy.
  • If the failure is configuration (secrets), fix secrets first, then redeploy.

See also

Getting Started · Integrations · API