
Step 1: Install Laravel
First, install a new Laravel application by running the following command in your terminal:
composer create-project --prefer-dist laravel/laravel dashboard_version
Step 2: Install Laravel UI
Next, install Laravel UI and set up authentication with Vue.js:
composer require laravel/ui php artisan ui vue --auth
Step 3: Update Database Credentials
Configure your database by updating the .env
file in the root directory of your Laravel project:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=root
DB_PASSWORD=your_database_password
Step 4: Run Migrations
Run the migration command to create the necessary database tables:
php artisan migrate
Step 5: Start the Development Server
Finally, start the Laravel development server:
php artisan serve
Now, open your browser and visit:
http://localhost/dashboard_version/public/
This will display the login page. You can now proceed with further customization or post details on your website.
This is excellent work, Thanks for posting it out.
Can i use this as a reference template for my academic Project work with credit reference ?
Thanks!