Create an Application Backend in Clicks with the Amplify Admin UI

Rate this content
Bookmark

There's a lot that goes into building a modern application: the frontend for users, data persistence, user authentication and authorization, business logic, cloud deployment, and much more. The AWS Amplify Admin UI allows users to create and deploy an offline-ready application backend in clicks and then extend it with code, lowering the complexity of fullstack development for frontend and mobile developers. We'll build a fullstack application backed multiple AWS services including Cognito, Appsync, and S3 in minutes.

This talk has been presented at JSNation Live 2021, check out the latest edition of this JavaScript Conference.

FAQ

AWS Amplify Admin UI is a visual tool that allows developers to create and manage backend schemas directly in the browser, simplifying the process of backend web development for front-end and mobile developers.

You can test your application locally by creating a backend schema using the AWS Amplify Admin UI, then pulling the sandbox ID to your local environment using the Amplify CLI, without needing an AWS account. This allows for local testing without incurring cloud charges.

AWS Amplify includes a command-line interface for provisioning cloud resources, the Amplify Admin UI for managing backend visually, Datastore for handling offline data synchronization, and various AWS services like AppSync and DynamoDB for backend functionalities.

Low-code development involves minimal coding to set up applications, focusing instead on visual development tools that generate code. AWS Amplify supports this approach by enabling developers to build applications faster and with less custom code, which can be particularly beneficial for startups and expanding the developer community.

AWS Amplify supports multiple development environments by allowing developers to manage different branches and environments (e.g., production, test, development) within the Amplify framework. This functionality integrates with Git for version control and environment management.

AWS AppSync is a managed GraphQL service that facilitates efficient data synchronization and communication between your application's frontend and backend. It plays a crucial role in AWS Amplify by managing real-time data updates and offline data synchronization.

The AWS Amplify Admin UI allows developers to visually create and manage backend resources, such as database schemas and authentication rules, without deep backend knowledge. It provides a user-friendly interface that simplifies complex backend processes.

Yes, you can initially develop and test applications locally using the AWS Amplify Admin UI and Amplify CLI without an AWS account. However, for deploying the application to the cloud and enabling full functionalities, an AWS account is required.

Ali Spittel
Ali Spittel
29 min
10 Jun, 2021

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Today's talk introduces the AWS Amplify Admin UI and low code development, which aims to simplify backend web development. The AWS Amplify Admin UI is a powerful tool backed by AWS services, allowing users to create a database schema visually and test locally. The Amplify CLI and Datastore enable developers to link the backend to their code easily. Low code development in Amplify makes coding more accessible and fun. Amplify offers benefits such as direct use of AWS services, extensibility, and excellent GraphQL service. Other interesting topics include server-side rendering support, environmental management, and support for Node.js and Python in AWS Amplify.

1. Introduction to AWS Amplify Admin UI and Low Code

Short description:

Today's talk is about the AWS Amplify Admin UI, which allows for backend web development with ease. AWS Amplify is a set of tools targeted at front-end and mobile developers. It combines frameworks and serverless to make web development easier. Another exciting development is low code, which aims to generate code and reduce the need for repetitive tasks. This revolution in web development will make developers' lives easier and more efficient.

Hey, today I'm going to be talking about the AWS Amplify Admin UI, which allows you to do backend web development in clicks. So, I'm Alyse Fiddle, I am a Senior Developer Advocate who leads and manages the AWS Amplify Developer Advocacy Team, and I get to work on this admin UI as a part of my job, which I find really, really exciting. I feel really lucky to be able to do so.

So, our goals for today's talk is to build a fun application, and talk about some underlying AWS services that go into this admin UI, and then also learn a little bit about Amplify. So first we're going to go ahead and create some data, we're going to model a backend schema, then we're going to test it out locally, so you can do this step without having an AWS account or anything like that, and then we're going to deploy it to the Cloud so that anybody could use our application, and then we're going to manage our data using the admin UI.

