Skip to content

Latest commit

 

History

History
69 lines (55 loc) · 1.65 KB

README.md

File metadata and controls

69 lines (55 loc) · 1.65 KB

Project title

Transfer Service

Motivation

Serve as Transfer API to Money Transfer API

Features

  • Transfer the money

Run locally

Docker

git clone https://github.com/luizgustavocosta/virtual-threads.git
cd virtual-threads/transfer-service
mvn package
docker build -t virtual-threads/transfer-service .
docker run -p 8082:8082 virtual-threads/transfer-service

Command line

git clone https://github.com/luizgustavocosta/virtual-threads.git
cd virtual-threads/transfer-service

Option 1

./mvnw spring-boot:run

Option 2

mvn package
java -jar target/transfer-service-0.0.1-SNAPSHOT.jar

Languages and Tools:

           

The versions are available here.

Architecture:

Money transfer

img.png

API

This API has a POST endpoint that responds after 1 second, in order to simulate a I/O operation

Examples of usage

Transfer

curl -X 'POST' \
   'http://localhost:8082/v1/transfers/1234-5678/9012-3456/100.01'

References

Wise - API Transfer Docker