Skip to content

Proof of concept to present some services provided by AWS

Notifications You must be signed in to change notification settings

raphaelbh/cloud-banking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Banking

Project Status

Proof of concept to present some services provided by AWS.

Amazon Web Services (AWS) is a cloud service provider that offers IT infrastructure services to companies, which is popularly known as cloud computing. In theory, it allows you to reduce infrastructure costs and speed up the acquisition of hardware.

Features:

  • Save transaction
  • Get transactions by user

Documentation:

Covered Services:

Requirements

docker

Installation

$ docker-compose up -d

Usage

# save transaction
$ aws sns publish --endpoint-url http://localhost:4566 --topic-arn "arn:aws:sns:us-east-1:000000000000:SaveTransactionTopic" --message '{"user":"john","amount":"999.99","type":"TRANSFER_SENT"}'

# get rest_api_id
$ rest_api_id=`aws apigateway get-rest-apis --endpoint-url http://localhost:4566 | jq -r '.items[]|select(.name == "get-transactions-api")|.id'`

# check saved transactions
$ curl http://${rest_api_id}.execute-api.localhost.localstack.cloud:4566/dev/transactions?user=john

Tech Stack

docker python aws

Reference

Feedback

If you have any feedback, please contact me at raphaeldias.ti@gmail.com

github linkedin

Releases

No releases published

Packages

No packages published