Skip to content

This is a operating system based project which discovers the basic functionalities such as joint account money withdraw and other functions using core OS concepts such as semaphores , threads e.t.c

Notifications You must be signed in to change notification settings

sachin9536/Bank-Transaction-Synchroniser

Repository files navigation

Bank Transaction Synchroniser

Welcome to Our project -_-

An creative approach on how do we approach traditional banking services via using the core concepts of Operating system

Teammates:-) 1)Tushar kanda (https://github.com/Tusharkanda) mail :- [email protected] 2) Priyanshu maniyar(https://github.com/priyanshu-Maniyar) mail:- [email protected]

The project is a simulation of the online banking system. The server handles each client request with help of multi-threading concept. Clients' information along with account details and balance amount is stored in the database files (.txt files). Semaphores are used to synchronize user operations. There are three types of users - Administrators, Normal users, and Joint account users. File locking concept is also used to synchronize file manipulations for joint account user operations.

Operating system concepts used:

  • Socket programming
  • Multi threading
  • Semaphores
  • File manipulations and File locking mechanism

Functionalities available to admin:

  • Adding other users
  • Deleting other users
  • Searching for a user
  • Modifying the details of the user

Functionalities available to normal and joint users:

  • Depositing and withdrawing money
  • Balance enquiry option
  • Password change option
  • Viewing account details

Instructions to run the program

Starting the server

make clean
make 

./Server 9800 

Starting the client program

./a.out 127.0.0.1 9800

Once the Bank Server starts running, the bank owner (supreme admin) will log in and add other users.
bank owner's username 👉 Bankowner
bank owner's password 👉 b@nkowner

Assumptions

  • Bank server never shuts down. If it does so, the bank owner has to add the current customers.
  • Customers can't register directly. They need to have consent from administrators.

About

This is a operating system based project which discovers the basic functionalities such as joint account money withdraw and other functions using core OS concepts such as semaphores , threads e.t.c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published