Online-Bank-Simulator
Spring Boot/Spring Data/Spring Security/Hibernate/MySQL/REST
The project simulates online banking system. It allows to register/login, deposit/withdraw money from accounts, add/edit recipients, transfer money between accounts and recipients, view transactions, make appointments.
There are two roles user and admin.
Clone the repository
git clone https://github.com/hendisantika/Online-banking-angular-springboot-mysql
Go the folder
Online-banking-angular-springboot-mysql
Set Your MySQL username & password in application.properties
Run the application
mvn clean spring-boot:run
The project simulates online banking system. It allows to register/login, deposit/withdraw money from accounts, add/edit recipients, transfer money between accounts and recipients, view transactions, make appointments.
There are two roles user and admin.
The admin has there own frontend implemented in Angular2, which communicates with backend through REST services.
git clone https://github.com/hendisantika/online-banking.git
docker run --detach --name=bankmysql --env="MYSQL_ROOT_PASSWORD=root" -p 3306:3306 mysql:8
docker run --detach -p 8888:8888 --link bankmysql:localhost -t hendisantika/online-banking:latest
Access the application by clicking the URL "http://localhost:8080!"
mvn clean build
- Start MySQL server!
- Use MySQLWorkbench!
java -jar target/online-banking-0.0.1-SNAPSHOT.jar
docker build -t hendisantika/online-banking:latest .
sudo chmod 777 /var/run/docker.sock && \
mkdir -p /jenkins_bkp/jenkins_home && \
chmod -R 777 /jenkins_bkp && \
git clone https://github.com/hendisantika/online-banking.git && \
cd online-bank && \
git checkout master && \
cp Dockerfile-Jenkins-Maven ../Dockerfile && \
cd .. && \
docker build -t hendisantika/jenkins-maven-docker:v0.1 .
docker run --detach -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) -p 9080:8080 -p 50000:50000 -v /jenkins_bkp/jenkins_home:/var/jenkins_home hendisantika/jenkins-maven-docker:v0.1
- Login to Jenkins and setup a pipeline project with source code from Link to OnlineBank GIT repo!
- Run the job to build and deploy the application
- Set a debug point in any test step and check the URL "http://localhost:8080/console" while testing