Book Image

Rapid Application Development with AWS Amplify

By : Adrian Leung
Book Image

Rapid Application Development with AWS Amplify

By: Adrian Leung

Overview of this book

AWS Amplify is a modern toolkit that includes a command line interface (CLI); libraries for JS, iOS, and Android programming; UI component libraries for frameworks like React, Angular, and Vue.js for web development, and React Native and Flutter for mobile development. You'll begin by learning how to build AWS Amplify solutions with React and React Native with TypeScript from scratch, along with integrating it with existing solutions. This book will show you the fastest way to build a production-ready minimum viable product (MVP) within days instead of years. You'll also discover how to increase development speed without compromising on quality by adopting behavior-driven development (BDD) and Cypress for end-to-end test automation, as well as the Amplify build pipeline (DevOps or CI/CD pipeline) to ensure optimal quality throughout continuous test automation and continuous delivery. As you advance, you'll work with React to determine how to build progressive web apps (PWAs) with Amplify and React Native for cross-platform mobile apps. In addition to this, you'll find out how to set up a custom domain name for your new website and set up the AWS Amplify Admin UI for managing the content of your app effectively. By the end of this AWS book, you'll be able to build a full-stack AWS Amplify solution all by yourself.
Table of Contents (14 chapters)
1
Section 1: Getting Ready
4
Section 2: Building a Photo Sharing App
9
Section 3: Production Readiness

What this book covers

Chapter 1, Getting Familiar with the Amplify CLI and Amplify Console, familiarizes you with the Amplify CLI and Amplify Console so you can decide how to set up and configure a new or existing project with AWS Amplify. You will learn how to integrate Amplify with existing projects with the most popular frameworks.

Chapter 2, Creating a React App with AmplifyJS and TypeScript, explains how to create and launch an app with React with TypeScript within no time. You will also create a React app at the same time with some small adjustments.

Chapter 3, Pluggable Amplify UI components, covers how to add pre-built Amplify UI Components to your app, such as a user signup form or a photo picker.

Chapter 4, User Management with Amplify Authentication, explains how to add user management to your app with Amplify Authentication and Amplify UI Components.

Chapter 5, Creating a Blog Post with Amplify GraphQL, covers advanced GraphQL techniques to insert and query data between users and DynamoDB with queries, mutations, and subscriptions.

Chapter 6, Uploading and Sharing Photos with Amplify Storage, explains how to add the photo upload feature to the app with the ready-made React Photo Picker UI component and AWS Amplify Storage, as well as how to list images with a photo album.

Chapter 7, Setting Up an Amplify Pipeline, covers the setup of the DevOps pipeline with Amplify, including adding the YAML config file to the repository, troubleshooting techniques, and different ways to trigger the pipeline.

Chapter 8, Test Automation with Cypress, explains how to set up your project with Cypress and Cucumber, how to write executable User Stories in Gherkin, and how to write test cases as Step Definitions with TypeScript.

Chapter 9, Setting Up a Custom Domain Name and the Amplify Admin UI, shows you how to set up a custom domain name with your Amplify project on the Amplify Console with Route 53 so that you can tell the world about the new photo-sharing app that you have just created.