Skip to content

sozgat/simplebanking

Repository files navigation

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

About

This is an Simple Banking App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published