Admin page (middleware basics) | Laravel 10 Tutorial #35
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
Thank you for all your great work!
Thanks for watching, glad the videos are helpful.
Thank you for your wonderful tutorial for beginners like me! Great work👍
Thanks for watching. Glad to hear that.
Thank you so much
Thanks for watching.
so useful. thanks!
Would love to see a more advanced role based tuorial!
Thanks for watching. Will try to make a playlist of videos for this for sure.
Thanks again
Thanks for watching
Simple way 😊
Thanks! ❤
You're welcome 😊
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
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
@@yelocode thanks man, your work is grate, you are best
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✌
i just want to point it out, you can still access the login page and register page , when your are already logedIN
Thanks for letting me know, will try to fix that in upcoming videos.
Can you create real time charts? Laravel Livewire small project please 🙏
Have charts planned, hopefully can get the video out soon
❤❤❤
Thanks for watching
🙏
We can do it with jetstream with more security ❤❤
Thanks for watching 🙏
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
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
@@yelocode thanks. damet garm