Admin page (middleware basics) | Laravel 10 Tutorial #35

Sdílet
Vložit
  • čas přidán 12. 09. 2023
  • Laravel 10 Feed page
    On this episode we will start to build our admin page and look into how middleware work and how they can help us in authorising our users.
    Playlist of Laravel 10 Tutorial Course :
    • Laravel 10 Beginners C...
    Boots Watch :
    bootswatch.com/
    Laravel debug bar:
    github.com/barryvdh/laravel-d...
    HTML template Github Link:
    github.com/yelocode/bootstrap...
    What is Laravel :
    Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model-view-controller architectural pattern and based on Symfony.
    en.wikipedia.org/wiki/Laravel
    If you're looking to learn how to authenticate a user using Laravel 10, then this is the video for you! In this tutorial, In this tutorial, we'll create a simple registration form that users will be able to submit.
    If you have any questions or problems please leave a comment.
    Laravel Blade
    Laravel crash course
    Laravel Database and crud tutorial
    Laravel Login and Authentication
    Laravel registration

Komentáře • 33

  • @bryonswanson6326
    @bryonswanson6326 Před 10 měsíci +2

    Thank you for all your great work!

    • @yelocode
      @yelocode  Před 10 měsíci

      Thanks for watching, glad the videos are helpful.

  • @TechChannel-ho4xn
    @TechChannel-ho4xn Před 2 měsíci +1

    Thank you for your wonderful tutorial for beginners like me! Great work👍

    • @yelocode
      @yelocode  Před měsícem

      Thanks for watching. Glad to hear that.

  • @kouzokiodin3623
    @kouzokiodin3623 Před měsícem +1

    Thank you so much

  • @LoneTaha
    @LoneTaha Před 4 měsíci

    so useful. thanks!

  • @jonasbirkelof3614
    @jonasbirkelof3614 Před 10 měsíci +2

    Would love to see a more advanced role based tuorial!

    • @yelocode
      @yelocode  Před 10 měsíci +2

      Thanks for watching. Will try to make a playlist of videos for this for sure.

  • @agneldominique352
    @agneldominique352 Před 10 měsíci +1

    Thanks again

  • @WEESPlayzZz
    @WEESPlayzZz Před 10 měsíci +1

    Simple way 😊

  • @nazgyl
    @nazgyl Před 10 měsíci

    Thanks! ❤

  • @skia515
    @skia515 Před 9 měsíci +2

    1:04 can please tell me how can I use another file (not just web.php or api.php) for other route directory as you pointed? 'cause I made a file named admin.php in routes folder and import Illuminate route and use Route::get('/admin', ...) . but not worked

    • @yelocode
      @yelocode  Před 9 měsíci +2

      You need to register your new admin.php fine in the RouteServiceProvider.php file
      something like below should work:
      Route::middleware('web')
      ->group(base_path('routes/admin.php'));
      I do the same thing on this video : czcams.com/video/D7ztp2I2Xc8/video.htmlfeature=shared&t=417

    • @skia515
      @skia515 Před 9 měsíci +1

      @@yelocode thanks man, your work is grate, you are best

  • @ShadiMuhammad
    @ShadiMuhammad Před měsícem

    Good job Alex
    Could you please tell me the VSCode theme name/ id? 😃
    ...
    Btw, you can set the folder name while creating the controller & it'll be created automatically
    👉 Admin\\DashboardController
    - You can also click on "New File..." icon and add the full path of the file and VSCode will create all the non-existing folders
    👉 admins/index.blade.php
    ...
    Keep It Up Man, and don't forget the theme name✌

  • @ousssika5359
    @ousssika5359 Před 10 měsíci +1

    i just want to point it out, you can still access the login page and register page , when your are already logedIN

    • @yelocode
      @yelocode  Před 10 měsíci +1

      Thanks for letting me know, will try to fix that in upcoming videos.

  • @eramitgupta271
    @eramitgupta271 Před 10 měsíci +1

    Can you create real time charts? Laravel Livewire small project please 🙏

    • @yelocode
      @yelocode  Před 10 měsíci

      Have charts planned, hopefully can get the video out soon

  • @israelterorisprikopat
    @israelterorisprikopat Před 10 měsíci +1

    ❤❤❤

  • @HamadAbdulla_7
    @HamadAbdulla_7 Před 10 měsíci +1

  • @WEESPlayzZz
    @WEESPlayzZz Před 10 měsíci +1

    We can do it with jetstream with more security ❤❤

    • @yelocode
      @yelocode  Před 10 měsíci

      Thanks for watching 🙏

  • @skia515
    @skia515 Před 9 měsíci +1

    6:03 I just knew add is_admin column is a just way to make a user admin, if it's another way, please make another videos for it.
    thanks

    • @yelocode
      @yelocode  Před 9 měsíci +1

      You can also use a role based approach, where each use has an assigned role ex: admin, user and if needed you can also add permissions to that system.
      There is a package that can help make this easier : github.com/spatie/laravel-permission
      For the role based approach I cover it on this video (it's for a different course though) : czcams.com/video/yoszLPgnudU/video.html
      It might be helpful to you

    • @skia515
      @skia515 Před 9 měsíci +1

      @@yelocode thanks. damet garm