Skip to content

Automated Crypto price monitor & notifcationapp, servelses architeture

Notifications You must be signed in to change notification settings

flamingo1332/coinwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coinwatch

Automated Crypto price monitor

Utilizing AWS Lambda and CloudWatch, this application regularly fetches and analyzes cryptocurrency prices, calculating price changes and updating subscribers via SNS notifications.

Motivation

The development of Coinwatch offered a valuable opportunity to enhance skills in serverless architecture with AWS Lambda and DynamoDB. It also provided hands-on experience with infrastructure automation and CI/CD using Terraform, GitHub Actions. This project served as a technical deep dive into modern cloud and software engineering methodologies.

Architecture

Untitled Diagram drawio

  1. Invoke lambda with cloudwatch alarm every 15m
  2. get crypto price data from CoingeckoAPI
  3. Calculate price change rate and save to dynamodb
  4. Fetch highest price change rate up to 5 and create custom message
  5. publish to sns topic

Repo Structure

│   .gitignore
│   main.tf
│   README.md
│   variables.tf
│
├───.github
│   └───workflows
│           main.yml
│
├───modules
│   ├───backend
│   │       main.tf
│   │       outputs.tf
│   │       variables.tf
│   │
│   ├───dynamodb
│   │       main.tf
│   │       outputs.tf
│   │       variables.tf
│   │
│   ├───eventbridge
│   │       main.tf
│   │       outputs.tf
│   │       variables.tf
│   │
│   ├───iam
│   │       main.tf
│   │       outputs.tf
│   │       variables.tf
│   │
│   ├───lambda
│   │       main.tf
│   │       outputs.tf
│   │       variables.tf
│   │
│   └───sns_topic
│           main.tf
│           outputs.tf
│           variables.tf
│
└───scripts
        Dockerfile
        lambda_function_data.py
        lambda_function_publish.py
        requirements.txt

Output

Capture

About

Automated Crypto price monitor & notifcationapp, servelses architeture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published