Skip to content

designsystemsinternational/mailchimp-lambda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailChimp Lambda

A Lambda function for creating MailChimp subscriptions.

Setting up

Set the environment variables in the .env.sample file as environment variables in your Lambda function.

Then generate a .zip file for your lambda function:

$ npm run zip

Add a API Gateway in the Lambda UI, and test like this:

$ curl -X POST -H "Content-Type: application/json" \
-d '{ "email": "[email protected]" }' \
YOUR_API_GATEWAY_URL

About

A Lambda function for subscribing to a MailChimp list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%