This repository is linked to this youtube video where I show you how to create a complete blog in Laravel 8 using best practices.
• Author: Code With Dary
• Twitter: @codewithdary
• Instagram: @codewithdary
• PHP 7.3 or higher
• Node 12.13.0 or higher
Setting up your development environment on your local machine:
git clone [email protected]:codewithdary/laravel-8-complete-blog.git
cd laravel-8-complete-blog
cp .env.example .env
composer install
php artisan key:generate
php artisan cache:clear && php artisan config:clear
php artisan serve
Create a database
mysql
create database laravelblog;
exit;
Setup your database credentials in the .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravelblog
DB_USERNAME={USERNAME}
DB_PASSWORD={PASSWORD}
Migrate the tables
php artisan migrate
Do not hesitate to contribute to the project by adapting or adding features ! Bug reports or pull requests are welcome.