1.0.1 • Published 4 years ago

vercel-mailchimp-lambda v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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