WEBVTT

00:00.320 --> 00:00.760
Hard.

00:00.760 --> 00:06.640
Everyone in this video, let's continue with our reaction into the bus.

00:07.200 --> 00:13.840
Now you can see right here we have some complicated logic, but most of the time we don't care.

00:13.840 --> 00:16.240
That's what we need to do.

00:16.280 --> 00:23.880
We need to just send the bus right here again for the client and that will be very enough.

00:24.200 --> 00:24.480
Okay.

00:24.520 --> 00:30.200
You can see right here we already handle the logic, right?

00:30.960 --> 00:33.280
We handled some logic over here.

00:33.280 --> 00:37.840
And by the end of the day, we just need to know the bus right here.

00:40.440 --> 00:44.480
Hop reaction okay.

00:45.200 --> 00:48.040
And this will be enough.

00:48.880 --> 00:54.320
So let me show you how it works right here.

00:54.320 --> 00:57.200
If I console.log we will.

00:59.690 --> 01:00.370
Yes, ma'am.

01:00.530 --> 01:01.010
Boss!

01:01.010 --> 01:01.570
Over here!

01:02.930 --> 01:03.450
Okay.

01:04.570 --> 01:06.050
And I will away.

01:06.570 --> 01:07.010
Sorry.

01:10.370 --> 01:11.490
I will call.

01:14.610 --> 01:15.290
The boss.

01:18.370 --> 01:19.650
Come on.

01:20.450 --> 01:21.090
Boss.

01:22.410 --> 01:24.810
Blend tool is done.

01:25.930 --> 01:30.410
And Woodside boss over here is in the cast.

01:30.850 --> 01:32.490
First of all, boss.

01:32.530 --> 01:35.010
Little save.

01:35.050 --> 01:35.650
Boss.

01:35.690 --> 01:36.210
And?

01:39.010 --> 01:39.450
So.

01:41.690 --> 01:45.050
This will be for the respawn post.

01:45.690 --> 01:49.370
And we need to emit a rank with this information.

01:49.570 --> 01:50.050
Right.

01:50.730 --> 01:51.890
Let me call that.

02:23.130 --> 02:29.410
African art reaction and I will send respond box over here.

02:30.130 --> 02:31.850
And let me create a logic.

02:37.090 --> 02:47.370
When we lost very strong possibility of this dot several dot emit boss reaction.

02:48.690 --> 02:52.570
Okay and boost the post over here.

02:53.490 --> 02:55.530
Let me console.log the boss.

03:08.780 --> 03:10.300
Let me show you how it works.

03:10.940 --> 03:13.300
Let's wake up with the idea of the boss over here.

03:14.540 --> 03:15.460
Let me go!

03:18.020 --> 03:20.340
And I will choose.

03:22.980 --> 03:24.140
Add reactions.

03:33.140 --> 03:34.060
Into the body.

03:35.020 --> 03:38.980
Add over here and the types will be halfway.

03:39.420 --> 03:41.220
And right now let me authentication.

03:49.540 --> 03:50.060
Okay.

03:50.700 --> 03:52.580
And now let me try to send us.

03:56.020 --> 03:59.260
Now you can say we already got this information.

04:00.580 --> 04:01.500
Let's double check.

04:01.540 --> 04:03.900
We already got the reaction with the happy.

04:03.940 --> 04:04.620
We won.

04:04.660 --> 04:05.100
Okay.

04:05.340 --> 04:07.500
We can base on this thing.

04:07.900 --> 04:08.380
So.

04:12.500 --> 04:14.860
Who showed us all the funny.

04:15.620 --> 04:23.380
Okay, so with this way we can see in the front end, right?

04:29.380 --> 04:35.980
Right now, I just realized we don't have any controllers for.

04:36.740 --> 04:42.980
Get the user whole reaction for the boss.

04:43.020 --> 04:43.460
Okay?

04:43.500 --> 04:46.420
We only see the the cows.

04:46.460 --> 04:46.820
Okay.

04:46.860 --> 04:51.420
We don't say a whole user calls it one.

04:51.460 --> 04:51.980
Right?

04:52.420 --> 04:58.190
So for that reason, we just need to create another controller for Fall for my own.

05:00.430 --> 05:03.230
Reaction app specific boss.

05:03.550 --> 05:04.030
Okay.

05:04.550 --> 05:07.910
And right now, this method already work.

05:08.030 --> 05:08.350
Okay?

05:08.350 --> 05:10.030
We don't need to modify anything.

05:11.590 --> 05:12.230
Oh, sorry.

05:12.310 --> 05:13.030
Let's reload.

05:13.030 --> 05:13.670
All right.

05:13.790 --> 05:24.070
Okay, this function will be enough, but right here, if you get a boss right here, you can see we

05:24.070 --> 05:25.270
just copy the ID.

05:27.550 --> 05:27.950
Um.

