Real parts. Real stock.

Transcript
The listing says in stock. The buyer drives across town; the shelf is empty. AutoParts Tunisia: a French, mobile-first marketplace for car parts. No order moves until a human has called the supplier. Start with the car: make, model, engine. The catalogue narrows to what fits that engine. Open a part: the listed price, and the twenty percent deposit, up front. Ask for it, and an agent phones the shop. The deposit goes by D17 or bank transfer, proof uploaded from the phone. An admin checks it; the balance is cash on delivery. Underneath is one order state machine. Only the right actor can make each move. A twenty-four hour clock starts at every deposit request. Miss it, and a cron fails the order and frees the part. Storefront, admin queue, supplier dashboard: built by Hamza Benarfa.
Film made with Brag brag (video-skills) on hyperframes 0.8.204 · Voice: Kokoro-82M · af_heart (open source) · Music: Happy Beats / Business Moves vol. 12 · Sascha Ende, ende.app (CC BY 4.0)
- 100+ brands · 2,000+ models
- 20% deposit, balance on delivery
- A phone call before every order
- French, mobile-first
The problem
Trust, engineered into the order itself.
AutoParts Tunisia connects drivers and garages with parts suppliers across the country. Buyers find compatible parts through a vehicle-fit finder (make/model/engine) or Meilisearch full-text search, place an order, and a human admin phones the supplier to confirm real stock and lock in a price before anything moves forward. The buyer then sends a 20% deposit through an external channel (bank transfer, D17, Wafacash, or a postal Mandat Minute) and submits a reference code or receipt photo for admin review — the remaining 80% is paid cash on delivery. It's a three-role system — a customer storefront, an admin call-and-deposit-review queue, and a supplier inventory/shipping/payout dashboard — built on Next.js 16 with a Neon Postgres core, Meilisearch for search, and Cloudflare R2 for media storage.
- Fault report
- Buying car parts in Tunisia is a minefield: listings advertise stock that doesn't exist, prices get renegotiated at pickup, and there's no trusted way to order a specific part for a specific vehicle and actually receive it.
- The fix
- A marketplace with human verification at its core. An admin calls the supplier to confirm real stock and agree a price before the order can proceed; a 20% deposit — paid manually and reviewed by an admin — locks the order in, with the balance cash-on-delivery. A 24-hour deposit-deadline cron automatically fails unpaid orders so the reserved part frees up for the next buyer, and a reminder job nudges buyers 3-4 hours before the deadline.
- Deposit
- 20%
- Paid off-platform, reviewed by an admin
- Deposit deadline
- 24 h
- A cron fails unpaid orders and frees the part
- Platform commission
- 8%
- Computed on completed orders
Find the part
Does it fit my car?
Vehicle-fit finder — try it
01 Make
02 Model
Choose a make first
03 Generation
Choose a model first
Pick your car to see only what fits
Browsing needs no account. Until a car is chosen, the catalogue shows everything.
- Plaquettes de frein avantAny car
- Disques de frein avantAny car
- Bougie d'allumageAny car
- Kit de distributionAny car
- Filtre à huileAny car
- Filtre à airAny car
- Pompe à eauAny car
- Amortisseur avantAny car
- Rotule de directionAny car
- Kit embrayageAny car
- AlternateurAny car
- Batterie 12VAny car
Cars and part names come from the seeded catalogue. Which part fits which generation is sample data on this page.
The hard part
Deposit order engine
Order engine — every state of the real enum
VERIFICATION_IN_PROGRESS
A human phones the supplier
The order lands in the admin call queue. Someone calls the supplier, confirms the part is really on the shelf and agrees the final price. No money has been requested yet.
Exit states
- Deposit
- 20%
- Deadline
- 24 h
- Reminder
- 3–4 h before
- Commission
- 8%
Two cron jobs run underneath: a deposit reminder at the 3–4 hour mark, and the deadline expiry that frees the part.
One workshop, three bays
Three-sided platform
Customer
Vehicle-fit catalogue, Meilisearch part search, a garage of saved cars, deposit submission with proof upload and order tracking. French, mobile-first, no account needed to browse.
Admin
A click-to-call queue for stock verification, deposit review against the account, and the full order lifecycle.
Supplier
Inventory, shipment handoff and payout tracking for verified parts vendors, with the 8% commission computed on completed orders.
Customer surface — real captures
Click to inspectTools on the wall
Technology stack
- Framework
- Next.js 16 · React 19 · TypeScript · Tailwind v4
- Data
- Prisma 7 · Neon Postgres · Redis
- Search
- Meilisearch — typo-tolerant full-text part search
- Media
- Cloudflare R2 — deposit proofs & used-part photos
- Auth
- Auth.js — magic link · Google · password
- Tooling
- Bun · Biome · Docker for local services
Need a marketplace people can actually trust?
I partner with founders and small teams to ship production software, start to finish. Tell me what you’re building.
For hiring teams
Download CV (PDF)Working hours
Monday to Friday
09:00–19:00, Tunis time (GMT+1)
