DEV Community

Cover image for Doc: Building An Event-Driven Architecture Notification App using AWS Services
Ijay
Ijay

Posted on

Doc: Building An Event-Driven Architecture Notification App using AWS Services

Today's project focuses on creating a notification system for NBA games or any other sport. The goal is to keep users updated with the latest game information through alerts. I built this system using Amazon SNS, AWS Lambda, Python, Amazon EventBridge, and SportData. This project shows how AWS services can be used to efficiently create a reliable notification system.

You’re highly welcome to this project! Before we begin, make sure you have the following:

  • An AWS account: If you don’t have one, you can sign up here.

  • A GitHub repository: This is for storing your source code. If you don’t have a GitHub account, you can create one here.

  • Basic knowledge of web development and version control.

Why use a GitHub account?

A GitHub account is mainly for storing your source code—it’s optional for this project.

Technical Architecture

Explanation of the Technical Diagram

Let’s start with the backend—this is not our responsibility. It’s the cloud provider’s job to handle the background work under the hood. That’s why using a cloud provider takes off certain stress for you.

Now, let’s move to our part: the customer responsibility.

In this project, we are integrating an API to get information. Specifically, we are using SportData today because we are thinking about sports lovers.

  1. Amazon SNS: First, we use Amazon SNS to create an alert. This alert will be sent to your email or SMS, depending on what you choose.

  2. AWS Lambda: Next, we use Lambda to create a function that will invoke and trigger the API. This function will send the information to Amazon SNS; this will trigger the service to send it to your email or SMS.

  3. Amazon EventBridge: Finally, we create an Amazon EventBridge to help with scheduling so that subscribers or users can choose the time/day they want the message to be sent.

Recommendation:

  • I would recommend this service to banks, especially one in my area that loves wasting people's time. .................. B.....................

  • Developers or tech enthusiasts for learning purposes.

  • Schools for notifying staff and parents about PTA meetings, inter-house sports activities, any game schedules events, and results.

If you found this blog post helpful, share it with others who may find it interesting.

Stay updated with my projects by following me on Twitter, LinkedIn and GitHub.

Thank you for reading.

Top comments (0)