05:31.150 --> 05:34.350
Let me come over here, boss.

05:37.230 --> 05:37.830
Let's say.

05:38.710 --> 05:40.550
Okay, we got a reaction.

05:40.630 --> 05:47.710
Now I want to create another method to say, uh, for example, right here, let me duplicate.

05:49.150 --> 05:51.430
I will create a boss.

05:53.670 --> 05:54.510
Reaction.

05:56.710 --> 05:57.230
Okay.

05:57.950 --> 06:04.110
We still need to boost right here and slot reaction, right?

06:08.030 --> 06:08.430
Boss.

06:08.430 --> 06:09.870
Array and reaction.

06:13.750 --> 06:14.390
Okay.

06:17.830 --> 06:20.110
Let me create another controllers.

06:26.230 --> 06:30.430
Let's say we have a method for get one.

06:30.510 --> 06:31.830
Let me see again right here.

06:31.870 --> 06:34.790
Let me come with us and put us over here.

06:35.310 --> 06:37.870
Slot and a slot reaction.

06:39.230 --> 06:46.870
We will find one with reaction plus five.

06:49.790 --> 06:51.950
Okay, I don't know.

06:53.950 --> 06:54.950
We need the other.

06:56.280 --> 07:00.560
And we don't need any current users right now.

07:01.040 --> 07:01.920
Remove that.

07:05.280 --> 07:06.520
And right here.

07:08.120 --> 07:08.960
Right here.

07:10.920 --> 07:12.080
What is that?

07:13.640 --> 07:17.560
Let me create another the controller file.

07:17.560 --> 07:19.360
One with the action.

07:19.760 --> 07:20.240
Okay.

07:32.480 --> 07:32.920
Okay.

07:32.920 --> 07:38.280
Right now we need to delegate that job or the reaction service.

07:38.520 --> 07:39.800
Open reaction service.

07:40.360 --> 07:42.280
And we need to write a method.

07:48.320 --> 07:49.040
By.

07:55.520 --> 08:00.160
Most reaction is here, we will be okay.

08:04.360 --> 08:14.720
And when it comes reaction people, why this reaction model not file with the boss?

08:15.520 --> 08:17.880
We responded okay.

08:17.920 --> 08:21.080
And actually we just need to return directly over here.

08:24.080 --> 08:26.720
And go to the boss service.

08:27.040 --> 08:34.000
And I will call here return this dot.

08:39.560 --> 08:45.520
3.5 boss reaction would be over here.

08:48.360 --> 08:50.400
And let me test the controller.

08:57.290 --> 08:57.970
Let's say.

09:00.090 --> 09:05.570
Um, right here, because we already have a little.

09:06.530 --> 09:08.010
So it not work right now.

09:08.010 --> 09:10.410
We need to create another little.

09:11.010 --> 09:12.090
Let me create us.

09:12.730 --> 09:17.370
I will call, but before that, let me disable.

09:17.890 --> 09:18.370
Okay.

09:24.570 --> 09:29.410
Let me say right here we already got the user.

09:30.130 --> 09:30.690
Okay.

09:31.010 --> 09:33.770
What's it about the time where we need to.

09:35.890 --> 09:37.570
Rechartering the user.

09:37.610 --> 09:37.930
Sorry.

09:37.970 --> 09:40.450
We need to populate the user over here.

09:41.410 --> 09:49.170
So we go back to the reaction service and popularize the user okay.

09:49.210 --> 09:53.370
We only need the users Right.

09:55.130 --> 09:55.810
Let me say.

09:58.530 --> 10:06.490
Over and right now, we only need the the name and the avatar.

10:11.410 --> 10:12.690
That's really enough.

10:17.810 --> 10:19.330
Over there in Nevada.

10:19.690 --> 10:21.330
And we need to transform this.

10:23.690 --> 10:27.970
Let me show you right here inside the controller.

10:27.970 --> 10:31.330
We need to create another controller.

10:33.530 --> 10:42.250
I will, um, I will create a respawn boss action.

10:42.650 --> 10:44.290
Not because this.

10:46.650 --> 10:48.570
Is not class.

10:49.290 --> 10:51.650
This one boss reaction.

10:53.860 --> 10:56.100
Followed by the other.

11:04.500 --> 11:05.060
Okay.

11:05.900 --> 11:09.460
And, uh, the post.

11:12.780 --> 11:14.060
Will read it also.

11:17.220 --> 11:19.900
And the ties.

11:28.620 --> 11:30.620
And the user.

11:31.220 --> 11:31.580
Okay.

11:31.580 --> 11:33.780
We need to create the app.

11:33.780 --> 11:34.180
So.

11:49.780 --> 11:51.180
Uh, let me go to user.

11:53.380 --> 11:56.980
About the time and we would user over here.

11:58.140 --> 12:10.340
So what we need to do further we will use the id string user name screen and user avatar.

