filmov
tv
Create User Management (Role Based) Flutter App With Asp.Net Core Web API as Backend From Scratch

Показать описание
In this app, we'll let user register and login. Once user signs in, we'll store the jwt token in a singleton class. We'll use singleton class because we want to use only one instance of that class through the app session.
Then we'll decode the token and fetch the role from it. After that, user will be redirect to the main page according to its role. Each main page has methods and actions of the user according to his/her roles.
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
What will you learn?
01. How to create shared widget?
02. How to create shared text field?
03. How to create models?
04. How to create alert boxes?
05. How to share data across screens?
06. How to create preferredSize widgets?
07. How to create singleton classes?
09. How to send http requests to api?
10. How to handle response from api?
11. How to handle errors?
12. How to create and use fromJson and toJson methods?
13. How to store jwt token to use across the app without sharing or passing to widgets?
14. How to decode jwt token?
15. How to fetch specific value from the jwt token?
16. How to redirect user to different page according to their role?
17. How to handle unwanted errors or responses?
18. and many more things...
-------------------------------------------------------------------------------------
Time Stamps:
00:00:00 Create Project & Import Required Packages
00:00:40 Create Folder Structure
00:02:20 Create Model Classes
00:07:16 Create Constants, Widgets & Singleton Class
00:09:28 Create Shared Widgets
00:20:07 Create Role Check Class
00:21:59 Create Login Page
00:31:27 Create Register Page
00:35:46 Create Page For Unknown / New Roles
00:36:46 Create Admin's Main Page
00:40:17 Create Get Users Page (Admin)
00:45:03 Create Add New User Page (Admin)
00:47:51 Create Get Roles Page (Admin)
00:50:09 Create Add Role Page (Admin)
00:53:30 Create Select & Assign Role Pages (Admin)
01:00:57 Create Edit Profile Page (Admin)
01:05:25 Create Change Password Page (Admin)
01:09:14 Create User's Main Page
01:14:16 Create Edit Profile Page (User)
01:15:51 Create Change Password Page (User)
01:18:03 Solving An Error
-------------------------------------------------------------------------------------
Related Videos:
-------------------------------------------------------------------------------------
I hope, you'll like this video. If you have any question related to this video then ask in comments section without any hesitation.
Also Don't forget to like this video and also share it with your friends. Also don’t forget to subscribe our channel and also hit that notification bell to get the notification of our latest video.
-------------------------------------------------------------------------------------
Please Subscribe Our YouTube Channel For More interesting Videos And Don't Forget To Share Our Channel With Your Friends.
Note: *Please Turn Off Any Ad Blocker Software or add-on to support us.
-------------------------------------------------------------------------------------
Additional Tags:
#flutter #role #authentication #authorization #user #management #api #aspnet #tutorial #course #latest #programming
-------------------------------------------------------------------------------------
Music Attribution:
Then we'll decode the token and fetch the role from it. After that, user will be redirect to the main page according to its role. Each main page has methods and actions of the user according to his/her roles.
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
What will you learn?
01. How to create shared widget?
02. How to create shared text field?
03. How to create models?
04. How to create alert boxes?
05. How to share data across screens?
06. How to create preferredSize widgets?
07. How to create singleton classes?
09. How to send http requests to api?
10. How to handle response from api?
11. How to handle errors?
12. How to create and use fromJson and toJson methods?
13. How to store jwt token to use across the app without sharing or passing to widgets?
14. How to decode jwt token?
15. How to fetch specific value from the jwt token?
16. How to redirect user to different page according to their role?
17. How to handle unwanted errors or responses?
18. and many more things...
-------------------------------------------------------------------------------------
Time Stamps:
00:00:00 Create Project & Import Required Packages
00:00:40 Create Folder Structure
00:02:20 Create Model Classes
00:07:16 Create Constants, Widgets & Singleton Class
00:09:28 Create Shared Widgets
00:20:07 Create Role Check Class
00:21:59 Create Login Page
00:31:27 Create Register Page
00:35:46 Create Page For Unknown / New Roles
00:36:46 Create Admin's Main Page
00:40:17 Create Get Users Page (Admin)
00:45:03 Create Add New User Page (Admin)
00:47:51 Create Get Roles Page (Admin)
00:50:09 Create Add Role Page (Admin)
00:53:30 Create Select & Assign Role Pages (Admin)
01:00:57 Create Edit Profile Page (Admin)
01:05:25 Create Change Password Page (Admin)
01:09:14 Create User's Main Page
01:14:16 Create Edit Profile Page (User)
01:15:51 Create Change Password Page (User)
01:18:03 Solving An Error
-------------------------------------------------------------------------------------
Related Videos:
-------------------------------------------------------------------------------------
I hope, you'll like this video. If you have any question related to this video then ask in comments section without any hesitation.
Also Don't forget to like this video and also share it with your friends. Also don’t forget to subscribe our channel and also hit that notification bell to get the notification of our latest video.
-------------------------------------------------------------------------------------
Please Subscribe Our YouTube Channel For More interesting Videos And Don't Forget To Share Our Channel With Your Friends.
Note: *Please Turn Off Any Ad Blocker Software or add-on to support us.
-------------------------------------------------------------------------------------
Additional Tags:
#flutter #role #authentication #authorization #user #management #api #aspnet #tutorial #course #latest #programming
-------------------------------------------------------------------------------------
Music Attribution: