• Marketplace / E-Commerce
  • parts.benarfa.com
  • 2026
Visit the live site (opens in a new tab)

Real parts. Real stock.

A French, mobile-first marketplace for car parts in Tunisia. Every order is confirmed by a real phone call to the supplier and secured with a 20% deposit — paid manually via bank transfer, D17, Wafacash, or postal mandat and reviewed by an admin — before the balance is settled cash-on-delivery.
Find a part

0:000:58

Chapter: 5 chapters

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?

Buyers narrow the catalogue by make, model and generation before they see a single part — or go straight to typo-tolerant Meilisearch search. The seeded vehicle data covers 100+ brands and 2,000+ models, and a signed-in buyer keeps their cars in a garage so the next visit starts filtered.

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 avantTRW · FreinageAny car
  • Disques de frein avantBosch · FreinageAny car
  • Bougie d'allumageNGK · MoteurAny car
  • Kit de distributionGates · MoteurAny car
  • Filtre à huileMann · FiltresAny car
  • Filtre à airMann · FiltresAny car
  • Pompe à eauSKF · RefroidissementAny car
  • Amortisseur avantMonroe · SuspensionAny car
  • Rotule de directionLemförder · SuspensionAny car
  • Kit embrayageLUK · TransmissionAny car
  • AlternateurValeo · ÉlectricitéAny car
  • Batterie 12VVarta · ÉlectricitéAny car

Cars and part names come from the seeded catalogue. Which part fits which generation is sample data on this page.

Catalogue — categories with live counts
Marques — the brand index behind the finder

The hard part

Deposit order engine

Every order is a small state machine with eleven states. Select one to read what the system does there — and what it refuses to do until a human has checked.

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

  • Bay 01

    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.

    • Vehicle finder
    • Part search
    • Deposit submission
  • Bay 02

    Admin

    A click-to-call queue for stock verification, deposit review against the account, and the full order lifecycle.

    • Call queue
    • Deposit review
    • Order ops
  • Bay 03

    Supplier

    Inventory, shipment handoff and payout tracking for verified parts vendors, with the 8% commission computed on completed orders.

    • Inventory
    • Shipping
    • Payouts

Customer surface — real captures

Tools 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
Next case studyBeadCraft StudioArtisan E-Commerce / Configurator2026

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.

Phone and WhatsApp

Message on WhatsApp (opens in a new tab)+216 50 407 687

Elsewhere

GitHub (opens in a new tab)LinkedIn (opens in a new tab)

For hiring teams

Download CV (PDF)

Working hours

Monday to Friday

09:00–19:00, Tunis time (GMT+1)