Skip to main content
The Xem client is the web app in the client/ folder of the monorepo. It talks to the Go API in server/ and provides every screen in Xem: campaigns, newsletters, templates, automations, audience and CRM, the inbox, analytics, the Ask Xem assistant and workspace settings.

Stack

Folders

Public pages that need no sign-in, such as hosted forms at /f/… and the newsletter web archive at /n/…, are allowed through in middleware.ts.

How it reaches the API

Browser requests go to NEXT_PUBLIC_API_URL. On a self-hosted install this is /api/v1, which your reverse proxy forwards to the backend. Server-side code uses INTERNAL_API_URL to reach the backend directly. See Client setup for the variables.