← All projects
01 / 04

Nuzul

Web + Mobile · Solo-built

Nuzul — Property Booking Marketplace

A full two-sided booking marketplace (Airbnb / Gathern-style) for short-term rentals in Saudi Arabia — guest and host web app, a native Flutter iOS app sharing one JSON API, and a full guest/host mode switch.

Architecture sketch

Web appLaravel · ReactiOS appFlutterJSON APILaravelDatabaseMySQLMessagingguest · host · supportchat
Home page
Nuzul web home page — Arabic RTL, Mecca skyline hero, property search
Search
Nuzul search results page with filters
Property page
Nuzul property detail page with booking widget
Nuzul mobile app — guest home screen

Guest — browse & book

Nuzul mobile app — host property list

Host — manage properties

Web appLaravel, Inertia.js, React 19 + TS, Tailwind v4
Mobile appNative Flutter (iOS), shared JSON API
Booking engineRace-safe date holds, overnight and evening bookings, post-stay reviews
MessagingGuest/host chat with a strict, separate support channel
LanguageArabic RTL default + English, custom design system
175+Pest tests
2apps, one API
intmoney, not float
Two guests booking the same nights at the same moment: the listing row is locked first, then availability is re-checked under the lock, so only one booking goes through. · app/Services/BookingService.php
return DB::transaction(function () use (/* … */): Booking {
    // Serialize concurrent attempts for one listing — first statement in the transaction.
    $this->lockProperty($property);

    // Re-checked under the lock: a second guest sees the dates as taken.
    if (! $this->availability->isAvailable($property, $checkin, $checkout, $period)) {
        throw new BookingException('booking.error.dates_taken');
    }
    // … price the stay, then store the booking
});

private function lockProperty(Property $property): void
{
    // The listing row always exists, so even its very first booking is covered.
    Property::query()->whereKey($property->id)->lockForUpdate()->first(['id']);
}
→ كل المشاريع
٠١ / ٠٤

نُزُل

ويب + جوال · بناء فردي كامل

نُزُل — منصة حجز عقارات

بنيت بمفردي منصة حجز عقارات ثنائية الاتجاه (على غرار Airbnb أو Gathern) للإيجار قصير المدى في السعودية — تطبيق ويب للضيوف والمضيفين، وتطبيق جوال أصلي بـ Flutter لنظام iOS يشارك واجهة برمجية (API) واحدة مع تطبيق الويب، مع إمكانية التبديل الكامل بين وضع الضيف ووضع المضيف.

مخطط البنية

تطبيق الويبLaravel · Reactتطبيق iOSFlutterالواجهة البرمجيةLaravel · JSONقاعدة البياناتMySQLالمراسلةضيف · مضيف · دعمالمحادثات
الصفحة الرئيسية
الصفحة الرئيسية لموقع نُزُل — عربي RTL، أفق مكة، بحث عن عقارات
البحث
نتائج البحث في نُزُل مع الفلاتر
صفحة العقار
صفحة تفاصيل العقار مع أداة الحجز
تطبيق نُزُل — شاشة الضيف الرئيسية

ضيف — تصفّح واحجز

تطبيق نُزُل — قائمة عقارات المضيف

مضيف — إدارة العقارات

تطبيق الويبLaravel وInertia.js وReact 19 مع TypeScript وTailwind v4
تطبيق الجوالFlutter أصلي لنظام iOS، بنفس الـ API
محرك الحجوزاتحجز آمن للتواريخ، حجوزات ليلية ومسائية، تقييمات بعد الإقامة
المحادثاتمحادثات فورية ضيف/مضيف، دعم منفصل، خصوصية صارمة
اللغةعربي RTL أساسي وإنجليزي، هوية بصرية مخصصة
+١٧٥اختبار Pest
٢تطبيقين، API واحد
intمبالغ، لا كسور
ضيفان يحجزان الليالي نفسها في اللحظة نفسها: يُقفل صف العقار أولًا، ثم يُعاد التحقق من التوفر تحت القفل، فيمرّ حجز واحد فقط. · app/Services/BookingService.php
return DB::transaction(function () use (/* … */): Booking {
    // Serialize concurrent attempts for one listing — first statement in the transaction.
    $this->lockProperty($property);

    // Re-checked under the lock: a second guest sees the dates as taken.
    if (! $this->availability->isAvailable($property, $checkin, $checkout, $period)) {
        throw new BookingException('booking.error.dates_taken');
    }
    // … price the stay, then store the booking
});

private function lockProperty(Property $property): void
{
    // The listing row always exists, so even its very first booking is covered.
    Property::query()->whereKey($property->id)->lockForUpdate()->first(['id']);
}