Serverless Components enable composing smaller functionality into larger applications. This walkthrough demonstrates building a landing page by combining three components: a Netlify site for hosting a React app, an AWS Lambda function that integrates with Mailchimp for email signups, and a REST API component using API Gateway to expose the Lambda function. The tutorial covers setting up each component in serverless.yml, passing environment variables between components, and deploying the complete stack with a single command.

12m read timeFrom serverless-dev.com
Post cover image
Table of contents
Getting startedComposing Components1. Adding Netlify site3. Adding the Rest API to expose Lambda function4. Expose the API endpoint to the Netlify siteDeploy!Summary

Sort: