Giter VIP home page Giter VIP logo

mini_atm_simulator's Introduction

MINI ATM SIMULATOR v2.0

This is the simple application which simulate how the ATM system works.

Requirements

  • JDK 1.8

Data Source File

Prepare the CSV file for storing the Account Data by following format below:

The delimiter is ;

    account_name;pin;balance;account_number

Or you can find the example file inside Project Directory.

Installation

  1. Clone the repository here.
  2. Go to the project's directory: mini_atm_simulator
  3. Compile all the *java files by running this command below:
    javac -d bin src\com\mitrais\atm\*.java src\com\mitrais\atm\model\*.java src\com\mitrais\atm\repository\*.java src\com\mitrais\atm\screen\*.java src\com\mitrais\atm\service\*.java src\com\mitrais\atm\validation\*.java
  4. Create manifest file by running: echo Main-Class: com.mitrais.atm.Main > MANIFEST.mf
  5. Create jar file by running: jar cfvm atm.jar MANIFEST.mf -C bin/ .

Run the Application

There are 2 ways to run this application:

  • Without Data Source File:

    Type command: java -jar atm.jar on your Terminal.

    The Account Data will be loaded from default data below:

    Name Account Number PIN Balance
    John Doe 112233 012108 $100
    Jane Doe 112244 932012 $30
  • With Data Source File:

    Type command: java -jar atm.jar <data_source_filepath> on your Terminal.

    Example

        java -jar atm.jar D:\Users\blabla\data.csv

mini_atm_simulator's People

Contributors

jchacana avatar

Watchers

James Cloos avatar  avatar E. Akbar Binaji 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.