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

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024

Комментарии • 33

  • @TechChannel-ho4xn
    @TechChannel-ho4xn 4 месяца назад +2

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

    • @yelocode
      @yelocode  3 месяца назад

      Thanks for watching. Glad to hear that.

  • @kouzokiodin3623
    @kouzokiodin3623 2 месяца назад +1

    Thank you so much

    • @yelocode
      @yelocode  2 месяца назад

      Thanks for watching.

  • @bryonswanson6326
    @bryonswanson6326 Год назад +2

    Thank you for all your great work!

    • @yelocode
      @yelocode  Год назад

      Thanks for watching, glad the videos are helpful.

  • @jonasbirkelof3614
    @jonasbirkelof3614 Год назад +2

    Would love to see a more advanced role based tuorial!

    • @yelocode
      @yelocode  Год назад +2

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

  • @WEESPlayzZz
    @WEESPlayzZz Год назад +1

    Simple way 😊

  • @agneldominique352
    @agneldominique352 Год назад +1

    Thanks again

  • @LoneTaha
    @LoneTaha 6 месяцев назад

    so useful. thanks!

  • @ShadiMuhammad
    @ShadiMuhammad 3 месяца назад

    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✌

  • @nazgyl
    @nazgyl Год назад

    Thanks! ❤

  • @israelterorisprikopat
    @israelterorisprikopat Год назад +1

    ❤❤❤

  • @skia515
    @skia515 10 месяцев назад +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  10 месяцев назад +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 : ruclips.net/video/D7ztp2I2Xc8/видео.htmlfeature=shared&t=417

    • @skia515
      @skia515 10 месяцев назад +1

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

  • @WEESPlayzZz
    @WEESPlayzZz Год назад +1

    We can do it with jetstream with more security ❤❤

    • @yelocode
      @yelocode  Год назад

      Thanks for watching 🙏

  • @ousssika5359
    @ousssika5359 Год назад +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  Год назад +1

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

  • @eramitgupta271
    @eramitgupta271 Год назад +1

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

    • @yelocode
      @yelocode  Год назад

      Have charts planned, hopefully can get the video out soon

  • @skia515
    @skia515 10 месяцев назад +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  10 месяцев назад +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) : ruclips.net/video/yoszLPgnudU/видео.html
      It might be helpful to you

    • @skia515
      @skia515 10 месяцев назад +1

      @@yelocode thanks. damet garm

  • @HamadAbdulla_7
    @HamadAbdulla_7 Год назад +1