Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.59 KB

README.md

File metadata and controls

72 lines (56 loc) · 1.59 KB

BankApp

This project is an online banking application that allows users to:

  • Register and open an account with an initial balance
  • Login to check their balance
  • Withdraw and deposit money from their account

Features

  • User Registration: Create a new account with a username, password, and initial balance.
  • User Authentication: Login with username and password to access account details.
  • Account Management: Deposit and withdraw funds from the account.
  • Balance Inquiry: Check the current balance.

Technologies Used

  • Frontend: React
  • Backend: Node.js, Express.js
  • Database: MySQL

Installation

  1. Installations:

  2. Build Database:

    • Set up MySQL Workbench:
      • Open MySQL Workbench and connect to local instance 3306.
      • Create schema:
        • Use the SQL script provided in bankSchema.sql to create the database and table.
  3. Clone the repository:

    git clone https://github.com/yuehcw/BankApp.git
    cd BankApp
  4. Set up the database account:

    Open the `db.js` file, replace the `username` and `password` with yours
  5. Install main directory dependencies:

    npm install
  6. Install server dependencies:

    cd server
    npm install
  7. Install client dependencies:

    cd ../client
    npm install
  8. Run the server:

    cd ../server
    npm start
  9. Run the client:

    cd ../client
    npm start