

Custom web app · Self-initiated demo project
InSeason
- Node.js
- Supabase
- Stripe
- Cloudflare
Overview
InSeason is a full-stack marketplace where independent sellers list pre-loved clothing and buyers browse, buy and check out securely. It's a self-initiated demo project, a replica of a marketplace I built for a real client, with a new brand, new design and new data.
Time taken: About four weeks, part-time
Try it
Stripe's test card 4242 4242 4242 4242 (any future date, any CVC).
The challenge
Build a marketplace that works for three kinds of user: buyers who want to find something quickly, sellers who need simple tools to list and manage stock, and admins who keep the platform running.
What I built
- Buyer side: category navigation, search with category filters, product pages, recently viewed items, cart and Stripe checkout, plus order history.
- Seller side: account sign-up, listing creation and management, with condition grading (new, like new, used, for parts).
- Admin side: managing users, listings, categories and ad spaces from one dashboard.
- Light and dark mode across every page, with keyboard and screen-reader support.
Design
Fashion resale lives or dies on the photos, so the layout gets out of their way. There's a bold split hero for buying and selling, a category nav instead of a cluttered second search bar, and a floating search button that only appears once the main search scrolls out of view. Every card is clickable and every interactive element has a clear hover state.
Hardest problem
Two buyers, one last item
Most listings on InSeason are one-offs. If two people pay for the same item at the same moment, only one can get it, and the other must not be left out of pocket.
I solved this in the database, not the app. When Stripe confirms a payment, one Postgres function claims the checkout session, takes the stock with a single conditional update (it only succeeds if the item is still available), creates the order and marks the item sold, all in one transaction. Simultaneous payments queue on the same row, so exactly one wins. The other buyer is refunded automatically through Stripe, with an idempotency key so a retry can never refund twice.
Stripe can resend webhooks or send them out of order, so the handler verifies every signature and processes each checkout session once. A repeat delivery does nothing, and a failure halfway rolls everything back so the retry starts clean.
Trade-off: items aren't reserved during checkout, so in a rare race the second buyer sees a charge and then a refund. It never oversells.
Tested: automated tests fire two simultaneous payments for the last unit and check that exactly one order is created and the other buyer gets one refund. Duplicate and racing webhook deliveries are each checked to create an order only once.
Results
66
Performance
94
Accessibility
100
Best practices
92
SEO
I ran a dedicated performance pass and added 11 database indexes to keep queries fast as listings grow.
Lighthouse, mobile, live site:
- Performance 66
- Accessibility 94
- Best practices 100
- SEO 92
Tech stack
- HTML
- SCSS
- JavaScript
- Node.js / Express
- Supabase (PostgreSQL + Auth)
- Stripe
- Cloudflare Workers
- Railway
Screenshots
-
Homepage hero with search front and centre, so buyers can start browsing straight away. -
Browse page with filters for category, season and price. -
Product page with seller details, Buy It Now and clear shipping info.