alonsotagle / stori

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stori - Transaction Processor

This project provides a solution for processing a file containing debit and credit transactions on an account and sending summary information to a user via email.

Overview

The system consists of a script written in Python that processes the transaction file. It identifies debit and credit transactions based on the presence of a minus (-) or plus (+) sign, respectively. Summary information is then extracted and sent to the user via email.

Arch diagram

Technologies Used

  • Python
  • Pytest
  • Pandas
  • Boto3
  • Terraform
  • Docker
  • Github Actions

AWS services

  • S3
  • Lambda
  • DynamoDB
  • SES
  • IAM
  • CloudWatch

Contact

For any inquiries or feedback, please contact dev@alonsotagle.com

TASKS

INFRA

  • Create infra dir
  • Link Terraform Cloud
  • Create terraform S3 bucket
  • Create transactions lambda
  • Create report lambda
  • Create CI/CD pipeline with Github Actions

TRANSACTIONS

  • Create transactions dir
  • Generate transactions file
  • Upload transactions file to S3

REPORT

  • Create report dir
  • Dowload transactions file from S3
  • Read file with pandas from S3
  • Read data with pandas
  • Analyze data with pandas
  • Store transactions in DynamoDB
  • Package in docker image
  • Create SES template
  • Send email
  • Test email
  • Style email
  • Invoke report lambda by HTTP request

About


Languages

Language:HCL 58.3%Language:Python 40.3%Language:Dockerfile 1.4%