Skip to content

sinedas/moneytransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages