Contact Form Worker with Resend Integration
Developed a Cloudflare Worker that handles submissions from a contact form, sending the collected data via the Resend API. This project emphasizes secure handling of environment variables, rate limiting, and automated deployments using GitHub Actions.
Key Features:
- Secure management of sensitive variables through GitHub Secrets.
- Automated deployment to Cloudflare using GitHub Actions.
- Integration with the Resend API for handling email submissions.
- CORS handling to restrict requests from allowed origins.
- Rate limiting to prevent abuse and manage submissions per IP address.
- Error handling and logging for better observability.
Role:
As the sole developer of this project, I:
Architected and implemented the Cloudflare Worker using JavaScript.
- Configured GitHub Actions for automated deployment.
- Managed environment variables securely using GitHub Secrets.
- Implemented rate limiting and error handling mechanisms.
- Created a user-friendly HTML form for submissions.
Let's build something amazing together
Ready to bring your ideas to life with cutting-edge web technologies?