So AWS Amplify is a set of AWS tools that is targeted specifically towards front-end and mobile developers. So I know AWS traditionally has keynote towards mostly back-end stuff, but this is going to make it so that developers like me or you who focus mostly on the front-end could focus on it. And so we started out with the AWS Amplify command-line interface, which allows you to provision these cloud resources using your command-line. More recently, we've also rolled out this admin UI, which is a little bit more friendly to somebody who wants to work in the browser or who wants to use a visual tool to create their back-end first instead of starting in the command-line.

So, full-stack web development is evolving. So at the beginning of my career, the web was going through this transition where we started using more and more frameworks like Ruby on Rails and Django in order to quickly create back-ends for our application. And before that, it went through this transition where it was no longer static and people started using PHP and cold fusion to plug variables into their HTML templates and make things a little bit more dynamic using database data. And then, even more recently, there has been this serverless revolution which has made it so that you no longer need to manage as much as your infrastructure as you used to have to. And AWS Amplify combines a lot of the developments from frameworks and serverless and brings the best of them together to make web development a little bit easier. And I have a lot of fun working with these types of things because it makes it so that I can build faster.

And a new revolution within web development that I'm really excited about is low code. And I think it's a lot of new for developers and feel a little bit of a scary term because it's like, is their job going to go away? Is it going to look radically different? I don't think so. I think we've always been developing tools to make our lives easier as developers and I see this as the next set of that, that we do code generation using these frameworks already. Like if you run NPX create next app, it creates a bunch of files for you, or if you create a new rails app, it does the same. And it starts to generate your basic template for your app so that you don't need to write the boring stuff over and over again. I think code generation goes a step further than that, where you can provision resources and create schemas based off of this code generation and make it so that you get to work on the fun business logic instead of the boilerplate that goes into app after app after app. And it's kind of a solved problem. Like it's fun to work on new things, it's less fun to work on things that have been solved a bunch of times. So that's where I get really excited about low code where maybe we can have code that writes other code and we have to do less of that ourselves as developers. So when I think of low code, I think of the tools that are going to allow us to develop in a more efficient way that we're going to meet developers where they're at, where code is truly being generated. There's not a black box or anything like that, and we make developers lives easier. So I'm really excited about that. The idea that we can write one line of code instead of hundreds of lines of code or use a command line to generate some code or even a user interface. So the less code, the better in a lot of ways as well, because code is really expensive. It leads to maintenance and bugs and I talk to a lot of startup founders and the most expensive thing early on is software engineers.

Read also

2. Creating a Database Schema and Testing Locally

Short description:

Having solutions that make it so that you have to write less custom code will make it so that more people can create startups and be developers. The AWS Amplify Admin UI is not a flimsy toy, but a powerful tool backed by AWS services. To follow along, go to sandbox.amplifyapp.com. Our first step is to create a database schema using a visual interface. You can add fields, make them required, and create relationships between your data. Finally, you can test locally and choose the type of application you want to create.

And so I think that code is obviously very, very powerful and incredibly important, and I know I've faced my career around it. But having solutions that make it so that you have to write less custom code will make it so that more people can create startups and more people can be developers as well and maybe evolve who can be a developer.

So empowering those developers with less code and then also thinking about the developers first still within that. And again, this admin UI that I'm going to show you is not this flimsy toy. That's not extensible or anything like that. It has the power of AWS behind it. It's got the same services provision that you would use without this tool. And so definitely not a toy, it scales as you do.

So if you want to follow along with me, I'm going to go to sandbox.amplifyapp.com. And I did everything with pre-recorded videos so that the demo gremlins don't come out and get me. But if you want to follow along, again, sandbox.amplifyapp.com, and you can access this afterwards in order to start your app.

