A lambda function to handle mailchimp subscribes to be deployed in Vercel
Install & run the project with:
yarn install && yarn run micro
Download and install Vercel cli and simply run:
$ vercel
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": "...."
}
This package supports CORS
Released under the MIT License