Skip to content

Adeshppp/Banking-Apllication-By-Using-Hibernate-Springboot-and-JPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banking-Apllication-By-Using-Hibernate-Springboot-and-JPA

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.

Building and deploying maven project

Building maven project

mvn clean install

Running microServices by using .jar file on terminal by locating it in the project

java -jar {jarFileName} : java -jar bank-0.0.1-SNAPSHOT.jar

Running microServices by using Docker

  1. Create file named as Dockerfile in project folder (specify the path of jar file in Dockerfile)
  2. in terminal locate the docker file and run "Docker build -t bankms ." in same directory
  3. then can check the repo is created or not by "Docker images" command
  4. 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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors