Description
Book SynopsisLearn the fundamentals of serverless applications and how to take advantage of time-tested Amazon Web Services (AWS) to build scalable apps. This book shows you how to work with the key features of your applications with minimum code, simple CLI commands and one-click deployments.
You''ll see how to manage authentication, standard UI components, database storage, filesystem, CI/CD pipeline and more. You''ll also examine the architecture, strengths, scalability, and limitations of serverless, and how to use AWS Amplify effectively. You will use tools including React, Cognito, GraphQL, DynamoDB, Kinesis, and Sagemaker.
AWS Amplify is the fastest and easiest way to build serverless web and mobile apps at scale, comprising tools and services that work independently and can be wired together to build scalable apps.
What You''ll Learn
- Build GraphQL and REST APIs
- Model data with Amplify Datastores
- Set up a CI/CD
Table of Contents
Chapter 1: Introduction to Serverless
- What is Serverless – History, present and beyond
- Architecture, strengths, scalability and limitations
- What is AWS Amplify
Chapter 2: UI Component & Authentication
- Amplify UI component introduction
- React UI component
- What is AWS Cognito
- How it works
- Setting up authentication with Cognito
- UI forms and implementation for sign in, signup, signout, confirm and forget
Chapter 3 : API request and database
- Quick introduction to GraphQL and REST
- Make HTTP requests with GraphQL using Amplify
- Getting and displaying data from public sources
- Making HTTP requests with REST using Amplify and API gateway
- Getting and displaying data from public sources
Chapter 4 : Lambda Functions
- What is AWS Lambdas?
- Invocation types and event sources
- Creating new REST API and trigger lambda function
- Deploying lambda functions
- Using lambda layers
Chapter 5 : Storage and Data stores
- Setting up a database (DynamoDB)
- CRUD functions with UI to API to interact with Database
- Amplifying Datastores
- Modeling the datastore
- Storing and retrieving data from Amplify datastores
- Storing and retrieving objects like photos, videos using S3
Chapter 6 : Analytics
- Recording events
- Tracking session
- Making sense of data and analyze with Kinesis
Chapter 7 : CI/CD
- Deployment via CLI
- Deployment via Git
- Feature branch deployment
- Hosting static apps
- Adding password protection for non-production releases
Chapter 8 : Amplify Supplements
- Building engaging apps having interactive bots with lex
- Boosting your application with AI/ML capability using Sagemaker
- Amplify beyond react web apps