Backend for LGS1920
Read the shared baseline through AGENTS.md before the backend rules. After cloning, enable the local Git hooks once:
bun run git:hooks:installWhen local guidance links are present, the pre-commit hook copies their target
files into the commit and the post-commit hook restores the links. A standalone
clone therefore contains physical guidance files and has no dependency on the
local Studio directory. The same pre-commit hook updates staged source-file
headers; use bun run headers:check to verify them without changing files.
- Backend count API flat-file analysis
- Backend security baseline
- Public Studio launch registration and contact APIs
- SMTP relay deployment memo
- Bun command reference
- Launch registration administration
The public contact API keeps SMTP credentials, CSRF material, and recipient
mappings in the backend environment only. The local backend/.env is uploaded
by the backend deployment workflow to the remote shared environment; it is not
included in a release archive or Studio build.
The site sends rendered Markdown messages with validated form metadata. The backend owns transport validation, opaque recipient resolution, SMTP delivery, and single-use registration confirmation and cancellation links; it does not own the site's confirmation or cancellation pages or their localized content.