Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

aws-samples/aws-serverless-feedback-app

AWS Serverless Feedback App

Status: Completed. Please create issues or pull requests if you have ideas for improvement.

The Serverless Feedback App is a simple web application that was developed to provide a mechanism for employees to provide feedback to their managers. Given the COVID-19 global pandemic and with remote working becoming the norm, managers need a way to get feedback from their direct reports anytime from anywhere to ensure employees are supported and engaged. There are so many ways of building an app like this on AWS so the key aim is to showcase how some of the AWS serverless services have been used to develop this app which hopefully will help educate and provide guidance on how to use these services for developing serverless applications.

Key Learning Areas

  • Invoking an API Gateway Endpoint from a React App
  • Hosting a React App on AWS Amplify
  • Deploying a React App on AWS Amplify using AWS CDK
  • Building a Serverless Application with AWS SAM
  • Orchestrating Lambda Functions with AWS Step Function
  • Sentiment Analysis with Amazon Comprehend SDK
  • Notification via Integration with Chime Webhooks
  • Building a CI/CD Pipeline with AWS CDK
  • Tracing API Gateway, Step Function and Lambda Functions with AWS X-Ray
  • Lambda Cost and Performance Tunning with AWS Lambda Power Tools

This sample is not meant to be used as production as-is, but as an inspiration on how to leverage serverless services to build a simple application.

Please note that you may incure AWS charges for deploying the feedback application into your AWS account as not all services used are part of the free tier and you might exceed the free tier usage limit. To track costs in your AWS account, consider using AWS Cost Explorer and AWS Billing and Cost Management. You can also set up a budgets to get notified of when actual or forecasted cost and usage exceed your budget threshold.

Architecture

High-level architecture

This is a high-level view of the feedback application indicating both the frontend and backend with the interconnection between the services.

High-level architecture of the feedback app

Technologies used

Frontend App Hosting:

  • AWS Amplify for hosting the frontend React JS application. Amplify provides the storage and global content distribtion together with a CI/CD pipeline to deploy new changes to the frontend.

API Hosting:

Identity Management:

  • AWS Identity and Access Management for service-to-service authorization for example; granting a Lambda function the permission to interact with DynamoDB, Amazon Comprehend, Parameter Store or pushing metrics to Amazon X-Ray.

Compute:

  • AWS Lambda as serverless compute either behind APIs or to react to asynchronous events.

Microservice Orchestration:

  • AWS Step Functions used to orchestrate the serverless function that makes it easy to sequence AWS Lambda functions and multiple AWS services into business-critical applications.

Storage:

  • Amazon DynamoDB as a scalable NoSQL database for persisting informations.

CI/CD:

Monitoring:

Sentiment Analysis:

  • Amazon Comprehend a natural language processing (NLP) service that uses machine learning to find insights and relationships in text. The service is used for sentiment analysis of the feedback comments to identify if the comments are POSITIVE, NEGATIVE OR NEUTRAL

Notification:

  • Amazon Chime used for notifying the managers on a managers only chime chat room once a new feedback is submitted by employees

Key Value Store:

Documentation

To get started, see the getting started guide to setup the project

A detailed documentation of the app can be found in the docs folder

The list of known issues is maintained here

Contributing

See the contributing

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors