Loading...
Full-Stack Web Development / Backend API

Al fajir Fashion E-Commerce Platform

A client approached me with a beautifully designed but entirely static React frontend for their emerging fashion brand, D0OR Fashion. They needed a powerful custom server to bring the store to life and manage their operations. I took complete ownership of the backend development, building the entire database architecture and API from the ground up to transform their static interface into a highly dynamic, fully functional e-commerce platform.

The Challenge

The client's store sells traditional Moroccan and Kuwaiti dresses, which presented a unique technical challenge. The database needed to elegantly handle two entirely different types of products without breaking the checkout flow:

  1. Premade Dresses: Standard sizes (S, M, L, XL) requiring strict individual stock tracking for each size, plus dynamic size guides specific to each dress.
  2. Tailored Dresses: Made-to-order items with no set stock, requiring the user to input specific body measurements (shoulder, width, length, hip) at checkout.

The Solution

To solve this, I architected a comprehensive RESTful API using Laravel 11.

  • Database Architecture: Designed a flexible schema utilizing JSON columns to seamlessly switch between premade stock tracking and custom tailoring requirements.
  • Authentication & Security: Implemented token-based API authentication using Laravel Sanctum, strictly separating guest cart logic from authenticated user carts and protecting sensitive routes.
  • Admin Dashboard: Built a secure administrative interface allowing the client to independently add products, sync inventory, define custom size charts, and manage incoming orders.
  • API Integration: Handled all CORS configurations and wrote the Axios integration on the frontend to ensure smooth, secure communication between the client's React app and the Laravel server.


Status & Hosting

The official production platform is currently in the final stages of preparation and is scheduled to launch shortly after Eid in April 2026. In the meantime, I have deployed a fully functional, self-hosted demo of the application on my own infrastructure to showcase the completed backend architecture and seamless API integration.