Inspiration

Every day, thousands of sellers run entire businesses out of Instagram captions and WhatsApp chats — no real storefront, no cart, no order tracking. I wanted to give social sellers a real e-commerce presence without asking them to become e-commerce experts.

What it does

DM2Store turns a caption like "Cotton kurta, sizes S-XL, ₹899, DM to order" into a live, sellable product. Owners paste captions into a parser workspace, review AI-drafted product listings, and publish them to a clean public storefront — complete with product pages, cart, checkout (COD or Razorpay), and order tracking. Customers get a real shopping experience; sellers get a real admin dashboard with revenue, orders, and low-stock alerts.

How I built it

Built on Next.js 15 (App Router) and React 19 with TypeScript, MongoDB/Mongoose for data, and NextAuth for owner auth. Gemini powers the caption-to-product parsing, with a rules-based fallback parser so the app works even without an API key. Checkout runs on MongoDB transactions to keep stock and payments consistent, with Razorpay for real online payments and COD as a zero-setup option.

Challenges I ran into

Getting caption parsing to reliably extract structured data (price, variants, stock) from unstructured, typo-prone social captions was the hardest part — solved with confidence scoring and a manual review step so nothing publishes without a human check. Keeping stock accurate across two very different payment flows (instant COD vs. verify-then-decrement Razorpay) also took careful transaction design. Building solo meant every layer — auth, parsing, payments, storefront — was on me, so I leaned hard on TypeScript and Zod validation to keep things from breaking silently.

Accomplishments that I'm proud of

A seller can go from a raw caption to a live, purchasable product page in under a minute. I also built a fallback parser so the core experience never breaks, even without external AI access — reliability first. Shipping a full-stack product end-to-end solo, with real payment integration and transaction-safe checkout, is what I'm most proud of.

What I learned

Small sellers don't need more commerce features — they need less friction. The biggest wins came from removing steps (manual data entry, complex checkout) rather than adding them. Working solo also taught me to be ruthless about scope — every feature had to earn its place.

What's next for DM2Store

Multi-image caption parsing, Instagram/WhatsApp API integration for auto-importing captions, storefront themes/branding, and analytics on which products convert best from social traffic.

Built With

Share this project:

Updates

Submission history