BUILDING A GAME NOTIFICATION APP

USE CASE
I was tasked with designing a Games Notification system, leveraging a serverless architecture. The solution utilizes an AWS Lambda function, integrates with an external API for data retrieval, and employs Amazon Simple Notification Service(SNS…


This content originally appeared on DEV Community and was authored by Oluwaseun Olaleye

USE CASE
I was tasked with designing a Games Notification system, leveraging a serverless architecture. The solution utilizes an AWS Lambda function, integrates with an external API for data retrieval, and employs Amazon Simple Notification Service(SNS) for disseminating notifications.

Image description

PREREQUISITES

  • AWS free tier account

  • Knowledge on serverless service

  • python

DEFINITION OF SERVICES.

  • AWS Lambda Function: It enables seamless code execution without requiring manual infrastructure configuration.

  • Simple Notification Service: It enables the delivery of notifications to subscribed endpoints, such as email addresses, phone numbers, or application endpoints.

  • Event Bridge: It serves as a scheduler and event bus, triggering the Lambda function at specified intervals.

Amazon Simple Notification Service (SNS)
Let's create the SNS that will serve as a notification.

Image description

Image description

Kindly leaves everything at default and create topic.
Next, is to create subscription so as to allow it to send to our email.

Image description

Image description

Image description

Lambda Function
Firstly, let's create IAM role for the Lambda function to define its permissions and access to AWS services.

Image description

Image description

Image description

Image description

Image description

Now let's create our Lambda function since we have created our policies and role.

Image description

Image description

Image description

API KEY
I was able to get the free API key from https://sportsdata.io/cart/free-trial-confirmation/nba

Image description

Image description

Image description

Code testing has been completed successfully, and the SNS has sent a confirmation email as expected.

Image description

Image description

EVENTBRIDGE
Now, let's configure EventBridge to schedule the game notifications, ensuring timely and automated delivery.

Image description

Image description

Image description

Conclusion

We have successfully implemented a game notification system utilizing a serverless architecture, leveraging AWS Lambda, Amazon SNS, and EventBridge. The system integrates with an external API using Python, enabling seamless notification delivery to users.


This content originally appeared on DEV Community and was authored by Oluwaseun Olaleye


Print Share Comment Cite Upload Translate Updates
APA

Oluwaseun Olaleye | Sciencx (2025-01-10T16:53:23+00:00) BUILDING A GAME NOTIFICATION APP. Retrieved from https://www.scien.cx/2025/01/10/building-a-game-notification-app/

MLA
" » BUILDING A GAME NOTIFICATION APP." Oluwaseun Olaleye | Sciencx - Friday January 10, 2025, https://www.scien.cx/2025/01/10/building-a-game-notification-app/
HARVARD
Oluwaseun Olaleye | Sciencx Friday January 10, 2025 » BUILDING A GAME NOTIFICATION APP., viewed ,<https://www.scien.cx/2025/01/10/building-a-game-notification-app/>
VANCOUVER
Oluwaseun Olaleye | Sciencx - » BUILDING A GAME NOTIFICATION APP. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/10/building-a-game-notification-app/
CHICAGO
" » BUILDING A GAME NOTIFICATION APP." Oluwaseun Olaleye | Sciencx - Accessed . https://www.scien.cx/2025/01/10/building-a-game-notification-app/
IEEE
" » BUILDING A GAME NOTIFICATION APP." Oluwaseun Olaleye | Sciencx [Online]. Available: https://www.scien.cx/2025/01/10/building-a-game-notification-app/. [Accessed: ]
rf:citation
» BUILDING A GAME NOTIFICATION APP | Oluwaseun Olaleye | Sciencx | https://www.scien.cx/2025/01/10/building-a-game-notification-app/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.