Published 1/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 181.57 MB | Duration: 0h 31m
Learn how to define separate areas for users based on User Roles: Admin, Teacher and Student
What you'll learn
Learn how to create separate Areas/Sections for different users based on Roles
Define separate layouts/views/controllers/namespaces/route prefixes/navigation menu etc for different roles
Learn how to define a flexible middleware to check for Roles existance and provide access accordingly
Learn how to group Routes based on roles and implement a flexible routing structure
Requirements
Beginner Knowledge of Laravel is Required.
Description
In this course, we will learn how to define different areas based on User Roles: Students, Teachers, and Admins.The goal is to show you how to separate those subsystems in a Laravel-structured way.And, along the way, we'll learn the following topics: Learn how to create separate Areas/Sections for different users based on RolesDefine separate layouts/views/controllers/namespaces/navigation menu etc for different rolesDefine a flexible middleware to check for Roles' existence and properly implement Authorization checks.Learn how to group Routes based on roles and implement a flexible routing structure along with route name prefixes and URLsMiscellaneous Features: Implement a method to automatically redirect to the correct dashboard based on the User Role.Learn how to assign a default student role on registration.Learn how to define seeders for each model that would configure our project ready for production.All the role areas that we define in this course will have a separate:Controller subfolders/namespacesViews subfoldersVisual layoutsNavigation menusRoute groupsRoute name prefixesURL prefixesSummary: This course will teach you how to define separate areas based on the User Roles, with separate routes/views/layouts/navigation menus/URL prefixes and route groups along with proper Authorization checks . We will create a simple project without any logic inside, and without separate visual themes, the goal is to teach you how to divide the Laravel structure into role areas.
Overview
Section 1: Let's Implement Laravel Breeze with User Role Areas
Lecture 1 Install and Setup Laravel/Breeze
Lecture 2 Let's Define the Models/Migrations/Pivot Tables
Lecture 3 Define the Seeders for User/Role/Pivot Tables
Lecture 4 Let's Start working on the Student Dashboard
Lecture 5 Finalize the Student Dashboard
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.