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
/f/… and the newsletter web archive at /n/…, are allowed through in middleware.ts.
How it reaches the API
Browser requests go toNEXT_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.