This repository contains a Java-based bank system with Spring Boot, Hibernate, and Jakarta Persistence. It includes User and Account entities and supports creating, depositing, withdrawing, transferring, and viewing transaction history. The MVC architecture includes a RESTful API, error handling, and a detailed README.
mvn clean install
java -jar {jarFileName} : java -jar bank-0.0.1-SNAPSHOT.jar
- Create file named as Dockerfile in project folder (specify the path of jar file in Dockerfile)
- in terminal locate the docker file and run "Docker build -t bankms ." in same directory
- then can check the repo is created or not by "Docker images" command
- run the docker image by "Docker run -p 8099:8080 bankms ."
Now these microservices are running on docker. and we can access all the endpoints on port 8099.