this is a little serverless service to subscribe an email to a mailchimp mailing list with AWS Lambda.
- Install the packages by running
npm install
- create a local
config.yml
by copiing theconfig.yml.exemple
and replacing the variable in it. - Add you testing email the the
mocks/subscibe.json
files. - Run the commande
serverless invoke local --function subscribe --path mocks/subscribe.json
. You should be subscribe to the mailing list you specified in theconfig.yml
file.