Giter Site home page Giter Site logo

surya9263 / banking-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.19 MB

A banking application where an user can create an account, deposit into that account and withdraw from that account and check balance of that account.

JavaScript 100.00%
command-line-interface commander mongodb nodejs

banking-app's Introduction

Banking app

Run locally

Step-1

npm install

Step-2

you can run following commands in the terminal -

To create an account

  • node index.js CREATE `{your name}` `{unique bank account code}`

To deposit amount into your account

  • node index.js DEPOSIT `{your bank account code}` `{amount to deposit}`

To withdraw amount from your account

  • node index.js WITHDRAW `{your bank account code}` `{amount to withdraw}`

To check your account balance

  • node index.js BALANCE `{your bank account code}`

Sample I/O

  • node index.js CREATE ACC001 KELP -> Account with code ACC001 created successfully

  • node index.js DEPOSIT ACC001 10000 -> Deposited ₹10000 into ACC001's account

  • node index.js WITHDRAW ACC001 1000 -> Withdrew ₹1000 from ACC001's account

  • node index.js BALANCE ACC001 -> KELP's account balance: ₹12000

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.