Chat Broker

Case Study

Chat Broker

Graduation project combining marketplace functionality with AI-assisted product discovery and real-time chat.

Problem

Users lacked a flexible platform to easily list and discover products for sale, rent, or exchange, and often struggled to find relevant items quickly or communicate efficiently with owners.

Solution

The platform enables users to list products with multiple transaction options while integrating an AI-powered broker to recommend relevant items based on user needs, alongside real-time chat for seamless communication.

Features

List products for sale, rent, or exchange
Advanced product management (add, update, delete)
Shopping cart and checkout system
Favorites and saved items
AI-powered chatbot for personalized product recommendations
Real-time one-to-one chat between users
User authentication and protected routes
Product owner dashboard with statistics and insights

Tech Stack

ReactRedux ToolkitSocket.ioREST APICSS3

Technical Decisions

Socket.io for real-time communication

Enabled instant messaging between users with reliable event handling and reconnection support.

AI Broker (Chatbot layer)

Introduced a conversational interface to help users discover relevant products based on custom needs instead of traditional filtering.

Redux Toolkit for state management

Used to manage complex global state including products, cart, chat, and user data in a scalable and predictable way.

Challenges & Solutions

Designing a flexible product system (sale / rent / exchange)

Created a unified product schema with multiple transaction modes and conditional logic for each workflow.

Matching user needs with relevant products

Implemented a chatbot-driven recommendation flow that interprets user input and filters products dynamically.

Handling real-time chat synchronization

Used Socket.io with message IDs and timestamps to ensure correct ordering and prevent duplication.

Screenshots

14

Future Improvements

  • Smart recommendation engine with ML models
  • Push notifications for messages and offers
  • Advanced search and filtering system
  • Mobile application version