About this project

This project is an NPS measurement platform based on Cloudflare Workers and D1 (SQLite). Within a single project, it handles everything from receiving Webhooks from Salesforce and sending emails via SendGrid to providing widgets for embedding in LPs. Key functions and features are as follows: - Question Management: Equipped with a synchronization function from Google Spreadsheet to D1, allowing administrators to easily change questions. - LP Widget: Provides a Vanilla JS widget using Shadow DOM, enabling easy embedding into external sites. - Automation: Includes periodic configuration synchronization via Workers Cron Trigger and an automatic retry function for failed emails. - Infrastructure Management: Declaratively manages GCP and Cloudflare resources using Terraform. - Quality Control: Integrates Biome for Lint/Format, Vitest for unit testing, Playwright for E2E testing, and Lighthouse CI for performance measurement into the CI pipeline.