Skip to content

forhadmethun/mbank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The project consists of implementing 2 services:

  • Account to keep track of current accounts and balances
  • Reporting to keep track of all transactions on the account for reporting purposes

Both Account and reporting service contain integration tests and test coverage are 80% +.

Technologies Used

  • Java 11+
  • SpringBoot
  • JPA / Hibernate
  • MyBatis
  • Gradle
  • Postgres
  • RabbitMQ
  • JUnit

Environment Setup

The prerequisite to set-up the environment is Java 11+, docker and docker-composer. Once all these things are installed then go to /environment-setup directory to get the instruction to setup PostgreSQL & RabbitMQ.

Running the Services

To run account-service

  • open a terminal and navigate to mbank-accountservice directory
  • execute the following commands
./gradlew bootJar
nohup java -jar build/libs/mbank-accountservice-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 & #it will run the process in background

NB. If you don't want to run the process in background then you can run the command as following:

java -jar build/libs/mbank-accountservice-0.0.1-SNAPSHOT.jar

To run report-service

  • open a terminal and navigate to mbank-reportservice directory
./gradlew bootJar
java -jar build/libs/mbank-reportservice-0.0.1-SNAPSHOT.jar
nohup java -jar build/libs/mbank-reportservice-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 &

Doc

About

Simple banking application in micro-service architecture, java 11+, springboot, gradle, mybatis, postgresql, rabbitmq, junit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages