Serverless service which gives you the ability to store E-Mail addresses.
Make sure that you use Serverless v1.
- Run
serverless install --url https://github.com/pmuens/serverless-landingpage-backendto install the service in your current working directory - Next up cd into the service with
cd serverless-landingpage-backend - Run
npm install - Deploy with
serverless deploy
Simply perform a POST request against the exposed endpoint:
curl -X POST https://XXXX.execute-api.region.amazonaws.com/dev/email --data '{ "address": "[email protected]" }'- Lambda
- API Gateway
- DynamoDB