Skip to content

mehmettemizkan/portfolio-with-laravel

Repository files navigation

Mehmet Temizkan's Portfolio Page

This repo contains the portfolio site I built with laravel.

Creating A Laravel Project

  • 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. Laravel-Breeze Successful Installation

Removing the register part

  • There will be no registration in my project. To remove the registration part, I will take the Ekran Resmi 2023-12-26 17 44 45
    codes from the route -> auth.php file in the main folder into the comment line.

Create a User

  • 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.
  • 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.

Ekran Resmi 2023-12-26 18 15 55