Skip to content

PennyWise is your trusty bank manager built with Spring Boot, Thymeleaf, and Bootstrap. Create accounts, view transactions, and handle deposits, withdrawals, and deletions—all with a sleek, user-friendly interface.

Notifications You must be signed in to change notification settings

nokonkwo-jpg/PennyWise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PennyWise

This is PennyWise! Built with Spring Boot, Thymeleaf, and Bootstrap, it helps users manage their bank accounts. It supports creating accounts, viewing transactions, and performing essential operations like deposits, withdrawals, and account deletion—all in a user-friendly interface.


Features

  1. View All Accounts:
    Displays a list of all accounts with details such as:

    • Account ID
    • Holder Name
    • Balance
  2. View Transactions:

    Displays a list of all transactions from a given account by:

    • Date
    • Transaction Type
    • Amount Transacted
  3. Add New Account:
    Create new accounts with:

    • Account holder's name
    • Initial balance
  4. Deposit:
    Deposit funds into a specific account.

  5. Withdraw:
    Withdraw funds from a specific account.

  6. Delete Account:
    Permanently delete an account after confirmation.


Technologies Used

  • Backend: Spring Boot
    • Thymeleaf for server-side templating
    • Spring MVC for routing
    • Spring Data JPA for data persistence
  • Frontend: Bootstrap for responsive UI
  • Database: PostgreSQL

Quick Start

1. Clone the repository:

git clone https://github.com/nokonkwo-jpg/PennyWise.git
cd bankapp

2. Open the Project

  • Launch IntelliJ IDEA.
  • Open your Spring Boot project via File > Open.

3. Ensure Dependencies are Loaded

  • Click the Refresh button in the Maven tool window (on the right).

4. Run Main Class

  1. Navigate to src/main/java/BankappApplication .
  2. Right-click and select Run 'BankappApplication'.

5. Access the Application

  • Visit http://localhost:8080 in your browser.

API Endpoints

Accounts

Method Endpoint Description
GET / View all accounts
POST /accounts/add Add a new account
POST /accounts/delete/{accountId} Delete an account by ID
POST /{id}/deposit Deposit into an account
POST /{id}/withdraw Withdraw from an account
GET /{id}/transactions View transactions for an account

About

PennyWise is your trusty bank manager built with Spring Boot, Thymeleaf, and Bootstrap. Create accounts, view transactions, and handle deposits, withdrawals, and deletions—all with a sleek, user-friendly interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published