Giter Site home page Giter Site logo

bank-account-api's Introduction

Bank Account API - Assignment

Problem Description

We are a bank and would like to modernize our Account Management system in our Retail Banking. We would like to use Micro Service architecture to replace the monolith application. The system is supposed to contain the following functionalities:

  • Create a Savings Account for the Customer
  • Deposit money to Account
  • Withdraw money from Account
  • Read available balance
  • List last 10 transactions of the Account

Requirements

You are expected to create a solution that exposes REST APIs for the mentioned functionalities by using a test-driven approach in a publicly shared GitHub repository. The REST API must be able to handle exceptions such as invalid input, as well as business validations from a common-sense perspective. You should use git commit messages to show your thoughts and decisions during the development phase.

Technical Requirements

  • Java 17
  • Junit 5
  • Spring-boot
  • Gradle

Extra questions (optional):

  • How will you design/organize the micro services for your API product?
  • How will you break down the business requirements into user stories?

Run Guide:

  • The API models and interfaces are generated via the build
  • Contract can be found in src/main/resources/api/contract.yml

1. Build the project first

This will generate the API models, build the artifact and test the project

gradlew clean build

This will regenerate the API models only

gradlew clean compileJava

2. Start as a standard Spring Boot application and

  1. Try the API via the Swagger UI
  2. Import src/main/resources/api/contract.yml into Postman

bank-account-api's People

Contributors

k9m avatar

Watchers

 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.