Backend services for iBuildWith.ai website.
- Endpoint:
/.netlify/functions/contact-form - Method: POST
- Purpose: Handles contact form submissions and sends emails via Resend
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env # Edit .env with your actual values -
Deploy to Netlify:
- Connect this repo to Netlify
- Set environment variables in Netlify dashboard
- Deploy
Required in Netlify dashboard:
RESEND_API_KEY: Your Resend API keyRECIPIENT_EMAIL: Email address to receive form submissions
The function accepts requests from:
- Max 5 submissions per IP per hour
- Resets on function cold start
more to come.