Back to forum
Development

Discussion

How the frontend and backend fit together

A practical overview of the Next.js web app, Express API, workspaces, and Docker setup.

Updated Sep 22, 20265 min read

The repository is split into two applications under apps/. The web application is responsible for rendering, locale-aware routes, and user-facing components.

The Express application exposes versioned API endpoints under /api/v1 and owns the content model. This keeps the frontend independent from the eventual database or CMS choice.

At the repository root, npm workspaces and Docker Compose provide a single place to run and manage the full stack.

More from the forum

Back to forum