this project from the youtube tutorial, link in end of readme. some code from youtube tutorial is customized to run in laravel 8
https://github.com/Hafizcode02/laravel-simple-cms.git
$ cd laravel-simple-cms
$ composer install
$ npm install
$ npm run dev
$ npm update
after npm install now, maybe you should meet some errors for the version, just run npm update for update the javascript package
make a copy of .env.example and rename to .env
$ php artisan key:generate
put database credentials in .env file
$ php artisan migrate
$ php artisan tinker
$ factory(App\User::class, 5)->create();
$ factory(App\Post::class, 100)->create();
$ exit
$ php artisan db:seed --class=CategoriesTableSeeder
$ php artisan tinker
$ factory(App\CategoryPost::class, 100)->create();
$ php artisan storage:link
This is important, because without this your image can't be stored correctly
visit at : https://mailtrap.io/
put mail credentials in .env file
Click on the image bellow to see the YouTube video.