- PHP Version 8.1
-
Clone the repository
git clone https://github.com/Arup-paul/todo-laravel-inertia-react.git
-
cd into the project directory
cd todo-laravel-inertia-react
-
Install the Composer dependencies
composer install
-
Set Up .env File
cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Clear All Cache
php artisan optimize:clear
-
Configure Database
-
DB_CONNECTION=your_driver DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
-
NPM install
npm install
-
NPM run dev
npm run dev
-
Run Migrations with seed
php artisan migrate --seed
-
Start the Development Server
php artisan serve