SpringBoot Bank Application
Welcome to the SpringBoot Bank Application repository. This application is a simple banking system developed using Spring Boot, which provides various banking functionalities like account management, transactions, loan and card management and more.
Table of Contents
- User Registration and Authentication
- Account Management (Create, Fetch, Update, Delete accounts)
- Transaction Management (Deposit, Withdraw, Transfer)
- Card Management (Create, Fetch, Update, Delete cards)
- Loans Management (Create, Fetch, Update, Delete Loan sanctions)
- Balance Inquiry
- Transaction History
- Java: Programming Language
- Spring Boot: Framework for building the application
- Spring Data JPA: For database interactions
- MySQL: Relational database for development and testing
- Maven: Build and dependency management tool
- JUnit: Testing framework
- JDK 11 or later
- Maven 3.6.0 or later
- Clone the repository:
git clone https://github.com/Meghamala/SpringBootBankApplication.git
- Navigate to the project directory:
cd SpringBootBankApplication - Build the project:
mvn clean install
- Start the application:
mvn spring-boot:run
- The application will be accessible at
http://localhost:8080.
Here are some of the main API endpoints available in this application:
- Customer Management
POST /api/users/register- Register a new userPOST /api/users/login- User login
- Account Management
POST /api/accounts- Create a new accountGET /api/accounts/{id}- Get account detailsPUT /api/accounts/{id}- Update account informationDELETE /api/accounts/{id}- Delete an account
- Cards Management
POST /api/cards- Create a new card and attach to accountGET /api/cards/{id}- Get card detailsPUT /api/cards/{id}- Update card informationDELETE /api/cards/{id}- Detach and delete a card
- Transaction Management
POST /api/transactions/deposit- Deposit money into an accountPOST /api/transactions/withdraw- Withdraw money from an accountPOST /api/transactions/transfer- Transfer money between accountsGET /api/transactions/history/{accountId}- Get transaction history for an account
Contributions are welcome! Please fork this repository and submit pull requests with improvements.
- Fork the repository.
- Create a new feature branch (
git checkout -b feature/YourFeature). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Create a new Pull Request.