Test project to get all account and deposit detaild from Account Holder's NIC and display the summary with interest.
Make sure following are met
- JDK 1.8
- Docker and Docker Compose
- MySQL 5.7.xx
- Following username and password should include username: root, password: root
- Mysql instance should be exposed in localhost in port 3306
- jdbc:mysql://localhost:3306/
- Backend available at src/main/java
- MySQL instance will be available by using docker-compose file at src/main/docker(command : docker-compose up)
- Backend will be available by using following command at the project root.
./mvnw spring-boot:run -Dspring-boot.run.profiles=dev
In the project root directory execute the following bach script
./build.sh
- MySQL instance should available at locally, port 3306 with root username and root password in order to jar file to work.
java -jar -Dspring.profiles.active=dev target/bank-deposit-0.0.1-SNAPSHOT.jar
After executing above command application api is presented at http://localhost:8080/api
- Run the docker-compose.yml file using the following command
docker-compose up --build
- After few munutes application with the api is available at http://localhost:8080/api
- RestController relevant to get Deposite and account informations are available in the AccountController and business logic in AccountService