Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

API for transferring money between accounts 💰

License

NotificationsYou must be signed in to change notification settings

paul-pop/money-transfer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API used to transfer a given amount of money between two accounts (only supports GBP currency).

Summary

Written in Java 8 andRatpack with:

  • Lombok for awesomeness
  • Uses JUnit and Ratpack Test for testing
  • Uses ConcurrentUnit for concurrency tests via JUnit
  • Uses basic in-memory data structures for persistence
  • Uses Hibernate validator for JSR-303 validations on requests

Build

If you want to build the application, please run:

mvn clean install

Run tests

If you want to execute the tests, please run:

mvn clean verify

Run app

You can run the app by:

  • Running the main class from your IDE
  • Building the app via Maven and running the generated uber jar from the target folder.
  • Downloading the JAR from thereleases page and executing:
java -jar money-transfer-api-1.0-SNAPSHOT.jar

Usage

Aswagger.yml file has been provided that can be imported intohttps://editor.swagger.io,unfortunately Ratpack doesn't offer a nice way of doing this inside the app.

When using the editor, it will call your localhost so make sure the app is started.

About

API for transferring money between accounts 💰

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp