{"id":19852972,"url":"https://github.com/chandrakanthrck/bankingapplication","last_synced_at":"2025-02-28T21:18:36.745Z","repository":{"id":254355129,"uuid":"846277924","full_name":"chandrakanthrck/BankingApplication","owner":"chandrakanthrck","description":"A Spring Boot-based banking application with features for account management, transactions, funds transfer, and JWT token-based authentication. Includes Swagger for API documentation and PDF bank statement generation.","archived":false,"fork":false,"pushed_at":"2024-09-06T02:23:56.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T13:29:42.094Z","etag":null,"topics":["hibernate","jwt-authentication","mysql","rest-api","spring-security","springboot","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chandrakanthrck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-22T21:59:25.000Z","updated_at":"2024-09-06T02:23:59.000Z","dependencies_parsed_at":"2025-01-11T13:28:42.023Z","dependency_job_id":"2459c692-3b14-4c9a-9e10-a6870b3e863d","html_url":"https://github.com/chandrakanthrck/BankingApplication","commit_stats":null,"previous_names":["chandrakanthrck/bankingapplication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBankingApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBankingApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBankingApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBankingApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandrakanthrck","download_url":"https://codeload.github.com/chandrakanthrck/BankingApplication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241241851,"owners_count":19932828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hibernate","jwt-authentication","mysql","rest-api","spring-security","springboot","swagger-ui"],"created_at":"2024-11-12T14:05:04.012Z","updated_at":"2025-02-28T21:18:36.731Z","avatar_url":"https://github.com/chandrakanthrck.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Spring Boot Banking Application\n\n## Overview\nThis is a Spring Boot-based banking application that provides a range of features for managing user accounts, transactions, and authentication. The application includes capabilities such as account creation, login, debit, credit, funds transfer, and bank statement generation. JWT token-based authentication is implemented for secure user sessions. The application is documented using Swagger for easy API exploration and testing.\n\n## Features\n- **Account Management**\n  - Create new user accounts\n  - User login with JWT authentication\n- **Transaction Management**\n  - Credit and debit operations on user accounts\n  - Funds transfer between accounts\n- **Bank Statements**\n  - Generate bank statements in PDF format for specific date ranges\n- **Security**\n  - JWT token-based authentication for secure access to the APIs\n- **API Documentation**\n  - Interactive API documentation with Swagger UI\n\n## Technologies Used\n- **Java 17**\n- **Spring Boot 3.x**\n- **Spring Security**\n- **JWT (JSON Web Token)**\n- **Hibernate/JPA**\n- **MySQL**\n- **Swagger/OpenAPI 3**\n- **Lombok**\n\n## Getting Started\n\n### Prerequisites\n- Java 17 or higher\n- Maven 3.6+\n- MySQL Server\n\n### Setup\n\n#### Clone the Repository\n```bash\ngit clone https://github.com/your-username/banking-application.git\ncd banking-application\n```\n\n#### Configure the Application\nUpdate the database connection properties in `src/main/resources/application.properties`:\n\n```properties\nspring.datasource.url=jdbc:mysql://localhost:3306/banking\nspring.datasource.username=root\nspring.datasource.password=your_password\n```\n\nUpdate the JWT secret and other relevant properties as needed.\n\n#### Run the Application\n\nUse Maven to build and run the application:\n\n```bash\nmvn spring-boot:run\n```\n\n#### Access the Application\n\n- The application will run on `http://localhost:8080`.\n- The Swagger UI for API documentation is available at `http://localhost:8080/swagger-ui.html`.\n\n## API Endpoints\n\n### User Account Management\n- `POST /api/user`: Create a new user account\n- `POST /api/user/login`: Login and obtain JWT token\n\n### Transaction Operations\n- `POST /api/user/credit`: Credit an account\n- `POST /api/user/debit`: Debit an account\n- `POST /api/user/transfer`: Transfer funds between accounts\n\n### Bank Statement\n- `GET /bankstatement`: Generate a bank statement in PDF format\n\n## Security\n\nAll sensitive operations require a valid JWT token to be passed in the `Authorization` header as a Bearer token.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fbankingapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandrakanthrck%2Fbankingapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fbankingapplication/lists"}