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": "john.doe@example.com" }'- Lambda
- API Gateway
- DynamoDB