Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luismarchio03/moneytransferapi
This is a project for a money transfer API built using Golang and Nodejs + Servelles framework + AWS Lambda. The API allows for transferring money between accounts and also includes the ability to cancel transfers. It also uses RabbitMQ for message queuing.
https://github.com/luismarchio03/moneytransferapi
aws-lambda go golang grafana httpproxy nodejs prisma prometheus rabbitmq serverless sqlite test-automation
Last synced: 8 days ago
JSON representation
This is a project for a money transfer API built using Golang and Nodejs + Servelles framework + AWS Lambda. The API allows for transferring money between accounts and also includes the ability to cancel transfers. It also uses RabbitMQ for message queuing.
- Host: GitHub
- URL: https://github.com/luismarchio03/moneytransferapi
- Owner: LuisMarchio03
- License: mit
- Created: 2023-03-15T01:53:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T11:04:33.000Z (about 1 year ago)
- Last Synced: 2024-11-21T12:47:55.846Z (2 months ago)
- Topics: aws-lambda, go, golang, grafana, httpproxy, nodejs, prisma, prometheus, rabbitmq, serverless, sqlite, test-automation
- Language: TypeScript
- Homepage:
- Size: 1.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
This is a project for a money transfer API built using Golang and Nodejs + Servelles framework + AWS Lambda. The API allows for transferring money between accounts and also includes the ability to cancel transfers. It also uses RabbitMQ for message queuing.
## Author
This project was authored by LuisMarchio03. Their Github profile can be found at https://github.com/LuisMarchio03/.
## Features
The following functionality has been implemented:
**[X] TransferService -> consumer rabbitMQ**
**[X] TransferService -> cancelamento de transferências**
**[X] TransferService -> cancelamento usecase**
**[X] TransferService -> handlers**
**[x] TransferService -> remove mockUser**
**[x] TransferService -> Find User**
**[x] TransferService / WalletService -> Criar um User ID Compartilhado**
**[x] TransferService -> producer update user to WalletService**
**[x] WalletService -> consumer rabbitMQ**
**[] SendMessageService -> Create service to send message**
**[] All -> Variables to .env**
## Installation
Clone the repository:
```bash
git clone https://github.com/LuisMarchio03/MoneyTransferApi.git
```Navigate to the project directory:
```bash
cd MoneyTransferApi
```Install the dependencies:
```bash
cd transferService
go mod tidycd walletService
npm installcd gateway
npm install
```Run the project:
```bash
cd gateway
npm run dev
```The server will be running at http://localhost:8080.
## Usage
The following endpoints are available:
- `POST /transfer: transfer money from one account to another. Requires
- `from_account_id, to_account_id, and amount in the request body.
- `POST /transfer/cancel: cancel a transfer. Requires transfer_id in the request body.
## License
This project is licensed under the MIT License - see the [LICENSE](https://choosealicense.com/licenses/mit/) file for details.