Introduction: Build a Basic Web Application
Follow step-by-step instructions to build your first web application
In this tutorial, you will create a simple web application. You will first build a static web app that renders "Hello World." Then you will learn how to add functionality to the web app so the text that displays is based on a custom input you provide.
What you will accomplish
This tutorial will walk you through the steps to create the sample web application discussed above. You will:
- Create a web app
- Connect the web app to a serverless backend
- Add interactivity to your web app with an API and a database
Before starting this tutorial, you will need:
- An AWS account: If you don't already have an account, follow the Setting Up Your Environment getting started guide for a quick overview.
The diagram below provides a visual representation of the services used in this tutorial and how they are connected. This application uses AWS Amplify, Amazon API Gateway, AWS Lambda, Amazon DynamoDB, and AWS Identity and Access Management (IAM).
As we go through the tutorial, we will discuss the services in detail and point to resources that will help you get up to speed with them.
This tutorial is divided into six short modules. You must complete each module in order before moving on to the next one.
- Create Web App (5 minutes): Deploy static resources for your web application using the AWS Amplify Console.
- Build Serverless Function (5 minutes): Build a serverless function using AWS Lambda.
- Link Serverless Function to Web App (5 minutes): Deploy your serverless function with API Gateway.
- Create Data Table (10 minutes): Persist data in an Amazon DynamoDB table.
- Add Interactivity to Web App (5 minutes): Modify your web app to invoke your API.
- Clean Up Resources (5 minutes): Clean up resources used in this tutorial.
You will be building this web application using the AWS Management Console accessible directly from your browser.