{"id":20318584,"url":"https://github.com/ralintuscano/springboot-banking-api","last_synced_at":"2026-05-05T10:33:39.572Z","repository":{"id":237572717,"uuid":"794780934","full_name":"ralintuscano/springboot-banking-api","owner":"ralintuscano","description":"Simple yet robust Spring Boot API for managing banking operations using Spring Boot","archived":false,"fork":false,"pushed_at":"2024-05-14T22:33:26.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T13:19:37.132Z","etag":null,"topics":["clean-architecture","dto-mapper","hibernate-jpa","mapstruct","postgresql","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ralintuscano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-02T00:00:12.000Z","updated_at":"2024-05-14T22:33:30.000Z","dependencies_parsed_at":"2024-05-12T03:22:18.833Z","dependency_job_id":null,"html_url":"https://github.com/ralintuscano/springboot-banking-api","commit_stats":null,"previous_names":["ralintuscano/springboot-rest-api","ralintuscano/springboot-banking-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralintuscano%2Fspringboot-banking-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralintuscano%2Fspringboot-banking-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralintuscano%2Fspringboot-banking-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralintuscano%2Fspringboot-banking-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralintuscano","download_url":"https://codeload.github.com/ralintuscano/springboot-banking-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241819352,"owners_count":20025302,"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":["clean-architecture","dto-mapper","hibernate-jpa","mapstruct","postgresql","spring-boot"],"created_at":"2024-11-14T18:40:17.617Z","updated_at":"2026-05-05T10:33:39.545Z","avatar_url":"https://github.com/ralintuscano.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Banking API\n\nThis project showcases a simple yet robust Spring Boot API for managing banking operations.\n\n## Features\n\n- **Deposit:** Add funds to an account.\n- **Withdraw:** Withdraw funds from an account.\n- **Transfer:** Transfer funds between accounts.\n- **Get All Accounts:** Retrieve a list of all accounts.\n- **Get Users:** Fetch details of all users.\n- **Get All Transactions:** Fetch all transactions for a user/account.\n\n## Technologies Used\n- Spring Boot\n- PostgreSQL\n- Lombok\n- hibernate\n- Mapstruct\n- Postman\n\n## Core Components\n\n- **Controller:** Implements RESTful endpoints for handling HTTP requests.\n- **Service:** Handles business logic and orchestrates interactions between components.\n- **Repository:** Interacts with the database for CRUD operations.\n- **DTOs (Data Transfer Objects):** Facilitate data exchange between layers.\n- **Mappers:** Convert entities to DTOs and vice versa using mapstruct.\n- **Exception Handling:** Custom exception handling for graceful error responses.\n- **AOP (Aspect-Oriented Programming):** Global exception handler for centralized error management.\n\n## Setup\n\n1. Clone the repository.\n2. Navigate to the project directory.\n3. Run `mvn spring-boot:run` to start the application.\n4. The API will be available at `http://localhost:8080`.\n\n## Usage\n\n### Deposit\n\n```http\nPOST /transactions/deposit\n{\n    \"transactionType\" : \"CREDIT\",\n    \"amount\": \"12000\",\n    \"accountId\": \"1\"\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralintuscano%2Fspringboot-banking-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralintuscano%2Fspringboot-banking-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralintuscano%2Fspringboot-banking-api/lists"}