https://github.com/raphaelbh/cloud-banking
Proof of concept to present some services provided by AWS
https://github.com/raphaelbh/cloud-banking
aws cloud cloudformation dynamodb lambda localstack sns sqs
Last synced: 2 months ago
JSON representation
Proof of concept to present some services provided by AWS
- Host: GitHub
- URL: https://github.com/raphaelbh/cloud-banking
- Owner: raphaelbh
- Created: 2022-01-12T00:52:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T16:44:00.000Z (about 3 years ago)
- Last Synced: 2025-01-25T20:11:30.349Z (4 months ago)
- Topics: aws, cloud, cloudformation, dynamodb, lambda, localstack, sns, sqs
- Language: Shell
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud Banking
[](#)
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 userDocumentation:
- [dynamodb](docs/dynamodb)Covered Services:
- [cloudformation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html)
- [sns](https://docs.aws.amazon.com/sns/latest/dg/welcome.html)
- [sqs](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html)
- [apigateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html)
- [lambda](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)
- [dynamodb](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html)## Requirements
[](https://www.docker.com/)
## Installation
```bash
$ docker-compose up -d
```
## Usage```bash
# 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
[](https://www.docker.com/)
[](https://www.python.org/)
[](https://aws.amazon.com/)## Reference
- https://aws.amazon.com/what-is-aws/
- https://docs.aws.amazon.com/index.html## Feedback
If you have any feedback, please contact me at [email protected]
[](https://github.com/raphaelbh)
[](https://www.linkedin.com/in/raphaelbh/)