next-site

next-site An architecture diagram generated by Archify. Visitor · browser · Architecture component Visitor browser Owner · /admin · Architecture component Owner /admin Storefront · src/app/(app) · Architecture component Storefront src/app/(app) Admin + /api · src/app/(payload) · Architecture component Admin + /api src/app/(payload) Payload · collections · hooks · Architecture component Payload collections · hooks PostgreSQL · schema · migrations · Architecture component PostgreSQL schema · migrations Media volume · MEDIA_DIR · Architecture component Media volume MEDIA_DIR SMTP · orders · forms · Architecture component SMTP orders · forms OpenObserve · traces · logs · RUM · Architecture component OpenObserve traces · logs · RUM HTTPS sign in Local API OTel Legend Frontend Backend Database Security External

One app

  • • Payload runs inside the Next.js server
  • • No separate API to build or deploy
  • • One Docker image, built without a database

Owner-edited

  • • Pages from blocks, menus, logo, forms
  • • Edits show on the next page view
  • • With the shop: products, orders, payments

Schema

  • • Payload owns the tables
  • • Dev pushes changes; prod runs migrations
  • • Create the first migration before deploying