Build Flutter Doctor Appointment App with Laravel Backend - Part 6 (JWT Authorization)

preview_player
Показать описание
The new series is about building a Doctor Appointment App with using Laravel as Backed and Dashboard. The main idea of this app is allow users to make an appointment with the doctors using mobile app. And, the major features will be demonstrated in the following videos in this series, such as Laravel Dashboard, make appointment with registered doctor, view doctor's details, rating and feedback submission and etc. This video is the Part 6 in this series, demonstrate about the JWT Authorization and Authentication in Flutter App.

The Source Code will be uploaded to my Github AFTER end of this series

00:00 App Preview
01:18 Dio HTTP Requests
06:40 Build Laravel Controller and API End Point
10:44 JWT Authorisation and Authentication
13:30 Auth Model and Provider
20:29 User Registration

Credit to:

1) Background Images and photos
- Background Images & Thumbnail, created and downloaded from Canva
- Some profile pictures and photos are downloaded from Unsplash, Pixabay and Pexels

2) Background Music:
- Youtube Audio Library
a. Interstellar Mood, by Nico Staf
b. Large Smile Mood, by Nico Staf
c. Sunny Travel, by Nico Staf
d. Steps, by Anno Domini Beats
e. Friendly Dance, by Nico Staf
f. Sunday Rain, by Cheel
g. Song of Mirrors, by Unicorn Heads

a. Creative Minds
b. Inspire

3) Previous App Demo:

Flutter Movie App:

#flutter #laravel #doctor #appointment #jwt #token #authorization #authentication #login #register #ios #android #flutterdev #flutterdevelopment #flutterapp #flutterlearner

Follow @
1. instagram - codelx21 (TechnoLX21)
2. Twitter - @LxTechno
Рекомендации по теме
Комментарии
Автор

facing problem with profile photo in doctor profile I do each and everything you do but still facing the problem

akbarmpibor
Автор

Really love your videos. Keep up the works.

I keep getting this" Error: type "DioError" is not a 'bool' in boolean expression " this is when i try to register a new user .

hemotionstudio
Автор

Dio bad request status code 500 . What should i do sir?

mohitanand
Автор

hello, 10x for the series, are you going to add new episode?

hassaneldika
Автор

1. I don't have any prior knowledge in PHP or with Laravel Backend, so can I still make the app by just watching your tutorial step by step?
2. I have good knowledge of Flutter and connecting local APIs with my Frontend but still I am learning. So, is there any other skill that I need to learn to make the app or watching the tutorial step by step is enough?

check your mail too

hardiksehgal
Автор

in android emulator used 10.0.2.2 and adding dio.options.followRedirects = true;

tilaadda
Автор

hello sir, excuse me for the inconvenience i had a problem with user['name'] and need a little help

mathieukomenan
Автор

Hello Sir, token value is printing null.

aizazalamkhan
Автор

the error is Expected a value of type 'String', but got one of type 'Null'

mathieukomenan
Автор

Hello bro, awesome tutorials and gorgeous way how to write code. Thanks for your help. I have an error while running the app on phone only, but if I run it on chrome there is no error and works.
ERROR:
Unhandled Exception: type 'DioError' is not a subtype of type 'bool'
#0 closure>.<anonymous closure>
please can you help me.
Thanks in advance

hassaneldika
Автор

at 19:00 if I press sign in my debug console goes like this --- Unhandled Exception: type 'MissingPluginException' is not a subtype of type 'bool'
#0 closure>.<anonymous closure>
login_form.dart:83
<asynchronous suspension>

daddyyyyyyyyyy
Автор

i'm get error with initState() and build, it looks like it's loading the form and then runs getData..
Future<void> getData() async {
//get token from share preferences
final SharedPreferences prefs = await
final token = prefs.getString('token') ?? '';
if (token.isNotEmpty && token != '') {
final response = await
if (response != null) {
setState(() {
user = json.decode(response);
});
}
}
}

@override
void initState() {
super.initState();
getData();
}

pampatic