Skip to content

youssefnabil2030/SkyBank-Bank-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SkyBank-Bank-System

# Banking System Project

This project is a scalable, secure, and multi-threaded banking system built with C++. It supports millions of user records through database integration, offering features like account creation, deposits, and balance retrieval.

## Features
- **Scalable Architecture**: Supports millions of users using MySQL for storage.
- **Multi-threading**: Handles multiple client requests concurrently.
- **Secure**: Includes thread-safe operations for data consistency.
- **Easy Setup**: Modular design with a user-friendly interface.

## Prerequisites
- **C++ Compiler**: GCC or equivalent
- **MySQL Server**: Version 8.0 or above
- **MySQL Connector for C++**
- **Threading Support**: POSIX threads (pthreads)

## Setup
1. Clone the repository:
   ```bash
   git clone https://github.com/youssefnabil2030/banking-system
   cd banking-system
  1. Set up the database:

    • Start your MySQL server.
    • Create the database:
      CREATE DATABASE bank_system;
      USE bank_system;
      CREATE TABLE accounts (
          id INT AUTO_INCREMENT PRIMARY KEY,
          name VARCHAR(100),
          balance DOUBLE
      );
  2. Compile the program:

    g++ -o bank_system bank_system.cpp -lmysqlclient -lpthread
  3. Run the application:

    ./bank_system

Usage

  • Create Account: Input name and initial balance.
  • Deposit: Add money to an account by entering its ID.
  • Display Account: View account details by ID.

Future Enhancements

  • Implement encryption for sensitive data.
  • Add support for online transactions.
  • Introduce reporting and analytics.

License

This project is open-source and licensed under the MIT License.

Contributing

Feel free to fork the repository and contribute by submitting pull requests!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages