WTB Market logo

WTB Market

SaaS platform for resellers

WTB Market is a reseller community born in 2022 on Discord. Before the platform, resellers were managing inventory in spreadsheets or manually despite existing tools. I decided to build a platform to tailor their needs, letting them manage their inventory, sales and daily operations, which quickly evolved into a full ecosystem.
Note: I own the full technical stack while the community is operated by a business partner.

1700+Paying users
800K+Page views
240K+Visitors
WTB Market inventory — mobile view
2022In production since
50Active storefronts
35+Shared UI components
80+REST endpoints

Highlights

Architecture

WTB Market is not a single app, it's a set of interconnected products.

All products share the same backend and data layer.

Next.js FrontendApp Router · React Query · Zustand · Tailwind CSS
Express BackendService layer architecture · Public & Private endpoints
MongoDBMongoose · Data-driven pipelines
Cloudflare R2User files storage
DiscordOAuth2 · Roles · DMs
StripeCheckout · Subscriptions
APIs IntegrationsStockX · CardMarket · Ebay

Key Challenges

What I'd Do Differently

Standardize environments earlier

Early deployments were messy, too many branches and ad-hoc deployments lead to config problems and confusion. Dev, beta and production improved stability and consistency. I'd set up this flow from the start.

Define data before the schema

MongoDB's flexibility worked well when I started, but as time passed, aggregations and multi-field filters became harder to manage. I'd define a clearer data model upfront, considering a relational approach where it fits instead of pushing everything into the document model.

Normalize the keyword store

Matching all users keywords means iterating the entire collection (~7 million operations per message). I'd normalize the keyword store with proper indexing and enforce structured input: users pick from known SKUs on the dashboard instead of typing freeform text, making matches fast and exact.

Complete Stack

Frontend
Next.jsTypeScriptTailwind CSS
Backend
ExpressMongoDBStripe
Infrastructure
VercelCloudflareSentry