All work
CASE STUDY — 06 · B2B E-COMMERCE + ERP

Vee Jain Dyes & Chemicals

B2B storefront, full business ERP, and a learning center for an industrial dyes and chemicals company — GST invoicing, business credit lines, multi-warehouse stock, CRM, and HR in one system.

TECHNOLOGY

Next.js 15React 19Redux ToolkitTailwind CSS 4PWAViteTypeScriptTipTapRechartsNode.jsExpressMongoDBMongooseRedisZodnode-cronRazorpayFirebaseCloudinaryGoogle Maps
Vee Jain Dyes & Chemicals — case study by One9 Tech
Vee Jain Dyes & Chemicals — screen 2
THE BRIEF

Overview.

Vee Jain Dyes & Chemicals sells industrial dyes, specialty chemicals, and screen-printing supplies across four divisions — Premium Inks, Chemical Solutions, Frames & Mesh, and Squeegees & Tools. Its buyers are businesses that compare technical specifications and order in bulk.

The storefront is built for them: technical product data (CAS number, purity, grade, safety, certificates), variant pricing, bulk quote requests, and checkout through Razorpay, NEFT/RTGS, or an approved business credit line — with GST invoices for every order.

Behind the store is a complete ERP that runs the business: CRM and leads, invoicing and POS sales, purchases, multi-warehouse inventory, finance, credit, and HR with geofenced attendance. A Learning Center of dyeing and printing tutorial videos trains customers alongside the shop.

THE BUILD

3 apps, one system.

APP 01

B2B Storefront

Next.js 15 · React 19 · PWA

Catalog, cart, checkout, orders, GST invoices, and the Learning Center — installable as an app.

APP 02

Admin & ERP Console

React 19 · Vite · TypeScript

Sales, inventory, purchases, CRM, finance, HR, and content — every screen permission-gated.

APP 03

Backend API

Express · MongoDB · Redis

Around 40 data models behind customer and admin APIs, with payments, push, email, and daily backups.

THE SYSTEM

Every module, explained.

MODULE 01

B2B Storefront

An industrial catalog designed for how purchase teams actually buy.

  • Filters by category, division, and colour
  • Technical specs — CAS, purity, grade, storage, safety
  • Size and shade variants with reviews and ratings
  • Quick view, quote calculator, and bulk enquiries
MODULE 02

Checkout & Business Credit

Payment options built for B2B buyers.

  • Razorpay — card, UPI, net banking
  • NEFT/RTGS with proforma invoice
  • Business credit line with limits and credit days
  • GSTIN capture and 18% GST calculation
MODULE 03

Sales & GST Invoicing

Online, offline, and POS sales in one invoicing system.

  • CGST, SGST, IGST with HSN codes
  • Multiple billing companies
  • Quotations convertible to invoices
  • Shareable invoice links and WhatsApp sharing
MODULE 04

Inventory & Purchasing

Stock control across multiple warehouses.

  • Stock per warehouse with low-stock alerts
  • Transfers and stock audits with approvals
  • Purchase orders, receiving, invoices, returns
  • Stock deducted safely on every order
MODULE 05

CRM & Finance

From first enquiry to final payment.

  • Lead pipeline with assignments and follow-ups
  • Customer and supplier profiles
  • Expenses, cash & bank ledger
  • GST summary and profit & loss exports
MODULE 06

HR & Organization

Staff, branches, and departments managed in the same console.

  • Geofenced check-in against branch locations
  • Tasks, leave, holidays, and salary
  • Branches with map pins, 12 departments
  • Audit log of every admin action
MODULE 07

Learning Center

A library of dyeing and printing tutorials that trains customers next to the shop.

  • YouTube tutorial videos managed from the admin
  • View counts and related videos
  • Learning carousel on the home page
WHO USES IT

Roles & access.

  • 01Guest — browse, watch tutorials, send enquiries
  • 02Customer — mobile OTP login, orders, invoices, credit
  • 03Staff — preset roles: sales, accountant, warehouse, branch manager, HR
  • 04Owner / Super Admin
INTEGRATIONS

Connected services.

Razorpay

Online payments with verified webhooks

Firebase Cloud Messaging

Push notifications for customers and staff

Cloudinary

Product images, certificates, and backups

Google Maps

Branch location picker and geocoding

Nodemailer (SMTP)

Order and invoice emails

Redis

OTP storage and product caching

YouTube

Learning Center video embeds

ENGINEERING

Under the hood.

01

Payment-safe checkout

A temporary checkout record holds the cart until Razorpay’s signature is verified — real orders are only created from a confirmed payment or webhook.

02

Granular permissions

37 modules × 9 actions with data scopes (own, department, branch, all) and per-staff limits on credit approval and discounts.

03

Credit risk controls

Credit accounts carry online and offline limits, maximum order size, and credit days — with overdue detection and admin alerts.

04

Operations ready

Daily backups, a health endpoint covering every service, graceful shutdown, and consistent validation across the API.

TECHNOLOGY

The stack.

STOREFRONT

Next.js 15React 19Redux ToolkitTailwind CSS 4PWA

ADMIN

React 19ViteTypeScriptRedux ToolkitTipTapRecharts

BACKEND

Node.jsExpressMongoDBMongooseRedisZodnode-cron

SERVICES

RazorpayFirebaseCloudinaryGoogle Maps
NEXT CASE STUDY — 07

Optech Computer Institute