Skip to content

Latest commit

 

History

History
executable file
·
40 lines (31 loc) · 1.57 KB

README.md

File metadata and controls

executable file
·
40 lines (31 loc) · 1.57 KB

Simple Banking

Java CI with Gradle

Installation Guide

Simple Bank Application can run on Docker easily. Please follow below commands on your terminal.

git clone https://github.com/sozgat/simplebanking.git
cd simplebanking
./gradlew build 
docker-compose up --build

You can access Swagger Docs via http://localhost:8080/swagger-ui.html

Postman JSON File

If you want to test API via Postman, follow below instructions:

  1. Open your postman and click Import Button.
  2. Change tab to Link in Import Panel.
  3. Paste link (https://www.getpostman.com/collections/7833a663de4b0cf86c71) to URL field.
  4. Continue and Import. All is done :)

alt text

Results of Test Cases - Test Coverage

alt text If you want to run test classes in your IDE, you have to remove below command in test field in build.gradle.

exclude '**/*'

Java project run args for IDE

If you want to run project on your IDE, please add these environment variables.

ARG Description Example
MYAPP_JDBC_USER Database username root
MYAPP_JDBC_URL Database hostname jdbc:postgresql://localhost:5432/simplebanking
MYAPP_JDBC_PASS Database password root