Git Product home page Git Product logo

bankingspringbootapplication's Introduction

Banking Application using Java8, Spring Boot, Spring Security and H2 DB

RESTful API to simulate simple banking operations.

Requirements

  • CRUD operations for customers and accounts.
  • Support deposits and withdrawals on accounts.
  • Internal transfer support (i.e. a customer may transfer funds from one account to another).

Getting Started

  1. Checkout the project from GitHub
git clone https://github.com/anujdevopslearn/BankingSpringBootApplication

  1. Enable Lombok support on your IDE

Refer to the following link for instructions:

https://projectlombok.org/setup/eclipse

  1. Open IDE of your choice and Import as existing maven project in your workspace
- Import existing maven project
- Run mvn clean install
- If using STS, Run As Spring Boot App

  1. Default port for the api is 8989

Prerequisites

  • Java 8
  • Spring Tool Suite 4 or similar IDE
  • Maven - Dependency Management

Maven Dependencies

spring-boot-starter-actuator
spring-boot-starter-data-jpa
spring-boot-starter-security
spring-boot-starter-web
spring-boot-devtools
h2 - Inmemory database
lombok - to reduce boilerplate code
springfox-swagger2
springfox-swagger-ui
spring-boot-starter-test
spring-security-test

Swagger

Please find the Rest API documentation in the below url

http://localhost:8989/bank-api/swagger-ui.html

H2 In-Memory Database

Make sure to use jdbc:h2:mem:testdb as your jdbc url. If you intend to you use custom database name, please define datasource properties in application.yml

http://localhost:8989/bank-api/h2-console/

Testing the Bank APP Rest Api

  1. Please use the Swagger url to perform CRUD operations.

  2. Browse to /src/test/resources to find sample requests to add customer and accounts.

bankingspringbootapplication's People

Contributors

kabra-rahul avatar anujdevopslearn avatar mlrdy1432224 avatar abc-xx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.