GithubHelp home page GithubHelp logo

karthikhegde05 / online-banking-management-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 27 KB

OS project on socket programming, multi-threading, synchronisation mechanism, file management

C 99.28% Makefile 0.72%

online-banking-management-system's Introduction

Online Banking Management System

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.

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.