Command Palette

Search for a command to run...

Back to Projects
Distributor Portal
CompletedReactTailwind CSSNode.js+1 more

Distributor Portal

B2B portal for distributors to manage inventory, place bulk orders, and track shipments in real-time.

Timeline

December 2024

Role

Full Stack Developer

Team

Solo

Status
Completed

Technology Stack

React
Tailwind CSS
Node.js
PostgreSQL

Key Challenges

  • Handling large datasets of inventory items
  • Complex pricing tiers and discount logic
  • Real-time order tracking integration

Key Learnings

  • Building complex B2B workflows
  • Optimizing table rendering for large lists
  • Database indexing strategies for search performance

Distributor Portal: B2B Commerce Simplified

Overview

The Distributor Portal is a web-based application designed to facilitate business-to-business transactions between manufacturers and their network of distributors. It automates manual ordering processes, providing a self-service platform for distributors to check stock, place orders, and track shipments.

Key Features

  • Inventory Browse: View real-time stock levels of products.
  • Bulk Ordering: Efficient interface for adding multiple items to an order quickly.
  • Order Tracking: Track the status of orders from processing to delivery.
  • Invoice Management: View and download past invoices and payment history.
  • Account Management: Manage shipping addresses and company details.

Technical Architecture

Frontend

React serves as the foundation for the dynamic user interface, with Tailwind CSS providing styling capabilities. The focus is on functionality and speed for high-volume users.

Backend

Node.js powers the API, handling complex business logic for pricing and orders. PostgreSQL ensures data integrity for critical transaction records.

Challenges & Solutions

Pricing Complexity

Challenge: Different distributors have different pricing tiers and negotiated discounts. Solution: Implemented a flexible pricing engine in the backend that calculates costs dynamically based on the logged-in user's profile.

Large Data Sets

Challenge: Rendering thousands of product SKUs in the order form without lag. Solution: Used virtualized lists (windowing) in React to render only the visible items, ensuring smooth scrolling and performance.

Future Plans

  • Integration: Direct integration with ERP systems (SAP, Oracle).
  • Mobile App: A companion mobile app for sales representatives on the field.

Design & Developed by Yugha S