Skip to content
Software Engineering 2026

TapisTurcs: Online Rug Store with AR Preview in Morocco

A bilingual Arabic and French online store for Turkish, zrabi and modern rugs sold per square meter, with cash on delivery, an AR and photo room preview, and a back office with a CRM.

TapisTurcs: Online Rug Store with AR Preview in Morocco cover

Overview

TapisTurcs (tapisturcs.com) sells Turkish, zrabi and modern rugs across Morocco. Choosing a rug depends on its size, how it looks in the room and delivery terms, so the store combines a filterable catalogue priced per square meter, checkout built for cash on delivery, tools to see a rug in your own room, and a back office to run the business. Arabic is the default language (right-to-left) with French under /fr. I designed and built the whole application: UX, interfaces, data, admin tools and the room preview features.

The problem

Buyers hesitate on size and on how a rug will look at home, most orders in Morocco are paid on delivery with a price that depends on the city, and the team needed one place to manage catalogue, stock, orders and customers in Arabic and French.

What I built

The catalogue has search, filters and product pages with a price per square meter, size choice and custom cutting where available. Guests can order without an account (Google sign-in for account services), pay on delivery with fees by city, track orders, keep favorites and contact the store on WhatsApp. To preview a rug at home there are three paths: on compatible Android phones a WebXR session detects the floor and places the rug at its real size; on other devices model-viewer opens Scene Viewer or Quick Look; and from a photo, floor segmentation runs in the browser with Transformers.js (WebGPU, WebAssembly fallback) to lay the rug texture on the floor. A separate "see it at home" option asks Gemini to generate an image, clearly labelled as indicative. The back office manages orders, products, stock and cities, with statistics, a map of Morocco, a CRM (customer files, notes, tags, reminders) and a daily report of orders, revenue, messages, reviews and low stock.

Results

  • Live at tapisturcs.com, in Arabic (default, right-to-left) and French
  • Rugs priced per square meter with size choice and cash on delivery, fees computed by city
  • Three ways to preview a rug at home: WebXR floor detection, model-viewer AR and in-browser photo segmentation
  • Back office with CRM and a daily business report, translated in French and Arabic
  • Indexable filter pages for 4 filter families (room, color, material, pattern) in the sitemap

Highlights

  • WebXR floor detection: several hit-test rays, grouped horizontal hits and the lowest surface under the camera, so the rug does not land on a table or sofa
  • On-device floor segmentation with Transformers.js, loaded on demand and cached by the browser
  • Product structured data with the price per square meter (unit MTK), Arabic and French hreflang
  • Cache tags per data type: catalogue kept for hours, stock and search refreshed more often, targeted invalidation from the admin
  • Resized Open Graph images so product links show a preview on WhatsApp
  • Supabase Auth with Row Level Security, plus server-side checks on protected pages

Need a similar project?

See the matching service: what you get, how it works and the starting price.

Related articles

AI Use Cases for Moroccan Businesses: A Practical Guide by Sector
Artificial Intelligence

AI Use Cases for Moroccan Businesses: A Practical Guide by Sector

Artificial intelligence is useful to a Moroccan company when it removes a repetitive task or answers a real business question. Here are realistic use cases by sector, how to start and what to watch on data protection.

9 min read

More projects

View all
Warider: Motorcycle Ride Marketplace cover
Software Engineering

Warider: Motorcycle Ride Marketplace

My own product: a marketplace in Morocco where travelers book same-city motorcycle rides and tours with verified local riders.

Personal project · 2026Next.jsNestJSTypeScriptSupabase+6
EkriCar: Car Rental Platform for Morocco cover
Software Engineering

EkriCar: Car Rental Platform for Morocco

A car rental platform for Morocco that brings together rental agencies and private owners: renters book online without a bank card and pay the agency at pick-up, and agencies run their whole business from a free management space.

Personal project · 2026Next.js 15React 19NestJS 11TypeScript+13
LeBonResto: Restaurant Marketplace cover
Software Engineering

LeBonResto: Restaurant Marketplace

My own restaurant marketplace for Morocco: customers find and book restaurants, owners manage their listing, and admins run the platform.

Personal project · 2026Next.jsNestJSTypeScriptPrisma+6

Let's build something great together

Whether you need a full-stack web app, a data dashboard, or a cloud-native deployment, I'd love to hear about it.