This repo contains the portfolio site I built with laravel.
laravel new your-app-name
- Would you like to install a starter kit? -> Laravel Breeze
- Which Breeze stack would you like to install? -> Blade
- Would you like dark mode support? -> Yes
- Which testing framework do you prefer? -> PHPUnit
- Would you like to initialize a Git repository? -> No
- Which database will your application use? -> MySQL
- If you see the following screen, you have achieved a problem-free installation.
- There will be no registration in my project. To remove the registration part, I will take the
codes from the route -> auth.php file in the main folder into the comment line.
- Open the database -> factories -> UserFactory.php
- Set user's information in the definition function.
- Open the database -> seeders -> DatabaseSeeder.php
- Write
User::factory(1)-> create();
in the run function.
- Write
- Open the terminal in project and write this:
php artisan db:seed
- Check your users table in the database. If you see a screen like the one below, you are proceeding correctly.