A production-ready backend server with enterprise-grade security, comprehensive logging, and seamless integration with Framer and n8n.
| Endpoint | Method | Description |
|---|---|---|
/api/forms/contact |
POST | General contact form submissions |
/api/forms/business-contact |
POST | Business inquiry submissions with comprehensive data |
/api/forms/business-inquiry |
POST | Detailed business proposal inquiries |
1. Configure Environment Variables
# Copy the example file
cp .env.example .env
# Edit and set your values
ALLOWED_ORIGINS=https://your-framer-site.com
N8N_WEBHOOK_URL=https://your-n8n-instance.com/webhook/id
2. Start the Server
npm install
npm start
3. Test the API
curl http://localhost:3000/health