12:12.820 --> 12:13.220
Okay.

12:13.340 --> 12:13.860
Okay.

12:14.860 --> 12:20.980
Now let's go one by one small and transforms.

12:40.140 --> 12:40.700
So.

12:48.580 --> 12:51.150
Much so we will Well, don't forget us.

12:51.830 --> 12:57.950
And one here is more user avatar URL.

12:58.950 --> 13:06.670
And right here let me copy the transform come from this table does.

13:09.190 --> 13:10.070
Not over here.

13:13.270 --> 13:14.470
And we need to.

13:16.910 --> 13:17.790
Refactor.

13:19.390 --> 13:19.790
Sorry.

13:32.110 --> 13:33.510
For my question mark.

13:35.550 --> 13:36.470
Question mark.

13:37.270 --> 13:37.710
Right.

13:39.990 --> 13:40.550
And run.

13:40.550 --> 13:41.670
Here let me remove.

13:44.910 --> 13:46.390
Use the avatar.

13:48.030 --> 13:48.590
Okay.

13:49.470 --> 13:49.910
That is.

13:52.990 --> 13:53.630
What we are.

13:53.670 --> 13:58.790
Animals respond both little and inside.

14:00.070 --> 14:00.470
No.

14:04.190 --> 14:04.790
Wait here.

14:04.790 --> 14:06.070
I will override us.

14:16.030 --> 14:16.550
Okay.

14:29.990 --> 14:32.510
First one boss reaction is here.

14:37.550 --> 14:38.630
Let's save us.

14:46.030 --> 14:47.870
Okay, let me say.

14:50.600 --> 14:53.000
Now we got an internal server error.

14:53.920 --> 14:57.080
Cannot reach power 45.

14:58.080 --> 14:58.480
Um.

15:01.280 --> 15:02.000
Let me.

15:04.240 --> 15:04.880
See.

15:13.200 --> 15:14.800
Let me try to disable.

15:14.840 --> 15:15.720
And secondly.

15:18.240 --> 15:18.600
Yup.

15:18.600 --> 15:19.000
Here.

15:24.960 --> 15:25.320
Hmm.

15:47.440 --> 15:51.480
Let me try to command this thing.

16:04.520 --> 16:06.320
We still got the error.

16:16.680 --> 16:19.880
Let me try one command.

16:20.800 --> 16:21.200
Sorry.

16:21.240 --> 16:24.760
Let me try to command this boss right here.

16:33.240 --> 16:33.920
Let me say.

16:35.360 --> 16:35.760
Okay.

16:35.760 --> 16:36.800
We already got that.

16:36.840 --> 16:38.520
So what actually happened right now?

16:38.920 --> 16:44.120
We cannot apply to transform residual at the same time.

16:44.360 --> 16:46.890
For that reason, we need to do that one by one.

16:47.490 --> 16:48.010
Okay.

16:48.410 --> 16:49.650
Right now, let me put that.

16:49.690 --> 16:50.770
One by one.

16:51.410 --> 16:52.810
I will go by this thing.

16:53.330 --> 16:57.850
Over here, over here, over here.

16:59.730 --> 17:00.250
Here.

17:06.730 --> 17:09.490
And with this thing, we need to go different.

17:09.890 --> 17:10.450
Okay.

17:17.250 --> 17:17.810
Okay.

17:25.130 --> 17:29.690
Make sure this here we use a different little.

17:32.090 --> 17:32.890
Let me say.

17:34.530 --> 17:34.930
Okay.

17:34.930 --> 17:35.890
It's already work.

17:35.930 --> 17:37.170
And let me get a boss.

17:37.970 --> 17:38.290
Okay.

17:38.290 --> 17:39.010
It's work.

17:39.010 --> 17:39.450
Right.

17:41.210 --> 17:45.930
So with this thing, we can easily check the.

17:45.930 --> 17:47.170
No, no!

17:48.250 --> 17:49.530
User over here.

17:50.130 --> 17:50.370
What?

17:50.410 --> 17:51.130
Why is.

17:52.770 --> 17:54.410
Give me a job again?

17:57.690 --> 18:00.930
Oh, I forgot to put a user.

18:10.130 --> 18:10.730
In user?

18:10.770 --> 18:12.770
Okay, so you put a user over here.

18:21.890 --> 18:22.810
Let me say that again.

18:24.450 --> 18:24.850
Okay?

18:24.850 --> 18:26.570
We already got a user avatar.

18:26.970 --> 18:27.330
Okay.

18:27.370 --> 18:35.490
With this thing we can easily extract that, right?

18:35.650 --> 18:38.050
We can easily use this and buy.

18:38.050 --> 18:41.130
So get on the front end okay.

18:42.330 --> 18:44.650
And thus will be enough for the video.

18:44.650 --> 18:46.050
So I will see you in.
