Skip to content

hendisantika/Online-banking-angular-springboot-mysql

Repository files navigation

Online-banking-angular-springboot-mysql

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.

Thing to run the application

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

application.properties

Run the application

mvn clean spring-boot:run

Screen shot

Sign Up Page

Sign Up Page

Sign In Page

Sign Up

Dashboard Page

Dashboard page

Deposit Page

Deposit Page

Dashboard Page

Dashboard page

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.

The admin has there own frontend implemented in Angular2, which communicates with backend through REST services.

Deployment Steps on Docker:

Download application
git clone https://github.com/hendisantika/online-banking.git
Start MySQL Docker Container
docker run --detach --name=bankmysql --env="MYSQL_ROOT_PASSWORD=root" -p 3306:3306 mysql:8
Run Docker image of the application
docker run --detach -p 8888:8888 --link bankmysql:localhost -t hendisantika/online-banking:latest

Access the application by clicking the URL "http://localhost:8080!"

Deployment Steps without Docker:

Build application
mvn clean build
DB Setup
Run application
java -jar target/online-banking-0.0.1-SNAPSHOT.jar

Things to know:

Build Docker image for the application
docker build -t hendisantika/online-banking:latest .
Create Jenkins image that has Maven
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 .
Start Jenkins Server on Docker
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
Setup "online-banking" project in Jenkins:
  • 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
Debug H2 DB while testing

About

Online banking angular springboot mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published