ByteBite Docs
ArchitectureADRs

ADR-010: Frontend Architecture

Status: Accepted

Kontext

Die öffentliche Storefront benötigt SSR/SEO, das interne Restaurant-Dashboard dagegen primär schnelle Interaktion, PWA-Fähigkeit und Realtime.

Entscheidung

  • Storefront: Next.js, primär für SSR/SEO und optional BFF-Funktionalität.
  • Dashboard: React + Vite als SPA/PWA.
  • API: Fastify bleibt die zentrale Business-Logic-Schicht.

Konsequenzen

  • Next.js wird nicht als vollständiges ByteBite-Backend verwendet.
  • Business-Logik bleibt außerhalb des Frontend-Frameworks.
  • Storefront und Dashboard können unabhängig deployed werden.

On this page