A boilerplate project that combines Laravel 10 with Inertia.js and React for rapid web application development.
- Introduction
- Features
- Prerequisites
- Getting Started
- Configuration
- Usage
- Testing
- Contributing
- License
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.
- 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.
- PHP (version 8.1 or higher)
- Composer
- Node.js and npm
- Laravel 10
# Clone the repository
git clone https://github.com/Mynk001/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!