Product Management System — Hexagonal Architecture
Java
Spring Boot
Hexagonal Architecture
React.js
TypeScript
Redux Toolkit
JWT / OAuth2
PostgreSQL
Redis
Caffeine
Docker
AWS
Developed and deployed a full-stack, multi-user Product Management System using Spring Boot and Hexagonal Architecture, with a React.js and TypeScript frontend. Supports independent TYPE1 and TYPE2 user categories, administrative hierarchies, product and order management, caching, and cloud integrations.
-
Hexagonal Architecture:
Separated business logic from persistence and external services using Ports and Adapters, including dedicated interfaces and adapters for persistence, caching, and integrations through a Redis-backed domain-level
CachePort
.
-
Authentication & Security:
Built a custom
CompositeUserDetailService
with separate TYPE1 and TYPE2 user-detail implementations, unified login, JWT authentication, refresh-token generation, Spring Security filters, and method-level authorization.
-
Role-Based Access Control:
Established hierarchical access for ADMIN, ADMIN_TYPE1, ADMIN_TYPE2, USER, USER_TYPE1, and USER_TYPE2, connecting backend permissions with protected React routes and role-aware navigation.
-
Admin Provisioning:
Implemented user creation, role validation, pending-registration retrieval, account approval, and password-reset initiation, with dedicated React administration panels.
-
OAuth2 Integration:
Integrated Google authentication using Spring Security OAuth2, provider-based account identification, success handling, JWT session establishment, and frontend callback processing with Redux authentication-state synchronization.
-
OTP & Password Management:
Implemented email and SMS OTP generation, delivery, verification, expiration, and attempt restrictions using JavaMailSender and Twilio, alongside email verification, phone OTP login, forgot-password, reset, and change-password workflows.
-
React Frontend & State Management:
Built a modular React and TypeScript application using Redux Toolkit, centralized API services, asynchronous actions, reusable hooks, form validation, browser storage utilities, and lazy-loaded React Router routes.
-
Product Management:
Developed role-specific product creation, editing, deletion, stock updates, activation, product details, search, categories, featured products, and product comparison.
-
Order Management & Analytics:
Implemented order creation, personal and administrative retrieval, cancellation, deletion, status updates, ownership and role validation, plus order and revenue visualizations using Recharts.
-
Redis & Caffeine Caching:
Built a Redis adapter supporting object storage/retrieval, configurable TTL with a 30-minute default, bulk deletion, pattern-based scanning using Redis SCAN, key management, expiration controls, increment operations, and cache statistics. Configured Caffeine for product data, categories, and statistics with size limits, expiration, and metrics.
-
Profile & External Integrations:
Implemented TYPE1 and TYPE2 profile-photo upload, retrieval, and deletion through Cloudinary; integrated email notifications, Twilio SMS, and external-service configuration.
-
Database & Persistence:
Used PostgreSQL, Spring Data JPA, and Hibernate for entity mapping and relational data management, with production connectivity to AWS RDS PostgreSQL and environment-specific configuration.
-
Docker & AWS Deployment:
Containerized backend, frontend, and Redis using Docker Compose; deployed on AWS EC2 with AWS RDS, service networking, persistent Redis storage, environment variables, and production properties.
-
Production Debugging & Validation:
Troubleshot Redis connectivity, Docker networking, environment variables, database configuration, health checks, and frontend/backend communication; verified container, Redis, and actuator health.
-
Git & Configuration Management:
Managed updates through Git and GitHub, organized local/production/Docker configurations, and addressed GitHub Push Protection secret-detection issues.
Currently Working On
-
Expanding Redis with advanced caching strategies, Bloom filters, Redis-based leasing, and improved cache lifecycle management.
-
Exploring turnaround-time monitoring, performance optimization, and resource management.
-
Integrating a payment gateway and transaction workflows.
-
Refactoring backend and frontend modules for maintainability, modularity, and code quality.
-
Preparing technical documentation for architecture, authentication, provisioning, REST APIs, deployment, and setup.
Quiz Management System — Microservices Architecture
Java
Spring Boot
Spring Cloud Gateway
Angular
OpenFeign
RabbitMQ
Eureka
OpenAI
Ollama / Qwen3
PostgreSQL
Docker
AWS
Developed and deployed a full-stack Quiz Management System using Spring Boot microservices and Angular, with independent authentication, question, quiz, and notification services. Supports Administrators, Curators, and Participants through synchronous Feign communication and asynchronous RabbitMQ messaging.
-
Microservices Architecture:
Designed independent Auth, Question, Quiz, and Notification services integrated through Spring Cloud Gateway and Eureka, with centralized routing, JWT authentication, and protected endpoints.
-
Authentication & Authorization:
Implemented Spring Security and JWT role-based access for Administrators, Curators, and Participants, including registration, login, password recovery, and secure service communication.
-
Inter-Service Communication:
Developed OpenFeign clients for user details, questions, categories, and user-activity synchronization; propagated JWT through custom Feign request interceptors.
-
RabbitMQ Event-Driven Architecture:
Implemented RabbitTemplate messaging, topic exchanges, durable queues, routing keys, and JSON conversion for quiz participation, submission notifications, and other asynchronous workflows.
-
Hybrid Communication:
Combined synchronous Feign calls for immediate responses with asynchronous RabbitMQ events for background notification workflows, reducing direct dependencies between business operations and notification processing.
-
Notification & Email Automation:
Built a Notification Service using JavaMailSender for participation alerts, submission notifications, curator notifications, and participant result emails, with dedicated HTML templates.
-
Report Generation:
Implemented HTML participant report cards, individual quiz reports, and consolidated result documents, with endpoints to retrieve, generate, and email reports.
-
AI-Powered Question Generation:
Integrated OpenAI APIs and locally hosted Ollama (Qwen3) for automated multiple-choice questions, including prompt construction, configurable model settings, structured JSON responses, parsing, validation, and DTO mapping.
-
Ollama & OpenAI Integration:
Integrated Ollama through its native
/api/chat
endpoint and an OpenAI client through
/v1/chat/completions
, connected to Angular interfaces for generating, reviewing, and selecting questions.
-
Quiz Creation & Participation:
Implemented quiz creation, category-based question selection, quiz previews, participant tracking, timed attempts, answer submission, automatic evaluation, scoring, and result persistence.
-
Question Management:
Developed APIs for creating, retrieving, deleting, and filtering questions by category and creator, with dynamic question selection through Feign.
-
Leaderboard & Analytics:
Implemented global, quiz-specific, category-based, and participant leaderboards with Top-N rankings, podium positions, tie-aware ranking, performance history, averages, correct-answer statistics, and participation metrics.
-
Angular Frontend:
Built standalone components, Angular Router, lazy-loaded routes, RxJS observables, and dedicated API services for dashboards, quiz/question management, AI generation, reports, and leaderboards.
-
Role-Based Interfaces:
Developed administrative, curator, and participant workflows, including user management, quiz/question creation, AI generation, result review, participant dashboards, available quizzes, attempts, rankings, profiles, and report centers.
-
Cross-Service Statistics:
Synchronized questions created, quizzes created, and quizzes attempted through internal APIs and Feign communication.
-
Database, Docker & AWS:
Integrated PostgreSQL per service; containerized services and frontend with Docker Compose, configured networking, environment variables, dependencies and health checks, and deployed using AWS EC2 and AWS RDS PostgreSQL.
-
Validation & DevOps:
Performed integration/API testing, database troubleshooting, JWT and authorization debugging, Docker health checks, production verification, Git-based updates, and image publishing/pulling workflows.
Currently Working On
-
Improving RabbitMQ reliability, event handling, routing, and asynchronous processing.
-
Refining HTML email templates, generated reports, and document presentation.
-
Expanding AI question generation parameters, workflows, and model integrations.
-
Extending user profiles with activity, interaction, and personalization features.
-
Improving responsiveness, integrations, reporting, and application performance.
Product Management System — Distributed Microservices Architecture
Java
Spring Boot
Spring Cloud Gateway WebFlux
Angular 17
OpenFeign
Apache Kafka
Resilience4j
Eureka
PostgreSQL
Caffeine
Cloudinary
Spring AOP
Developed a distributed Product Management System using independent Spring Boot microservices and Angular, separating authentication, product/inventory management, and order processing with centralized routing, JWT security, cross-service user synchronization, and Kafka event-driven communication.
-
Programmatic API Gateway:
Implemented Spring Cloud Gateway with Java-based
RouteLocator
and
RouteLocatorBuilder
, load-balanced routing, public/protected endpoint patterns, and centralized authentication filters.
-
Custom JWT Authentication Filter:
Developed a reactive gateway filter to validate JWTs, extract user IDs, usernames, and roles, and propagate identity through custom headers. Used
RouteValidator
with
AntPathMatcher
and prevented client-supplied identity-header spoofing.
-
OpenFeign Communication:
Built clients across Auth Service, Demo-Service1, and Demo-Service2 for user synchronization, product retrieval, stock validation, and order statistics, protected by Resilience4j circuit breakers and retries.
-
Kafka Event-Driven Architecture:
Implemented Spring Kafka and
KafkaTemplate
producers, consumers, event DTOs, topic configurations, and message keys for user registration, product creation, stock updates, and order creation.
-
Complementary Feign & Kafka:
Combined synchronous Feign calls for immediate responses with asynchronous Kafka propagation; product data is retrieved through Feign during order processing while product, order, and user lifecycle events use Kafka.
-
Cross-Service User Synchronization:
Maintained corresponding user records across independent databases using shared IDs and DTO-based communication, including profile-picture synchronization.
-
Cloud Image & Profile Storage:
Integrated Cloudinary for product and profile images, supporting multipart uploads, validation, transformations, secure URL retrieval, replacement, and deletion.
-
Product & Order Management:
Implemented product CRUD, category filtering, search, pagination, stock management, inventory validation, image operations, order creation, price calculations, user-specific retrieval, cancellation, status updates, and statistics.
-
ORM & Database Relationships:
Used Spring Data JPA and Hibernate for relationships within individual services, including product ownership, order users, and order items; maintained cross-service relationships through synchronized IDs and Feign/REST.
-
Caching & Resilience:
Implemented Caffeine caching for product details, paginated listings, active products, and categories, with eviction after product/stock changes; added Resilience4j retry and circuit-breaker protection.
-
Angular 17 Frontend:
Built standalone components, Angular Router, lazy-loaded feature routes, RxJS observables, and dedicated API services, organized across authentication, administrative, and user features.
-
Role-Based Navigation:
Implemented AuthGuard route protection and AuthInterceptor JWT attachment/unauthorized handling for role-specific dashboards and navigation.
-
Authentication & State:
Developed login, registration, logout, forgot/reset-password services; used RxJS BehaviorSubject, Angular Signals, and local storage for authentication state, user information, and tokens.
-
Frontend Product & Image Management:
Integrated product creation, editing, deletion, activation, stock updates, categories, keyword search, availability, batch retrieval, and multipart image upload/replacement/deletion.
-
Frontend Order & Admin Management:
Implemented order retrieval by ID, user, and status, multi-status administrative listings with RxJS
forkJoin
, and response mapping for products, orders, items, shipping, and user records.
-
Performance Monitoring & Logging:
Developed a custom
@Stopwatch
annotation and Spring AOP aspect to measure service-method execution and log durations/failures using SLF4J and business exceptions.
Currently Working On
-
Expanding product attributes and advanced multi-criteria filtering.
-
Integrating secure payment and order-payment workflows.
-
Developing wishlist, frequently ordered, and previously purchased features.
-
Implementing product reviews, ratings, and user comments.
-
Generating PDF invoices and automatically emailing them after order processing.
Restaurant Management System — Hexagonal Architecture
Java
Spring Boot
Hexagonal Architecture
Angular
Spring Security
PostgreSQL
AWS S3
Docker
AWS EC2
iText PDF
Developed and deployed a full-stack Restaurant Management System using Spring Boot and Angular with Hexagonal Architecture, covering menu, inventory, customer, order, GST-aware billing, and financial reporting operations.
-
Hexagonal Architecture:
Structured domain models, service interfaces, ports, persistence adapters, and REST controllers to separate business logic from persistence and external integrations.
-
GST Calculation & Configuration:
Implemented configurable Indian GST calculations using BigDecimal for precision, with CGST, SGST, IGST, taxable amounts, discounts, invoice values, GST rates, GSTIN, SAC classification, supplier information, and ITC settings.
-
GST-Aware Order Processing:
Integrated tax calculations into order/billing workflows, supporting intra-state CGST/SGST and inter-state IGST calculations, with reconciliation between tax components and total GST.
-
Revenue Reports & PDF Generation:
Developed weekly, monthly, and custom date-range revenue reports with order summaries and GST breakdowns; generated iText PDFs covering taxable sales, discounts, CGST, SGST, IGST, total GST, and invoice values.
-
Inventory & Stock Tracking:
Implemented inventory creation, updates, restocking, consumption, deletion, low-stock retrieval, and transaction history for opening balances, purchases, restocking, consumption, and adjustments.
-
Inventory Costing & COGS:
Implemented weighted-average costing during restocking and recorded consumption costs through inventory transactions; developed weekly, monthly, and custom-period inventory-cost reports and COGS calculations.
-
Menu & Item Management:
Built menu-item creation, editing, deletion, category retrieval, availability filtering, activation/deactivation, pricing, and tax-category configuration.
-
Order Processing & Billing:
Implemented order creation, retrieval, customer history, status filtering/updates, administrative cancellation, menu pricing, quantities, discounts, GST calculations, and tax breakdowns.
-
Customer Management:
Developed customer registration, profile updates, retrieval, customer-type filtering, and deletion, including contact details, addresses, and GST registration information.
-
Authentication & Authorization:
Implemented JWT, BCrypt, and Spring Security with SUPER_ADMIN, ADMIN, and EMPLOYEE permissions, employee management, account activation/deactivation, profile management, OTP verification, and password recovery.
-
AWS S3 Integration:
Integrated AWS S3 using the AWS SDK for REST-based file uploads/downloads, with bucket, region, and credential configuration externalized through properties and environment variables.
-
Email & Notifications:
Integrated JavaMailSender for account notifications, email verification, and password recovery workflows.
-
Activity Logging & Auditing:
Implemented asynchronous logs for administrative actions, user identity, affected entities, timestamps, descriptions, and client IPs, with retrieval filters by actor, entity, and date range.
-
Angular Frontend:
Developed inventory, menu, customer, order, reporting, and administrative workflows, integrating authentication, REST APIs, inventory transaction history, stock consumption, and reporting.
-
Database & Reliability:
Used PostgreSQL, Spring Data JPA, and Hibernate; implemented schema updates, inventory transaction records, and sequence synchronization for production consistency.
-
Docker & AWS Deployment:
Containerized the application with Docker Compose and deployed on AWS EC2 with PostgreSQL on AWS RDS, configuring production variables, profiles, connectivity, and deployment workflows.
Currently Working On
-
Implementing secure online payments and linking payment status to the order lifecycle.
-
Exploring Redis caching to improve response times and reduce repeated database queries.
-
Developing AI-assisted endpoints for menu, inventory, and order-item management.
-
Working towards automated stock deductions, intelligent restocking, and low-stock notifications.
Office Management System — Microservices Architecture
Java 21
Spring Boot
Spring Cloud Gateway
Eureka
React.js
TypeScript
Tailwind CSS
JWT
RabbitMQ
WebSockets
PostgreSQL
Docker
AWS
Developed a full-stack Office Management System using microservices, separating authentication, task management, comments, messaging, email, and notification management, with service discovery, centralized routing, secure authentication, event-driven communication, and real-time collaboration.
-
Microservices & Service Discovery:
Designed independent Spring Boot services for authentication, tasks, comments, email, messaging, and notifications. Integrated Netflix Eureka for service registration and discovery.
-
API Gateway & Inter-Service Communication:
Implemented Spring Cloud Gateway as the frontend entry point, configuring routing, authentication, request handling, REST communication, and OpenFeign clients.
-
Authentication & Role-Based Authorization:
Developed a dedicated authentication service using Spring Security, JWT, and BCrypt, with role-based administrative, managerial, and employee permissions across protected endpoints.
-
Account Verification & Password Management:
Implemented email/phone OTP, account verification, password recovery, reset/change workflows, and administrative provisioning/approval.
-
Task Management:
Developed task creation, assignment, reassignment, retrieval, status updates, completion, and deletion, with ownership and authorization checks.
-
Comment Management:
Built a dedicated Comment Service for task-related comment creation, retrieval, and management, validating users and associating comments with tasks through Auth and Task service communication.
-
Real-Time Messaging:
Implemented conversations and message history with WebSocket/STOMP delivery, plus RabbitMQ event publishing to notify the Notification Service about new messages.
-
RabbitMQ Event-Driven Communication:
Integrated asynchronous event publishing/consumption for task activities, comments, and messages, reducing direct dependencies and allowing independent notification processing.
-
Notification Management:
Developed centralized, user-specific notifications with retrieval, unread counts, read-status updates, and real-time WebSocket delivery for task, comment, and message categories.
-
Email Notifications:
Built a dedicated Email Service for application email workflows, using RabbitMQ to separate notification events from email delivery.
-
React Frontend:
Built authentication screens, role-based dashboards, task management, comments, messaging, notifications, and administrative account-management screens using React, TypeScript, and Tailwind CSS.
-
API & Data Management:
Integrated frontend services through the API Gateway using REST APIs, DTOs, and structured request/response handling; used PostgreSQL, Spring Data JPA, and Hibernate for persistence.
-
Docker & Containerization:
Created multi-stage frontend/backend Docker builds using Maven, Java 21 runtime images, and Node/Nginx frontend deployment; containerized PostgreSQL and RabbitMQ and orchestrated with Docker Compose.
-
Environment-Based Configuration:
Separated local and production properties and externalized database credentials, service ports, JWT settings, RabbitMQ, CORS origins, and secrets through environment variables.
-
Nginx & Production Hosting:
Configured Nginx for frontend delivery and reverse-proxy deployment, and prepared domain-based hosting and HTTPS certificate management with Let's Encrypt and Certbot.
-
AWS & Deployment:
Prepared AWS EC2 application hosting with PostgreSQL on AWS RDS, production Compose definitions, image tagging/publishing, and shell scripts for building, running, deploying, and managing services.
-
Build, Validation & Debugging:
Performed integration testing, configuration validation, dependency troubleshooting, Docker build debugging, database checks, and service-startup verification across frontend/backend, environment variables, networking, and ports.
-
Git & Version Control:
Managed source and deployment changes through Git/GitHub and addressed repository configuration and secret-management issues.
Future Enhancements
-
Implementing a transactional Outbox Pattern for more reliable event publishing.
-
Expanding unit, integration, and end-to-end test coverage.
-
Introducing Redis caching for frequently accessed data.
-
Implementing centralized logging, distributed tracing, and service monitoring.
-
Automating production deployment through a complete CI/CD pipeline.
-
Enhancing notification delivery, message read receipts, and real-time collaboration.
Frontend (replace URL)
Backend (replace URL)
Live Website (replace URL)
ExploreEase Travel Agency
JSP
JDBC
JWT
Bootstrap
Cloudinary
Full-stack travel agency application built with Java web technologies and a custom MVC-style structure.
-
Implemented JSP server-side rendering, custom MVC organization, and JDBC database operations using PreparedStatements.
-
Built JWT authentication, session integration, role-based admin dashboards, and booking workflows.
-
Developed responsive interfaces using HTML, CSS, Bootstrap, and TypeScript interactions.
-
Integrated Cloudinary, Apache Commons FileUpload, and JavaMailSender for media handling and email notifications.
Project Focus
-
Full-stack Java web development, server-rendered UI, database integration, and booking workflows.