Mora
B

Bank_system_simple

BuildingProvenOpen SourceFinance

A secure Banking API built with Java, Spring Boot, and PostgreSQL. Layered architecture, ACID transactions, & enterprise

Visit site

Made by

MO
Mora

@mora

Backend Developer

Phillippines
View profile

Journey

README

Banking API

A secure, production-ready Banking API built with Java and Spring Boot. Designed with enterprise architecture in mind โ€” layered structure, ACID transactions, and a focus on data integrity.


๐Ÿ—๏ธ Architecture

This project follows a Layered Architecture (Controller โ†’ Service โ†’ Repository โ†’ Entity).


โœจ Features

Core Banking

  • Customer Management โ€” Register, login, update profile, change password
  • Account Management โ€” Open, view, update status, close accounts
  • Transactions โ€” Deposit, withdraw, transfer, view history
  • Data Integrity โ€” ACID transactions using @Transactional
  • Money Precision โ€” BigDecimal for all monetary values

Architecture & Design

  • Layered Architecture โ€” Clean separation of concerns
  • DTOs & Mappers โ€” Entity โ†” DTO conversion
  • Exception Handling โ€” Global handler with custom exceptions
  • Validation โ€” @Valid, @NotBlank, @Email, @Size
  • Pagination โ€” Pageable on all list endpoints
  • Custom IDs โ€” customerCode, accountCode, transactionCode (non-guessable)

๐Ÿ› ๏ธ Tech Stack

Layer Technology
Language Java 17
Framework Spring Boot 3.x
Security Spring Security + JWT
Database PostgreSQL
ORM JPA / Hibernate
Build Maven
Version Control Git

๐Ÿ“Œ Status

๐Ÿšง In Development โ€” Core features are built. Security and deployment are next.


Built with Java, Spring Boot, and PostgreSQL. MIT License

MO

Mora

Oct 10ยท

After testing, the system is now ready for open source use. This project is a simple banking backend that you can plug into your own apps. If you're building a student dashboard, you can use this to show real customer, account, and transaction data โ€” just connect it to your frontend and it works. If you're practicing frontend development, this gives you a working backend so you don't have to build one yourself. If you're learning how a bank system works, you can run it, create accounts, move money around, and see how everything fits together. You can also copy it into your own project as a starting point and change it however you like. It's meant for learning and practice โ€” not for real money or real customers.

MO

Mora

Oct 8ยท

I'm finish developing the layers, and also add the system and its ready to deploy.

reminder: the api still has no security I will add it soon

MO

Mora

Oct 7ยท

Now, I updated my system with a service and password encoder for hashing

MO

Mora

Oct 6ยท

Building a Banking API with Spring Boot and PostgreSQL. Focused on layered architecture, ACID transactions, and clean exception handling. Security is next. Learning a lot about how real enterprise backends are structured.

Building a dev tool or hiring developers? Get seen here. Become our Sponsor

Stays free because of
  • Blairwitchii
  • Natzui Alyx
  • </Peter> "21st Dev Vinci"
  • Doctor Scoliosis
  • Carlo Dandan
  • Francis Mike John Camogao
  • RCastromero()
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • </Peter> "21st Dev Vinci"
  • Doctor Scoliosis
  • Carlo Dandan
  • Francis Mike John Camogao
  • RCastromero()
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • </Peter> "21st Dev Vinci"
  • Doctor Scoliosis
  • Carlo Dandan
  • Francis Mike John Camogao
  • RCastromero()
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • </Peter> "21st Dev Vinci"
  • Doctor Scoliosis
  • Carlo Dandan
  • Francis Mike John Camogao
  • RCastromero()
  • Reymark Aguila
Join them

Building a dev tool or hiring developers? Get seen here. Become our Sponsor

Stays free because of
  • Natzui Alyx
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Carlo Dandan
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Carlo Dandan
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Carlo Dandan
  • Reymark Aguila
  • Blairwitchii
  • Natzui Alyx
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Carlo Dandan
  • Reymark Aguila
  • Blairwitchii
Join them