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)
Section 1: Getting Ready
Section 2: Building a Photo Sharing App
Section 3: Production Readiness

Enabling email notifications

The Amplify pipeline is very handy for CI/CD, but what if the build time is getting longer due to our application getting bigger? We don't want to sit and wait for the build result to come back while working on other tasks during the build. How can we get notified when a build has finished, regardless of whether it's failed or been successful? The Amplify pipeline can do this for us. All we need to do is go to the Notification section of Amplify Console and add our email address there so that we get a notification. To enable email notifications, follow these steps:

  1. Click on the Add notification button or Manage notifications:

    Figure 7.15 – Email notifications

    After clicking on Manage notifications or the Add notification button, you will see the text field for the email address and a drop - down menu for the branches. You can add more than one email address by clicking the Add Email button for more input fields.

  2. Enter the email...