Skip to content

Kai means "open" in Mandarin, and KaiBank is truly an open source bank. It is the world's first no-fee bank. Deposits, withdrawals, transfers--all transactions are free for our customers.

Notifications You must be signed in to change notification settings

ashfaqshuvo007/kaibank-backend-springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Installation Guide

Project name: KaiBank



Technology stack

Technology Description Link to download
Java 11 Programming Language Link
Spring Boot Backend framework Link
Maven 3.6.3 Build automation tool Link
Apache Tomcat Web server
MySql 8 Database
Intellij IDE Link

Setup local environment

Needs to install Java 11, Maven 3.6.3 or above, MySql 8 and Intellij.

Setup database

  1. Create a database using below SQL script
    • CREATE DATABASE kaibank;
  2. Create a user using the below SQL script
    • CREATE DATABASE kaibank;
    • CREATE USER 'kaibankuser'@'localhost' IDENTIFIED BY '1qaz2Wsx';
    • GRANT ALL ON kaibank.* TO 'kaibankuser'@'localhost';

Useful plugins (Intellij extensions)

  • Spring Assistant - assist in developing spring applications
  • Lombok - to remove boilerplate codes
  • google-java-format - to format the code
  • SonarLint - to check code quality

How to build the project:

  1. Clone the project from the repository :

    git clone git@github.com:ashfaqshuvo007/kaibank-backend-springboot.git
  2. Build the project.

     - Go to project directory
     - Run command: `mvn clean install`
    
  3. Run the project.

  • Using IDE:
    • Open project in Intellij
    • Right-click on the main spring boot application class (KaibankSystemApplication) and click on Run.
  • Run from terminal ( as spring boot project):
    • Go to the project directory
    • Run this command: mvn spring-boot:run
  1. Access the application.

Local database credentials can be found in application.yml:

Access API documentation

Swagger API documentation can be found here: http://localhost:8081/kaibank-system/api-ui.html

Architecture

All details of the architecture of the system with class diagram, sequence diagrams etc. can be found here: Architecture Details

About

Kai means "open" in Mandarin, and KaiBank is truly an open source bank. It is the world's first no-fee bank. Deposits, withdrawals, transfers--all transactions are free for our customers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages