Files
Jules bc30c4cede refactor(civi-crm/web): drop CiviCRM integration
* refactor(civi-crm): remove case management pages and API

The Circle Case UI, its API routes and the CiviCRM query layer they used
are gone. Keeps the app shell out entirely: no pages remain, so the
layout, styles and UI dependencies go with them.

* refactor(civi-crm): drop CiviCRM write from the intake endpoint

Submissions now go to Notion and, for the steward form, n8n. The legacy
afformCircleContactForm name was CiviCRM-only and is no longer accepted;
the fields[] payload is ignored.

* chore(web): remove CiviCRM afform generator scripts

They fetched form definitions from the CiviCRM API, which is gone. The
generated files under lib/civicrm are hand-maintained from now on.

* refactor(web): trim funnel form definitions and move to lib/funnel-forms

Fields keep only what renders the form: formKey, label, inputType,
required, repeatable. The CiviCRM entity/join/fieldName plumbing and the
fields[] POST payload are gone, along with the unused circle contact
form.

country was marked required but exempt from validation through its
CiviCRM Address join, so it is now enforced like every other required
select.

* docs: rewrite civi-crm and funnel docs for the intake-only app

Drops the CiviCRM API guide and the case management architecture, and
updates the funnel reference to the Notion + n8n flow.
2026-08-13 22:44:23 +09:00

25 lines
1.1 KiB
Bash

# Web frontend env. Copy to apps/web/.env (or .env.local) and fill in.
# Vercel injects most of these via the project settings — local dev needs
# the file.
# --- Mode --------------------------------------------------------------------
# `production` enables search-engine indexing in lib/metadata.ts.
# `staging` / `development` keep robots set to noindex.
NEXT_PUBLIC_API_MODE=development
# --- URLs --------------------------------------------------------------------
# Public site origin used for canonical / OG / Twitter absolute URLs.
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# Optional. Public Payload CMS origin (REST + GraphQL at /api/...).
# Only set this when web pages need to call CMS at runtime — preview tokens,
# draft fetches, etc. The default content pipeline reads from local files
# under content/** at build time and does NOT need this var.
# NEXT_PUBLIC_CMS_URL=http://localhost:3001
# Public origin of the intake app (apps/civi-crm). Connect forms POST here.
# NEXT_PUBLIC_CIVI_CRM_URL=http://localhost:3002
# hCaptcha sitekey for connect/intake forms (visible checkbox).
# NEXT_PUBLIC_HCAPTCHA_SITEKEY=