Steps to take:
Create Web App: Deploy static resources for your web application using the AWS Amplify Console.
Build Serverless Function: Build a serverless function using AWS Lambda.
Link Serverless Function to Web App: Deploy your serverless function with API Gateway.
Create Data Table: Persist data in an Amazon DynamoDB table.
Add Interactivity to Web App: Modify your web app to invoke your API.