Skip to content
All work

BidChemz

A B2B marketplace where chemical buyers and sellers list products, check AI market prices, subscribe to plans and track shipments end to end.

Live site ↗
~/bidchemz

git clone git@github.com:the-client/bidchemz.git

Cloning into 'bidchemz'...

fatal: could not read from remote repository.

It belongs to the client, and you're not on the invite list.

hint: the code is private, the product isn't. It's running live at bidchemz.com ↗

Role
Solo Full-Stack Developer
Tools
Next.js · Express · MongoDB
Type
B2B Marketplace
Year
2025 to 2026
BidChemz hero image

01 · Overview

Solo ownership of a live platform

I joined BidChemz right after my internship and took over feature development on a large codebase the CTO had already built out.

From there I worked solo, reporting to the client and to CEHPOINT's CEO, and owned AI search, billing, admin tooling and shipment tracking across the marketplace, the admin console and the API.

02 · Problem statement

Manual pricing, billing and tracking

When I took over there was no AI help for comparing listings against market prices, no subscriptions or billing, no GST-compliant invoicing, no buyer and seller verification, and no way to track a shipment once a deal closed.

The job was to build all of it while the marketplace stayed live for existing users.

  • AI-assisted search
  • GST invoicing
  • Shipment tracking

03 · Architecture

Three apps, one shared core

The product is three linked applications: the customer marketplace, an internal admin console and an Express and MongoDB API, all built on a shared package of Mongoose models and utilities so every app uses the same data shapes.

The API talks to Google Gemini for AI search, Razorpay and OrangePG for payments, AWS S3 for invoices and files, ZeptoMail for email, and Socket.IO for live buyer and seller chat.

04 · AI search

Market prices, grounded in real listings

Any product can get an AI market price analysis: Gemini generates search terms from the product details, collects supplier prices and returns an average with a short market summary, switchable by currency and unit.

For similar listings I built a RAG pipeline over our own database. It retrieves the listings closest to a product and grounds the suggestions in them, so buyers are pointed at real alternatives on the platform.

  • Google Gemini
  • RAG
  • Similar listings

05 · Build

Getting GST invoicing exactly right

Every invoice total has to equal what the buyer actually paid, with GST shown as a breakdown only when the seller's settings call for it, back-calculated to the paisa from a tax-inclusive price.

Generation is idempotent, so a retried payment webhook can't create a duplicate invoice, and an admin regenerate flow replaces an invoice in place under the same number. Along the way I found a unique index that silently failed to build at boot because it collided with an older index of the same shape; naming it explicitly fixed it.

BidChemz subscription plans page with four plan cards

06 · Project results

Live, billed and tracked end to end

AI search, subscription billing with GST invoicing, verification, admin tooling and shipment tracking all shipped to a platform serving 1,000+ users. Payment disputes fell by 90% and market research time by 70%.

Users served
1,000+
Fewer payment disputes
90%
Faster market research
70%
BidChemz AI market price analysis showing an average price and supplier prices
BidChemz shipment tracking with booking, pickup and in-transit steps

What shipped

  • Built a RAG pipeline that retrieves similar listings from our own database to power AI product suggestions.
  • Integrated Google Gemini to generate search terms and compare chemical listings against market prices.
  • Built a GST-compliant invoicing engine with paisa-exact tax back-calculation and idempotent PDF generation to S3.
  • Implemented subscription billing across Razorpay and OrangePG with automated webhook reconciliation.
  • Added shipment tracking with an SSO handoff to an external logistics platform, visible to buyer and seller.
  • Built the admin console's invoice template designer and manual GST and billing tools.