Git Product home page Git Product logo

bank-tech-test's Introduction

Bank Tech Test

Project description

  • This is a simple app which you can interact with through the command line.
  • Users can make cash deposits and withdrawals.
  • Users can also see their account statement (date, amount, balance) printed.

User stories

As a user,
So I can have a coherant place to store my money,
I want to be able to make cash deposits into my bank ✅

As a user,
So I can spend all the money that I earn in a month,
I want to be able to withdraw that money ✅

As a user,
So I can keep track of my spending,
I want to be able to see an account statement whenever I want ✅

Solution

I decided to model my solution into a two classes because it allowed for a simple but effective foundation from which I could launch the development cycle. Each class has a clear responsibility

Gems

  • pry - lets you interact with your program quickly and easily through the command line. It also runs all of your tests for you once you have finished.
  • simplecov - for test coverage.

Contribution

If you would like to contribute to this project, please submit a pull request at our github page.

Local quickstart and running tests

First, clone this repository. Then:

cd bank-tech-test
bundle install
rspec

This will take you into pry where you can proceed to interact with this app through the command line. Then:

quit

when you want to exit the program. This will run the tests for you.

Example output

date || credit || debit || balance 14/01/2012 || || 500.00 || 2500.00 13/01/2012 || 2000.00 || || 3000.00 10/01/2012 || 1000.00 || || 1000.00

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.