Skip to content

feat(auth): Brevo transactional email + Privacy/Terms pages - #14

Merged
CodeWithEugene merged 2 commits into
mainfrom
feature/brevo-email-legal-pages
Sep 24, 2026
Merged

CodeWithEugene merged 2 commits into
mainfrom
feature/brevo-email-legal-pages

Conversation

@CodeWithEugene

Copy link
Copy Markdown
Owner

Summary

  • Replaces the unconfigured Resend integration with Brevo for transactional email, behind the existing lib/ports/mail.ts port — verified sender info@hackvillage.xyz on the DNS-authenticated hackvillage.xyz domain. No call-site changes (auth verification/reset emails, media-deadline reminders).
  • Adds /privacy and /terms pages, grounded in the platform's actual data flows and sub-processors (Paystack, Vercel, Neon, Cloudflare, Brevo, Polygon) from docs/BUILD_PLAN.md.
  • Adds a "Legal" section to the site footer linking both pages.
  • BREVO_API_KEY and EMAIL_FROM added to Vercel (Production + Preview).
  • Docs (BUILD_PLAN.md, GO_LIVE_CHECKLIST.md) and .env.example updated from Resend to Brevo.

Test plan

  • pnpm typecheck, pnpm lint clean
  • pnpm test:unit — 98/98 passing
  • pnpm build succeeds, /privacy and /terms present in route output
  • Verified info@hackvillage.xyz sender and hackvillage.xyz domain are authenticated via the Brevo API directly
  • Manually reviewed both pages and the updated footer in the browser (dev server)

Replaces the unconfigured Resend integration with Brevo (verified sender
info@hackvillage.xyz on the authenticated hackvillage.xyz domain) behind
the existing lib/ports/mail.ts anti-corruption layer, so auth verification,
password reset, and media-reminder emails all move providers with no
call-site changes.

Also adds /privacy and /terms marketing pages (linked from a new footer
"Legal" section), grounded in the platform's actual data flows and
sub-processors documented in docs/BUILD_PLAN.md.
The earlier pnpm migration pinned CI to Node 20 while pnpm/action-setup
installs pnpm@11.21.0, which requires Node >=22.13 and crashes on
node:sqlite otherwise. Bumps CI, package.json engines.node, and the
README/CONTRIBUTING prerequisites to match reality.
@CodeWithEugene
CodeWithEugene merged commit ff427ef into main Sep 24, 2026
5 checks passed
@CodeWithEugene
CodeWithEugene deleted the feature/brevo-email-legal-pages branch September 24, 2026 05:39
Repository owner deleted a comment from vercel Bot Sep 25, 2026

This branch was successfully deployed

1 active deployment
Preview — 44229c6f Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant