Git Product home page Git Product logo

digital-bank's Introduction

Digital Bank

Digital Bank is a sample application that was developed for exploratory purposes to examine development frameworks and techniques. The application is an example online digital banking application with integrations into other services.

Getting Started

  • Using either an Eclipse IDE or IntelliJ, import the source code as an Existing Maven Project.

Prerequisites

Executing Tests

  • JUnit Tests - Execute "mvn clean test"
  • Serenity BDD Acceptance Tests - Execute "mvn clean verify"
    • Serenity BDD tests use Cucumber Feature file definitions.
      • UI Tests are executed using the Selenium Java framework.
      • API Test are executed using the Rest Assured Java framework.
    • Use '-Dcucumber.options="--tags {tag}"' maven command line option to filter test execution based on Feature or Scenario tags defined within the feature files.

Packaging

  • To create a deployment package, execute "mvn clean package -DbuildNumber={###}"
  • To create a new Docker image, update the Dockerfile with the latest build number and then execute "docker build -t {imageName}:{imageTag} ."

Deployment

Digital Bank can be deployed as a single standalone application service or be deployed and configured to integrate with Digital Credit.

  • WAR Package Deployment
    • Apache Tomcat version 8.5 or higher
      • Deployment does not work with Apache Tomcat 7.x
    • Copy the WAR file into an existing Tomcat instance under ${catalina.base}/webapps folder.
    • (Optional) Copy the digitalbank.properites file into the ${catalina.base}/conf folder.
      • Use to customize the configuration of the application.
      • The digitalbank.properties file is configured to be a "watched resource" in the deployment context. Any updates to the digitalbank.properties file will automatically trigger Tomcat to recycle the application to pick up the new changes.
    • Start the Tomcat service.
    • A digitalbank.log file will be created within ${catalina.base}/logs.
  • Docker Deployment
    • Deploy Digital Bank as a standalone service.
  • Docker Compose Deployment

Interfaces

  • Web Interface @ http://{hostname}:{port}/bank
  • Swagger UI @ http://{hostname}:{port}/bank/swagger-ui.html

Built With

Authors

Mark Asbury

See the additional list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

digital-bank's People

Contributors

aebrooks avatar asburymr avatar automicdemo avatar bkeefer55 avatar bor8687 avatar cddautomicdemouser avatar cihanankarabrc avatar justinspringer avatar lax1089 avatar mark-asbury avatar tiagoms1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.