A comprehensive banking application designed using HTML, CSS, Thymeleaf for the frontend, and Java with Spring Boot for the backend. This application enables users to perform essential banking operations such as managing accounts, making transactions, and viewing transaction histories.
- Features
- Tech Stack
- Architecture
- Getting Started
- Installation
- Usage
- API Endpoints
- Contributing
- License
- User authentication and authorization
- Account management (create, update, delete accounts)
- Transaction processing (deposits, withdrawals, transfers)
- View account balances and transaction history
- Responsive design with a user-friendly interface
- Frontend: HTML, CSS, Thymeleaf
- Backend: Java, Spring Boot
- Database: MySQL (or your preferred database)
- API Documentation: Swagger (for detailed API specs)
The application follows a client-server architecture:
- Frontend: Built with HTML, CSS, and Thymeleaf, responsible for rendering the UI with dynamic content.
- Backend: Built with Java and Spring Boot, responsible for handling business logic and communicating with the database.
Follow these instructions to set up the project locally.
- Java JDK 11 or higher
- Maven (for managing Java dependencies)
- MySQL (or other preferred database)
-
Clone the repository:
git clone <repository-url> cd banking-application
-
Backend Setup:
mvn clean install
-
Database Setup:
- Create a database named
banking_app. - Update the database credentials in the
src/main/resources/application.propertiesfile.
- Create a database named
-
Run the Application:
mvn spring-boot:run
- Access the application at
http://localhost:8080. - Use the login page to access your account.
- Navigate through the application to perform banking operations.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/accounts |
Fetch all user accounts |
| POST | /api/accounts |
Create a new account |
| PUT | /api/accounts/{id} |
Update account details |
| DELETE | /api/accounts/{id} |
Delete an account |
| POST | /api/transactions |
Perform a transaction (deposit, withdrawal, transfer) |
Contributions are welcome! Please fork the repository and create a pull request for any changes you propose.