01 / Introduction

IIIT Surat Logo

Indian Institute of Information Technology Surat

Ojaswa Varshney (UI22CS54)
Guided by Dr. Kaustubh Dhondge

Final Semester Presentation

TradeX.
Platform

for IDFC FIRST Bank

IDFC FIRST Bank Logo

02 / The Challenge

The Problem.

  • Legacy Processes: Legacy software depended on other vendors for working.
  • In-house Need: Wanted an in-house Application for Trade Finance, BG, LC, SBLC, etc.
  • Inefficiency: Lengthy turnaround times and manual verification.
  • Security Risks: Need for granular authorization in high-stakes financial environments.

03 / The Solution

TradeX Architecture.

A highly scalable, secure, and resilient microservices platform.

Backend

Spring Boot, PostgreSQL

Frontend

Flutter

Infrastructure

Docker, Kubernetes

04 / Diagram

System
Architecture.

Microservices design enabling modularity, independent scaling, and fault tolerance.

TradeX Architecture

05 / Security

System Architecture for
Authentication.

Powered by ORY Hydra

  • OAuth 2.0 and OpenID Connect provider.
  • Stateless, API-first architecture.
  • Secure token issuance and validation for all microservices.
  • Replaced traditional session-based auth with modern JWTs.

06 / Security

System Architecture for
Authorization.

Powered by Permify (ReBAC)

  • Relationship-Based Access Control (ReBAC) inspired by Google Zanzibar.
  • Fine-grained permissions for specific financial entities (e.g., specific branches, specific corporate clients).
  • Decoupled from business logic, ensuring scalable security policies.

07 / Workflows

Maker-Checker.

Implementing robust concurrency controls.

  • 4-Eyes Principle: Crucial for banking operations to prevent fraud.
  • Concurrency Issues: Resolving race conditions when multiple checkers attempt to approve simultaneously.
  • Pessimistic Locking: Enforced via PostgreSQL `SELECT ... FOR UPDATE`.
  • Optimistic Locking: Leveraging version numbers for safe state transitions.

08 / Messaging

Event-Driven
Pipelines.

Utilizing Apache Kafka for decoupled, real-time data streaming and audit logging.

Kafka Architecture

09 / Integrations

Financial Messaging.

  • SWIFT (MT700 series): International generation of LCs securely formatted and transmitted.
  • SFMS: Domestic messaging for Indian financial institutions.
  • Automated Parsers: Robust parsers to translate business entities into standard banking formats.

10 / Training Bootcamp

SkyFox
Cinemas.

Full-stack movie ticket booking platform built during the technical bootcamp to solidify fundamentals.

SkyFox Show Selection SkyFox Booking Confirmed

11 / Summary

Conclusion &
Learnings.

  • Transitioned from academic theory to enterprise-grade production systems.
  • Mastered backend services design, component architecture, and modern database modeling.
  • Gained deep domain knowledge in Trade Finance (LCs, BGs).
  • Learned the importance of TDD, clean architecture, and rigorous code reviews.

12 / End

Thank You.

Any questions?