Laravel Repo Cloning
Frontend Assets
npm iBackend Assets
composer installCreate the .env file
cp .env.example .envGenerate the App Key
php artisan key:generateConfigure Database Connection
In the .env file, set:
DB_CONNECTION=mysqlDB_HOST=127.0.0.1DB_PORT=3306DB_DATABASE=your_database_nameDB_USERNAME=your_usernameDB_PASSWORD=your_passwordRun Database Migrations
php artisan migrateStart the Backend Server
php artisan serveIf images are not loading, use this command:
php -S localhost:8000 -t publicStart the Frontend Server
npm run dev