Skip to content

Effortlessly build modern web apps with Laravel 10, Inertia.js and React using this scaffold project. Get started quickly with server-side rendering and interactive UI components.

mayankjaviya/inertia-react-scaffold

Repository files navigation

inertia-react-scaffold

A boilerplate project that combines Laravel 10 with Inertia.js and React for rapid web application development.

Looking for an Admin Panel ?

For an admin panel with Authentication functionality, explore Inertia React Admin Panel. It's built on top of this scaffold, providing a seamless setup process and an integrated Bootstrap admin panel.

Table of Contents

Introduction

The inertia-react-scaffold is a powerful starting point for building dynamic web applications using Laravel 10, Inertia.js, React, and Vite. This boilerplate combines the best of both worlds: the robust backend capabilities of Laravel and the efficient, client-side interactivity of React, all while benefiting from the lightning-fast asset compilation provided by Vite.

Whether you're a seasoned developer looking to streamline your workflow or a newcomer seeking a solid foundation for your web project, this boilerplate offers an array of features and a clean, well-structured codebase to accelerate your development journey. Get started quickly, customize to your heart's content, and build outstanding web applications with confidence.

Features

  • Laravel 10 Integration: Built on top of Laravel 10.
  • Inertia.js and React: Harness the power of Inertia.js and React for building modern, dynamic, and single-page applications with minimal client-side complexity.
  • Vite Asset Compilation: Utilize Vite, a fast and efficient build tool, to compile your JavaScript and CSS assets. Vite offers rapid development and hot module replacement for an enhanced development experience.
  • Routing and Navigation: Inertia.js allows for smooth client-side navigation without full-page reloads. You can easily define routes and handle navigation on the front end.
  • Sample Page and Component: Get started quickly with sample pages and components to demonstrate how to build various parts of your application.

Prerequisites

  • PHP (version 8.1 or higher)
  • Composer
  • Node.js and npm
  • Laravel 10

Getting Started

# Clone the repository
git clone https://github.com/Mayank-Javiya/inertia-react-scaffold.git

# Change into the project directory
cd your-project

# Install PHP dependencies
composer install

# Install JavaScript dependencies
npm install

# Compile assets
npm run dev

# Start the development server
php artisan serve

Take advantage of this boilerplate's comprehensive toolset and create web applications that are both feature-rich and efficient. Welcome to a faster, smoother, and more enjoyable development experience!

About

Effortlessly build modern web apps with Laravel 10, Inertia.js and React using this scaffold project. Get started quickly with server-side rendering and interactive UI components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published