Skip to content

codeplaygroundspace/swift-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftBank App

SwiftBank is a fictional online banking application designed to simulate a digital banking experience. It allows users to log in, view their transaction history, check their balance, transfer funds, request loans, and more. This app is a practical example of a user-focused banking interface and financial management tool.

Table of Contents

Installation

To set up the SwiftBank app on your local machine:

  1. Clone the repository:

    git clone https://github.com/codeplaygroundspace/SwiftBank.git
  2. Navigate to the project directory:

    cd SwiftBank
  3. Open index.html in your browser to start using the application.

This project is front-end only, so no additional dependencies are needed.

Usage

To use the SwiftBank app, follow these steps:

  1. Log In:

    • Use the example credentials provided (e.g., username js and PIN 1111).
  2. Transfer Money:

    • Enter the recipient's username and amount, then press "Transfer".
  3. Request a Loan:

    • Request a loan by entering an amount if your transaction history meets the criteria.
  4. Close Account:

    • Enter your username and PIN to delete the account.
  5. Sort Transactions:

    • Toggle the sorting of transactions by clicking the "Sort" button.

Example Credentials

  • User 1: Username: js, PIN: 1111
  • User 2: Username: jd, PIN: 2222

Features

  • Login and Logout: Secure login with automatic logout after inactivity.
  • Balance Display: Shows a user’s balance based on transactions.
  • Fund Transfer: Transfer funds between users.
  • Loan Requests: Request a loan if eligible.
  • Account Closure: Close your account by entering credentials.
  • Transaction Sorting: Sort transactions in ascending or descending order.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Bank App with vanilla JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published