So our first step is going to be to create a database schema. And we're going to use a visual interface to do that. So here I went to sandbox.amplifyapp.com and then clicked get started. And then I'm going to select data, you can also start with authentication or storage, but I think data makes a lot of sense. And then start with a blank schema. I'm first going to create a course and then add a title and a description. And both of these will be strings. I'll also create a video. So we're going to create a video course platform of sorts here where there's courses that have videos that belong to them. So the video will also have a title, a description and then an order. And this time it will be an integer. You can see all the different fields that popped up like date, time and all that. And you can also make fields required by clicking on them and then clicking is required. You can also make fields into array fields as well as if you want to store multiple things. Then you can add relationships between your data. So one course to many videos. So a course will have many videos within it, but you can also make many to many relationships or one to one relationships. Then you can click test locally in your app and you get to pick between different types of applications. So I'm a JavaScript developer, I like React, so I'm going to create a React app.

QnA

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Levelling up Monorepos with npm Workspaces
DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Levelling up Monorepos with npm Workspaces
Top Content
NPM workspaces help manage multiple nested packages within a single top-level package, improving since the release of NPM CLI 7.0. You can easily add dependencies to workspaces and handle duplications. Running scripts and orchestration in a monorepo is made easier with NPM workspaces. The npm pkg command is useful for setting and retrieving keys and values from package.json files. NPM workspaces offer benefits compared to Lerna and future plans include better workspace linking and adding missing features.
Automating All the Code & Testing Things with GitHub Actions
React Advanced 2021React Advanced 2021
19 min
Automating All the Code & Testing Things with GitHub Actions
Top Content
We will learn how to automate code and testing with GitHub Actions, including linting, formatting, testing, and deployments. Automating deployments with scripts and Git hooks can help avoid mistakes. Popular CI-CD frameworks like Jenkins offer powerful orchestration but can be challenging to work with. GitHub Actions are flexible and approachable, allowing for environment setup, testing, deployment, and custom actions. A custom AppleTools Eyes GitHub action simplifies visual testing. Other examples include automating content reminders for sharing old content and tutorials.
Fine-tuning DevOps for People over Perfection
DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Fine-tuning DevOps for People over Perfection
Top Content
DevOps is a journey that varies for each company, and remote work makes transformation challenging. Pull requests can be frustrating and slow, but success stories like Mateo Colia's company show the benefits of deploying every day. Challenges with tools and vulnerabilities require careful consideration and prioritization. Investing in documentation and people is important for efficient workflows and team growth. Trust is more important than excessive control when deploying to production.
Why is CI so Damn Slow?
DevOps.js Conf 2022DevOps.js Conf 2022
27 min
Why is CI so Damn Slow?
Slow CI has a negative impact on productivity and finances. Debugging CI workflows and tool slowness is even worse. Dependencies impact CI and waiting for NPM or YARN is frustrating. The ideal CI job involves native programs for static jobs and lightweight environments for dynamic jobs. Improving formatter performance and linting is a priority. Performance optimization and fast tools are essential for CI and developers using slower hardware.
The Zen of Yarn
DevOps.js Conf 2022DevOps.js Conf 2022
31 min
The Zen of Yarn
Let's talk about React and TypeScript, Yarn's philosophy and long-term relevance, stability and error handling in Yarn, Yarn's behavior and open source sustainability, investing in maintenance and future contributors, contributing to the JavaScript ecosystem, open-source contribution experience, maintaining naming consistency in large projects, version consistency and strictness in Yarn, and Yarn 4 experiments for performance improvement.
Atomic Deployment for JS Hipsters
DevOps.js Conf 2024DevOps.js Conf 2024
25 min
Atomic Deployment for JS Hipsters
This Talk discusses atomic deployment for JavaScript and TypeScript, focusing on automated deployment processes, Git hooks, and using hard links to copy changes. The speaker demonstrates setting up a bare repository, configuring deployment variables, and using the post-receive hook to push changes to production. They also cover environment setup, branch configuration, and the build process. The Talk concludes with tips on real use cases, webhooks, and wrapping the deployment process.

Workshops on related topic

Deploying React Native Apps in the Cloud
React Summit 2023React Summit 2023
88 min
Deploying React Native Apps in the Cloud
WorkshopFree
Cecelia Martinez
Cecelia Martinez
Deploying React Native apps manually on a local machine can be complex. The differences between Android and iOS require developers to use specific tools and processes for each platform, including hardware requirements for iOS. Manual deployments also make it difficult to manage signing credentials, environment configurations, track releases, and to collaborate as a team.
Appflow is the cloud mobile DevOps platform built by Ionic. Using a service like Appflow to build React Native apps not only provides access to powerful computing resources, it can simplify the deployment process by providing a centralized environment for managing and distributing your app to multiple platforms. This can save time and resources, enable collaboration, as well as improve the overall reliability and scalability of an app.
In this workshop, you’ll deploy a React Native application for delivery to Android and iOS test devices using Appflow. You’ll also learn the steps for publishing to Google Play and Apple App Stores. No previous experience with deploying native applications is required, and you’ll come away with a deeper understanding of the mobile deployment process and best practices for how to use a cloud mobile DevOps platform to ship quickly at scale.
MERN Stack Application Deployment in Kubernetes
DevOps.js Conf 2022DevOps.js Conf 2022
152 min
MERN Stack Application Deployment in Kubernetes
Workshop
Joel Lord
Joel Lord
Deploying and managing JavaScript applications in Kubernetes can get tricky. Especially when a database also has to be part of the deployment. MongoDB Atlas has made developers' lives much easier, however, how do you take a SaaS product and integrate it with your existing Kubernetes cluster? This is where the MongoDB Atlas Operator comes into play. In this workshop, the attendees will learn about how to create a MERN (MongoDB, Express, React, Node.js) application locally, and how to deploy everything into a Kubernetes cluster with the Atlas Operator.
Azure Static Web Apps (SWA) with Azure DevOps
DevOps.js Conf 2022DevOps.js Conf 2022
13 min
Azure Static Web Apps (SWA) with Azure DevOps
WorkshopFree
Juarez Barbosa Junior
Juarez Barbosa Junior
Azure Static Web Apps were launched earlier in 2021, and out of the box, they could integrate your existing repository and deploy your Static Web App from Azure DevOps. This workshop demonstrates how to publish an Azure Static Web App with Azure DevOps.
Building Serverless Applications on AWS with TypeScript
Node Congress 2021Node Congress 2021
245 min
Building Serverless Applications on AWS with TypeScript
Workshop
Slobodan Stojanović
Slobodan Stojanović
This workshop teaches you the basics of serverless application development with TypeScript. We'll start with a simple Lambda function, set up the project and the infrastructure-as-a-code (AWS CDK), and learn how to organize, test, and debug a more complex serverless application.
Table of contents:        - How to set up a serverless project with TypeScript and CDK        - How to write a testable Lambda function with hexagonal architecture        - How to connect a function to a DynamoDB table        - How to create a serverless API        - How to debug and test a serverless function        - How to organize and grow a serverless application


Materials referred to in the workshop:
https://excalidraw.com/#room=57b84e0df9bdb7ea5675,HYgVepLIpfxrK4EQNclQ9w
DynamoDB blog Alex DeBrie: https://www.dynamodbguide.com/
Excellent book for the DynamoDB: https://www.dynamodbbook.com/
https://slobodan.me/workshops/nodecongress/prerequisites.html
How to develop, build, and deploy Node.js microservices with Pulumi and Azure DevOps
DevOps.js Conf 2022DevOps.js Conf 2022
163 min
How to develop, build, and deploy Node.js microservices with Pulumi and Azure DevOps
Workshop
Alex Korzhikov
Andrew Reddikh
2 authors
The workshop gives a practical perspective of key principles needed to develop, build, and maintain a set of microservices in the Node.js stack. It covers specifics of creating isolated TypeScript services using the monorepo approach with lerna and yarn workspaces. The workshop includes an overview and a live exercise to create cloud environment with Pulumi framework and Azure services. The sessions fits the best developers who want to learn and practice build and deploy techniques using Azure stack and Pulumi for Node.js.