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% +.
- Java 11+
- SpringBoot
- JPA / Hibernate
- MyBatis
- Gradle
- Postgres
- RabbitMQ
- JUnit
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.
- 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
- 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 &