A modern web application built with Laravel and React using Inertia.js for seamless full-stack development.
- Backend: Laravel 12.x (PHP 8.2+)
- Frontend: React 19 with TypeScript
- Styling: Tailwind CSS 4.x
- UI Components: Radix UI, Headless UI, Lucide React
- Build Tool: Vite
- Full-Stack Bridge: Inertia.js
- PHP 8.2 or higher
- Node.js 18+ and npm
- Composer
-
Clone the repository
-
Install PHP dependencies:
composer install
-
Install Node.js dependencies:
npm install
-
Set up environment:
cp .env.example .env php artisan key:generate
-
Set up database:
touch database/database.sqlite php artisan migrate
Start the development server:
composer run devThis runs Laravel server, queue worker, and Vite dev server concurrently.
For SSR development:
composer run dev:ssrnpm run build:ssrcomposer run dev- Start development serverscomposer run test- Run PHP testsphp artisan serve- Laravel development server
npm run dev- Vite development servernpm run build- Production buildnpm run lint- ESLint with auto-fixnpm run format- Prettier formattingnpm run types- TypeScript type checking
├── app/ # Laravel application code
├── resources/js/ # React components and frontend code
├── resources/css/ # Stylesheets
├── routes/ # Laravel routes
├── database/ # Migrations, seeders, factories
├── tests/ # PHP tests
└── public/ # Public assets
MIT License