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

Setting up the Amplify Admin UI (beta)

The Admin UI is still in beta (in early 2021), which means some of the features are still in preview version. The Admin UI is like a traditional CMS where you can maintain the content of your website. You can create a data model directly from the Admin UI, but it might crash the app if the model between the app in production and the admin are different. So, it is safer to update and create a data model when you are building the app. Try not to update the data model with the app that is in production. Apart from that, you can grant access to your system admins, content creators, content moderators, and so on so that they can maintain the content of your Amplify app. This saves you hundreds of hours building the CMS system from scratch. Let's set up the Admin UI:

  1. Go to the Amplify Console of your Amplify app, select Admin UI management from the left-hand side menu, and click on the toggle for Enable admin UI (All environments) to switch...