vercel-mailchimp-lambda
v1.0.1
Published
A lambda function to handle mailchimp subscribes to be deployed in [Vercel](https://vercel.com/)
Downloads
2
Readme
vercel-mailchimp-lambda
A lambda function to handle mailchimp subscribes to be deployed in Vercel
Development
Install & run the project with:
yarn install && yarn run micro
Deploy to vercel
Download and install Vercel cli and simply run:
$ vercel
Env variables
After configuring your audience in Mailchimp you should set up the following keys in your Vercel project dashboard:
API_KEY
LIST_ID
You can also define your env variables in vercel.json
as such:
{
...
"env": {
"API_KEY": "....",
"LIST_ID": "...."
}
Cross-Origin Resource Sharing (CORS)
This package supports CORS
License
Released under the MIT License