Skip to content

This Repository contains the mini-project made for the Object Oriented Course (2021-2022).

License

Notifications You must be signed in to change notification settings

VARUN-K-BANSAL/oops-mini-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bank Management System

This Bank Management System is a mini project created using Java for Object Oriented Programming Course 2021-2022. It is a simple Command Line Application which can be used using terminal. The data of users is stored in MySQL database. We can CREATE a new user means a new account, can READ the users data, can UPDATE the details of the user, can DELETE a record of the user

Group

Group 19

All Contributors ✨✨


AMOGH PATEL
S20200010015

RANJITH GOUD KOLA
S20200010094

AKHILA GUTTULA
S20200010074

VASAM VENU
S20200010225

VARUN KUMAR BANSAL
S20200010223

Requirements

MySQL server
Java JDK
CLASSPATH environment variable having JDBC driver path in it.

Getting Started

1. Clone the repository

git clone https://github.com/VARUN-K-BANSAL/oops-mini-project.git
cd oops-mini-project

2. Compile the Main file

javac Main.java

3. Run the Program

java Main
java Main -h

Other Instructions

Help or Instruction module

java Main -h
java Main

Creating a new account

java Main -c

On running the above command it will list a help containing the arguments required for this command

1. Type of account you want For savings account give SA, for current account give CA.
2. Name of the account holder and if your name has spaces in between (firstname lastname) then give like this "firstname lastname".
3. Gender give M for male and F for female.
4. Username you wanted to use for future banking purposes
5. Password you wanted to use for login and banking purposes
6. Opening Balance for the account

For updating your password

java Main -up

On running the above command it will list a help containing the arguments required for this command

1. Username of the account
2. Old password or the current password you are using
3. New password to set

Searching in Database

java Main -s

On running the above command it will list a help containing the arguments required for this command

-u for searching using username
java Main -s -u username
-a for searching using account number
java Main -s -a account_number
-n for searching using name
java Main -s -n name
-t for tracing a transaction using transaction i
java Main -s -t transaction_id

Deleting your account

java Main -d

On running the above command it will list a help containing the arguments required for this command

1. username of your account
2. password of your account
Below is the complete instruction
java Main -d username password

Transactions

java Main -tr

On running the above command it will list a help containing the arguments required for this command

For withdrawing Money use -w
1. username of account
2. Password of account
3. Amount
Complete command will look like this
java Main -tr -w username password amount
For depositing Money use -d
1. username of account
2. Amount
java Main -tr -d username amount
For transferring Money use -t
1. username of account
2. Password of account
3. Amount
4. Username of the beneficiary
java Main -tr -t sender_username password amount beneficiary_username

Loan

java Main -l

About

This Repository contains the mini-project made for the Object Oriented Course (2021-2022).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages