Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel 12 & React: Build a Social Media App with Inertia
Rating: 4.4 out of 5(43 ratings)
284 students

Laravel 12 & React: Build a Social Media App with Inertia

Learn Laravel 12, React 19 & Inertia.js by building a real social media app with authentication and real-time updates
Last updated 10/2025
English

What you'll learn

  • Build a complete Twitter/X-style social media app using Laravel 12, React 19, and Inertia.js v2
  • Connect Laravel and React seamlessly without writing APIs
  • Implement authentication (registration, login, logout) and authorization with Laravel policies
  • Create posts, comments, and likes with full CRUD operations and validation
  • Build relationships between models using Eloquent ORM and prevent N+1 queries
  • Implement infinite scroll pagination with cursor-based pagination
  • Add real-time polling for new content updates
  • Create optimistic UI updates for instant user feedback
  • Style professional interfaces with Tailwind CSS v4 and shadcn/ui components
  • Use TypeScript for type-safe React components
  • Generate type-safe routes with Laravel Wayfinder
  • Debug applications using Laravel Telescope
  • Use deferred props and advanced Inertia features for better performance

Course content

12 sections98 lectures9h 11m total length
  • Welcome in the Course!1:34
  • Why This Stack and How it Works5:45
  • What You Will Build: Project Demo2:03
  • Setting Up the Environment: PHP, Node, Composer, Laravel1:55
  • Creating and Running a Laravel App4:39
  • Setting Up Inertia.js9:41
  • Code Editor & AI Coding Tips1:25
  • Course Resources0:05

Requirements

  • Basic PHP knowledge (variables, functions, classes)
  • Familiarity with HTML and CSS
  • Basic React understanding (components, props) - we explain as we go

Description

Build modern, full-stack web applications using Laravel 12, React 19, and Inertia.js v2 without the complexity of building APIs. This comprehensive course teaches you how to create a complete Twitter/X-style social media platform from scratch, combining Laravel's backend power with React's dynamic frontend.

What Makes This Course Different:

Unlike traditional Laravel + React courses that require building REST APIs, you'll use Inertia.js to seamlessly connect Laravel and React. Write server-side code in Laravel and client-side code in React, communicating effortlessly without API boilerplate.

What You'll Build:

A fully-functional social media application featuring user authentication, post creation with infinite scroll pagination, a Twitter-like reply system, heart/like functionality with optimistic UI updates, real-time polling for new content, and authorization so users can only edit their own posts.

Technologies You'll Master:

  • Laravel 12 (latest features and streamlined structure)

  • React 19 with TypeScript for type safety

  • Inertia.js v2 (deferred props, infinite scroll, polling)

  • Tailwind CSS v4 with modern CSS variables

  • shadcn/ui component library for professional UI

  • Laravel Wayfinder for type-safe routing

  • Laravel Telescope for debugging

Perfect For:

Developers who know PHP basics and have React exposure, Laravel developers wanting to build modern SPAs, and anyone tired of API complexity who wants a better way to build full-stack applications.

Course Structure:

12 sections taking you from Laravel installation to a ready social platform. Every lecture includes Git commits so you can compare your code and never get stuck.

Start building modern web applications the smart way - without API overhead.

Who this course is for:

  • PHP developers wanting to learn Laravel and build modern single-page applications
  • Laravel developers who want to integrate React without API complexity
  • Full-stack developers tired of building REST APIs for every project
  • React developers curious about server-side frameworks
  • Anyone wanting to build social media or interactive web applications efficiently
  • Freelancers needing to deliver client projects faster