Skip to content

bgnatowski/anti-fraud-system

Repository files navigation

Anti-Fraud-System

REST API project (for learning purposes) a'la banking system in hexagonal architecture.

Tech stack:

  • Spring Boot 3.2.4
  • Spring Validation
  • Spring Security 6
  • Spring Data JPA
  • Lombok
  • PostgreSQL
  • Docker
  • Spock

Getting started

Instalation

  1. Clone repository
git clone https://github.com/bgnatowski/anti-fraud-system
cd anti-fraud-system
  1. Run Postgres on docker
docker-compose up -d
  1. Build project
mvn clean install
  1. Run the application
mvn spring-boot:run
  1. Testing with Postman
    • Import the provided Postman collection (anti-fraud-system.postman_collection.json).
    • Ensure that the server is running on localhost:1102.
    • Execute the requests directly from Postman.

Notes

  • All transactions are validated based on specific rules such as amount thresholds and IP correlations.
  • Ensure that the necessary environment variables and database configurations are set before running the server.

#TODO

  • better swagger documentation
  • connect transaction logic with user-account-card for better validation
  • create utility class for endpoints urls

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages