How to build Modern Web Apps: Laravel 12 + InertiaJS + ReactJS

Published: (December 13, 2025 at 02:49 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

Installation Prerequisites

  • PHP 8.3 or above
  • Laravel installer (or Composer for Laravel installation)
  • Latest Node.js version

Step 1: Create a Laravel Project

laravel new dineshstack.blog

During the installation you’ll be prompted to choose options. Select:

  • React for the frontend
  • Authentication system
  • Testing framework
  • Install frontend dependencies

Step 2: Verify Installation and Run the Application

cd dineshstack.blog/
php artisan serve

You should see output similar to:

Your application will be available at:
http://127.0.0.1:8000
🎉 And You're Done!

What you get

  • A powerful Laravel backend
  • React frontend with InertiaJS for seamless integration
  • Built‑in authentication system
  • Modern development tooling

Next Steps

  • Explore the React components in resources/js/Pages
  • Review the Laravel routes that connect to your React components
  • Start building your custom features

Happy coding! 🚀

Back to Blog

Related posts

Read more »