Web

Set up and run the Reloop marketing web app locally.

Public marketing site — landing pages, pricing, and product content.

Run bun setup once from the monorepo root before starting individual apps.

Overview

PropertyValue
Directoryapps/frontend/web
Port3000
Local URLhttps://local.reloop.sh
Direct URLhttp://localhost:3000
StackNext.js · React 19 · Tailwind CSS

Quick start

From the monorepo root (after bun setup):

bun fe:web:dev

Or start every frontend together:

bun frontend:dev

Turbopack serves the app on port 3000. Prefer https://local.reloop.sh when Caddy is running.

Use https://local.reloop.sh, not localhost:3000, when testing flows that share cookies or link into the dashboard.

Environment

Committed local defaults live in apps/frontend/web/.env (and .env.dev). Fresh clones already have them; bun env:setup / bun setup recreate or merge missing keys.

NEXT_PUBLIC_URL=https://local.reloop.sh
# Must match TRACKING_SECRET in the mail backend and REDIRECT_SECRET in auth/email backends
REDIRECT_SECRET=reloop_tracking_secret_default_123

# Rybbit analytics (optional)
NEXT_PUBLIC_RYBBIT_HOST=https://app.rybbit.io
NEXT_PUBLIC_RYBBIT_SITE_ID=reloop-web
VariableRequiredDefault
NEXT_PUBLIC_URLNohttps://reloop.sh — canonical site URL for metadata and OG tags
REDIRECT_SECRETNoShared redirect/tracking secret for local mail links
NEXT_PUBLIC_RYBBIT_HOSTNoRybbit analytics host
NEXT_PUBLIC_RYBBIT_SITE_IDNoRybbit site identifier

Commands

CommandDescription
bun fe:web:devStart dev server with Turbopack
bun run --filter=fe-web buildCompile production bundle
bun run --filter=fe-web startRun production build
bun run --filter=fe-web lintRun ESLint checks

Next

Was this page helpful?

Edit this page