Back to PortfolioBack
2026
Marketplace / E-CommerceAutoParts.tn · Tunisia

AutoParts.
Tunisia

A French, mobile-first marketplace for car parts in Tunisia. Every order is confirmed by a real phone call to the supplier, secured with a 20% deposit, and delivered cash-on-delivery — designed to kill the no-stock, price-switch scams that plague local parts buying.

Live site
AutoParts Tunisia storefront
Surfaces
Customer · Admin · Supplier
03
Deposit
Rest paid cash on delivery
20%
Verification
Human stock check
1 call
Contents
01

Verified Car-Parts Marketplace

Trust, engineered into the order itself.

AutoParts Tunisia connects drivers and garages with verified parts suppliers across the country. Buyers find compatible parts through a vehicle finder or full-text search, place an order with a 20% deposit, and a human operator calls the supplier to confirm real stock before anything ships. It's a three-sided platform — a customer storefront, an admin call-and-deposit queue, and a supplier inventory and fulfilment dashboard — built on Next.js 16 with a Neon Postgres core, Meilisearch for search, and Cloudflare R2 for media.

The problem

Buying car parts in Tunisia is a minefield: listings advertise stock that doesn't exist, prices change at pickup, and buyers get burned on deposits. There was no trusted way to order a specific part for a specific vehicle and actually receive it.

The answer

A marketplace with human verification at its core. Orders enter an AWAITING_DEPOSIT state, a 20% deposit locks them in, and an operator calls the supplier to confirm stock before fulfilment — the balance paid cash on delivery. A deposit-deadline cron auto-expires stale orders so inventory never gets stuck.

02

From scan to delivery

How an order works

01

Find the part

Buyer selects make, model, and engine, or searches by name through Meilisearch.

02

Pay 20% deposit

The order is locked in an AWAITING_DEPOSIT state until the deposit clears.

03

We call the supplier

An operator phones the supplier to confirm the part is genuinely in stock.

04

Delivered, pay the rest

Confirmed orders ship and the balance is paid cash on delivery.

03

One marketplace, three jobs

Three-sided platform

Customer

Vehicle-fit catalogue, search, garage, checkout, and order tracking — French and mobile-first.

Vehicle finderPart searchDeposit checkout

Admin

A call queue for human stock verification, deposit tracking, and the full order lifecycle.

Call queueDeposit reviewOrder ops

Supplier

Inventory management, shipping, and payout tracking for verified parts vendors.

InventoryShippingPayouts
AutoParts category catalogue
Catalogue — verified part categories with live counts
AutoParts engine category listing
Category view — fit-filtered parts for the selected vehicle
04

The hard part

Deposit order engine

01AWAITING_DEPOSIT

Order created, 20% deposit pending. A reminder fires 3–4h before the deadline.

02CONFIRMED

Deposit cleared and supplier stock verified by a real phone call.

03FAILED_REJECTED

Deadline cron expires unpaid orders so inventory never gets stuck.

Vehicle finder (make / model / engine) plus Meilisearch part search
20%-deposit order engine with an AWAITING_DEPOSIT → expiry state machine
Admin call queue for human stock verification and deposit tracking
Supplier dashboard for inventory, shipping, and payouts
Magic-link, Google, and credential auth via Auth.js
Cloudflare R2 presigned uploads for deposit proofs and used-part photos
Deposit-deadline and reminder cron jobs
French, mobile-first UI built for the Tunisian market
05

What it's built on

Technology stack

Frontend

Next.js 16
React 19
TypeScript
Tailwind v4

Data & Auth

Prisma 7
Neon
Redis
Meilisearch
Auth.js

Platform

Cloudflare R2
Biome
Bun
Edge-friendly Next.js 16 App Router over a Neon Postgres core, with Redis and Meilisearch behind Docker for local development.

Let’s work together

Need something like AutoParts Tunisia built — or taken further?

I partner with founders and small teams to ship production software, start to finish. Tell me what you’re building.

Start a projectEmail meWhatsApp
Next case studyBeadCraft Studio