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.
-
View All Accounts:
Displays a list of all accounts with details such as:- Account ID
- Holder Name
- Balance
-
View Transactions:
Displays a list of all transactions from a given account by:
- Date
- Transaction Type
- Amount Transacted
-
Add New Account:
Create new accounts with:- Account holder's name
- Initial balance
-
Deposit:
Deposit funds into a specific account. -
Withdraw:
Withdraw funds from a specific account. -
Delete Account:
Permanently delete an account after confirmation.
- 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
git clone https://github.com/nokonkwo-jpg/PennyWise.git
cd bankapp
- Launch IntelliJ IDEA.
- Open your Spring Boot project via File > Open.
- Click the Refresh button in the Maven tool window (on the right).
- Navigate to
src/main/java/BankappApplication
. - Right-click and select Run 'BankappApplication'.
- Visit
http://localhost:8080
in your browser.
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 |