Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NestJS: Build Airbnb Clone APIs (بالعربي)
Rating: 5.0 out of 5(15 ratings)
46 students

NestJS: Build Airbnb Clone APIs (بالعربي)

Airbnb Clone API with NestJS, MongoDB, Authentication, Authorization, File Uploads, Bookings, OTP, Forget Password..etc
Last updated 7/2026
Arabic
Arabic [Auto],

What you'll learn

  • Authentication with register, login, refresh token, and current account endpoints
  • Role-based access control for users and system admins
  • System admin initialization from environment variables
  • User management with secure password hashing
  • Countries, cities, currencies, unit categories, and app settings modules
  • Unit/listing management with owner authorization
  • Unit photo upload, update, and delete flows
  • File validation by size, extension, and file signature
  • S3-compatible storage support with local MinIO for development
  • Public unit listing and unit details APIs
  • User-owned unit listing APIs
  • Unit activation, deactivation, and soft delete flows
  • Booking availability checks
  • Booking request creation and price calculation
  • Guest booking update and cancellation flows
  • Host booking status management
  • Booking review submission
  • Unit review aggregation and listing
  • Favorite units APIs
  • OTP module for sending and verifying one-time passwords
  • Mail module using an adapter pattern with Nodemailer support
  • Forgot-password module using OTP and email
  • MongoDB repositories with a reusable base repository
  • Use-case based application structure
  • DTO validation and response transformation
  • Global exception handling
  • Internationalized validation messages with nestjs-i18n
  • Swagger API documentation
  • Docker Compose for MongoDB, MinIO, and Mailpit
  • Ready-to-use API Bruno collection under air-bnb-collection

Course content

20 sections • 168 lectures • 52h 1m total length
  • Course Intro14:37
  • Understanding SRS - فهم متطلبات عمل النظام18:21
  • User Registration Feature Part-116:29
  • User Registration Feature Part-220:35
  • User Profile Management Feature17:13
  • Unit Listings Management Feature24:13
  • Booking System-Book a unit Feature10:21
  • Booking Confirmation Feature Part-16:53
  • Booking Confirmation Feature Part-28:09
  • Reviews and Ratings Feature8:48
  • Favourite Units List Feature11:16
  • App Settings Feature12:50
  • Manage Unit Categories Feature12:19
  • Setup Currencies List Feature6:26
  • Setup Countries and Cities Feature14:18
  • Manage Users by System Admin Feature15:03

Requirements

  • Understand Nodejs & ExpressJS
  • Understand Javascript & Typescript
  • Understand database Basics
  • Understand NestJS Framework

Description

Build a production-style backend for an Airbnb-inspired booking platform using NestJS.

This course is the main project for a practical Udemy course where students do not just watch isolated examples. They build a real API step by step: authentication, users, system admins, locations, units, bookings, favorites, reviews, file uploads, OTP, email integration, reusable architecture patterns, validation, authorization, Swagger documentation, and local infrastructure with Docker.

By the end of the project, students will understand how to structure and ship a serious NestJS backend instead of a small CRUD demo.

Why This Project Is Valuable

Many backend courses stop at simple CRUD. This project goes further.

Students learn how real backend features connect together:

  • Authentication is connected to role guards and current-user decorators.

  • Units are connected to owners, files, categories, currencies, bookings, reviews, and favorites.

  • Bookings are connected to availability validation, business rules, host actions, guest actions, and reviews.

  • Email and OTP are prepared for real account flows such as forgot password.

  • Infrastructure is not ignored: MongoDB, object storage, and email testing run locally with Docker.

The goal is not only to learn NestJS syntax. The goal is to learn how to think, structure, debug, and extend a backend project


What Makes This Different From a Basic CRUD Course

This project teaches the decisions behind the code:

  • Where business logic should live

  • How modules communicate safely

  • How to keep controllers thin

  • How to avoid duplicating database logic

  • How to handle roles, ownership, and authorization

  • How to test API flows with real local services

  • How to prepare the codebase for future modules like forgot password

The result is a backend that students can study, extend, and confidently show in a portfolio.

Who this course is for:

  • Backend students who know JavaScript or TypeScript and want to build real APIs
  • NestJS beginners who want a complete project instead of scattered examples
  • Node.js developers who want to learn clean architecture in practice
  • Developers preparing for backend interviews or freelance API work