Skip to content

chiragnabhoya/BANK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BANK

📌 Overview

This project is a Rust-based backend system for managing bank accounts. It includes basic functionalities such as account creation, balance management, and transaction handling.

📂 Project Structure

BANK/
│── src/
│   └── main.rs         # Main application file
│── target/             # Compiled output directory
│── .gitignore          # Git ignore rules
│── Cargo.lock          # Dependency lock file
└── Cargo.toml          # Project dependencies and metadata

🚀 Getting Started

Prerequisites

Ensure you have the following installed:

Installation

  1. Clone the repository:
    git clone https://github.com/chiragnabhoya/BANK.git
    cd BANK
  2. Build the project:
    cargo build
  3. Run the application:
    cargo run

📜 Features

  • Basic banking functionalities with Account and Bank structs.
  • Supports creating accounts and printing account details.
  • Manages balances and transactions.
  • Uses Rust's derive(Debug) for structured output.

📝 Code Overview

The main.rs file defines:

  • Account struct: Represents a bank account with ID, balance, and holder name.
  • Bank struct: Manages multiple accounts.
  • Functions to print account details and manage balances.
  • Demonstrates Rust's borrowing and ownership concepts.

👨‍💻 Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-name).
  3. Commit changes (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a Pull Request.

⚖️ License

This project is licensed under the MIT License.

📞 Contact

For inquiries or issues, please open an issue or reach out to chiragnabhoya2506@gmail.com.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages