Managing complex dual user roles with type safety
ecommerce · 2025 · Full-Stack Developer
A comprehensive e-commerce marketplace platform where users can both buy and sell secondhand sneakers. Similar to Shopee/Lazada, it empowers anyone to become a seller without hassle, featuring seller dashboards, order tracking, and complete payment integration.

The problem
Every build has friction. These were the constraints worth designing around.
Managing complex dual user roles with type safety
Integrating local payment gateway (Molly) documentation
Real-time inventory sync across multiple sellers
Inside the build
Screens and scope — what shipped and why it matters.

Designed and developed entire platform using Next.js and TypeScript
Screens
scroll the build →
Tap any frame to zoom.
Under the hood
A comprehensive e-commerce marketplace platform where users can both buy and sell secondhand sneakers. Similar to Shopee/Lazada, it empowers anyone to become a seller without hassle, featuring seller dashboards, order tracking, and complete payment integration.
Used tRPC for type-safe API with shared types
Built custom Molly SDK wrapper with TypeScript
Implemented Supabase real-time subscriptions
Created reusable tRPC procedures for analytics
Built with
My role
A comprehensive e-commerce marketplace platform where users can both buy and sell secondhand sneakers. Similar to Shopee/Lazada, it empowers anyone to become a seller without hassle, featuring seller dashboards, order tracking, and complete payment integration.
Successfully launched marketplace with dual-role system
Seamless seller onboarding experience with guided setup
Tools that shipped this build.
What landed — and what's still on the list.
I ship web and mobile products — from UI polish to the unglamorous backend work that keeps them running.