Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Money transfer

Simple money transfer rest application.

Endpoints

Create account

Generate account order and create account with provided balance:

POST localhost:8080/account/initial

{
 "balance": "12"
}

Get account

Get account with balance:

GET localhost:8080/acount/:id

Transfer money

Transfer money from one account to another

POST localhost:8080/transfer

{
	"from": "2",
	"to": "1",
	"amount" : "2"
}

Run

gradlew build
java -jar ./build/libs/moneytransfer-0.0.1-SNAPSHOT-all.jar

About

Simple money transfer rest application

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages