Skip to content

feat(cli): add banking system cli app and fix #166 - #182

Merged
Tejas-Santosh-Nalawade merged 7 commits into
acesdit:mainfrom
AksharGoyal:feat/banking-system-rust
Oct 23, 2025
Merged

feat(cli): add banking system cli app and fix #166#182
Tejas-Santosh-Nalawade merged 7 commits into
acesdit:mainfrom
AksharGoyal:feat/banking-system-rust

Conversation

@AksharGoyal

@AksharGoyal AksharGoyal commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Banking System

Description

A small CLI banking system written in Rust for learning and demo purposes.
Provides account creation, login, simple operations and account deletion via a single binary.

Features:

  • Create accounts with randomly generated 10-digit account numbers and 6-digit PINs
  • Login using account number + PIN
  • Delete accounts
  • Persistent storage using SQLite (via rusqlite) so accounts survive between runs
  • CLI parsing and subcommands handled with clap for a familiar UX and easy extension
  • Random data generation uses rand for account numbers and PINs

Dependency mapping (from Cargo.toml):

  • clap — command-line parsing and subcommands
  • rand — secure-ish random generation for account numbers and PINs
  • rusqlite — persistent SQLite backend (database file is created in the working directory by default)

Tech Stack

  • Language: Rust
  • Build / package manager: cargo
  • CLI parsing: clap
  • Random generation: rand
  • Persistence: rusqlite
  • Testing: cargo test
  • Formatting: rustfmt (cargo fmt)
  • Linting: clippy (cargo clippy)

This contribution is part of Hacktoberfest 2025.

@AksharGoyal
AksharGoyal marked this pull request as ready for review October 23, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants