Skip to content
Nicholas Salim
Back to work

Marketplace MVP

ReGear

A marketplace for used electronics where every listing carries a structured condition report instead of a vague description.

ReGear home page

What makes it different

  • Condition reports, not descriptions

    Each category has its own spec fields and checklist. Sellers grade every check, battery health and cosmetics, and the validation rejects reports that contradict themselves, like a failed check graded "Like New".

    • TypeScript
    • Zod
  • An item can't be sold twice

    Checkout reserves the item in a single database transaction. Payment sits in escrow until the buyer accepts the item, unpaid orders expire after 30 minutes, and returns and disputes freeze the payout.

    • PostgreSQL
    • Prisma
  • Search that search engines can read

    Filters are plain forms, so they work without JavaScript and every result page has a crawlable URL. Trigram indexes keep "contains" searches fast as listings grow.

    • Server Components
    • pg_trgm
  • Light, safe images

    Uploads are validated, re-encoded to WebP and stripped of metadata, then served as AVIF or WebP at the right size for each screen.

    • sharp
    • next/image
  • Trust built in

    Sellers verify with an ID document kept in private storage, and only its last four characters are stored. Admins work from a review queue, dispute threads and an audit log.

    • Private storage
    • Audit log
  • Tested against a real database

    Integration tests run against a migrated PostgreSQL database, not mocks. The site is in Indonesian and English.

    • Vitest
    • i18n
  • Next.js
  • PostgreSQL
  • Prisma
  • Zod
Next projectTLDWatch