Back to Browse

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

3.0K views
Sep 25, 2024
1:21:40

In this video, we'll create user management app in flutter from scratch. This user management system will be role based. As back-end, we'll use asp.net core web api (we created the api in previous video). 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. ------------------------------------------------------------------------------------- 1. Source code of flutter project: https://github.com/FLDevelopers/RoleBasedUserManagementFlutterAppWithAspNetCoreWebApi 2. Source code of api project: https://github.com/FLDevelopers/Role-Based-User-Management-API-Using-Dynamic-Policies-In-Asp.Net-Core-Web-API ------------------------------------------------------------------------------------- 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? 08. How to connect flutter app with asp.net core web api? 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: 1. Create Role Based User Management API Using Dynamic Policies In Asp.Net Core Web API: https://youtu.be/beIEysfQxGo 2. Create Asp.Net Core Web API With JWT Role Based Authorization Using Identity Framework From Scratch: https://youtu.be/brxStRVyJiM 3. Connect Flutter With Asp.Net Core Web API To Run On Emulator & Real Device: https://youtu.be/PAY6TqIEVZI 4. How To Create Singleton Class in Flutter Dart: https://youtu.be/cErZscXzf8s 5. Create Custom Login, Registration, Email Verify And Forgot Password Pages In Asp.Net Core MVC App: https://youtu.be/hthzKj05w3w ------------------------------------------------------------------------------------- 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. ------------------------------------------------------------------------------------- Join WhatsApp Channel: https://whatsapp.com/channel/0029VaE0W6HA2pLH5dN39n36 Check out our website: https://www.freetrained.com/ Facebook Page Link: https://www.facebook.com/Free_Trained Facebook Group Link: https://www.facebook.com/groups/1746009532359857/ 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: Almost in F - Tranquillity by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/ Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100394 Artist: http://incompetech.com/

Download

0 formats

No download links available.

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