Giter VIP home page Giter VIP logo

aws-serverless-feedback-app's Introduction

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.

aws-serverless-feedback-app's People

Contributors

tessot avatar amazon-auto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.