Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,170 --> 00:00:05,550
It is again, time to apply what you learned
2
00:00:05,550 --> 00:00:08,370
in the last course sections.
3
00:00:08,370 --> 00:00:12,460
We did learn about sending HTTP requests
4
00:00:12,460 --> 00:00:17,080
and we did learn about forums and handling user input.
5
00:00:17,080 --> 00:00:20,700
In this course section, we'll continue working
6
00:00:20,700 --> 00:00:23,560
on this food order application
7
00:00:23,560 --> 00:00:26,420
on this food delivery application
8
00:00:26,420 --> 00:00:28,450
on which we started working a couple
9
00:00:28,450 --> 00:00:30,460
of sections ago already.
10
00:00:30,460 --> 00:00:33,210
And we are going to add a forum
11
00:00:33,210 --> 00:00:37,010
and we are going to add HTTP requests
12
00:00:37,010 --> 00:00:39,940
because this course section is
13
00:00:39,940 --> 00:00:42,050
about applying what we learned
14
00:00:42,050 --> 00:00:44,650
to this food order app.
15
00:00:44,650 --> 00:00:49,210
And therefore we are going to add a basic checkout form
16
00:00:49,210 --> 00:00:52,430
where we can enter our name and address.
17
00:00:52,430 --> 00:00:54,870
Once we click on the order button
18
00:00:54,870 --> 00:00:59,440
we also then want to submit that entered data to a backend.
19
00:00:59,440 --> 00:01:02,960
So to a server with the HTTP request
20
00:01:02,960 --> 00:01:07,040
we probably also want to validate the user input
21
00:01:07,040 --> 00:01:09,860
on the client before we submit it.
22
00:01:09,860 --> 00:01:12,380
And we also want to fetch some data
23
00:01:12,380 --> 00:01:14,500
from a server, from a backend.
24
00:01:14,500 --> 00:01:17,860
We want to fetch the meals data.
25
00:01:17,860 --> 00:01:21,920
So the data here for these dummy meals which we got
26
00:01:21,920 --> 00:01:25,800
which is currently hard-coded into the JavaScript files
27
00:01:25,800 --> 00:01:27,470
that data should move
28
00:01:27,470 --> 00:01:31,500
to a backend as well and should be fetched from there.
29
00:01:31,500 --> 00:01:36,500
Now, when I say backend, I still mean Firebase of course,
30
00:01:36,920 --> 00:01:40,520
we used this as a dummy backend before
31
00:01:40,520 --> 00:01:43,090
and we can still use it here.
32
00:01:43,090 --> 00:01:45,730
Here, I will use my existing project
33
00:01:45,730 --> 00:01:50,020
which I got and I'll use the real time database there.
34
00:01:50,020 --> 00:01:52,710
If you create a new project make sure
35
00:01:52,710 --> 00:01:56,080
that you also do start with the real time database.
36
00:01:56,080 --> 00:01:58,700
And of course, make sure that you did go
37
00:01:58,700 --> 00:02:01,363
through the HTTP section and so on.
38
00:02:02,270 --> 00:02:05,130
There I'll clear any existing data which I have.
39
00:02:05,130 --> 00:02:07,100
And you wanna make sure that
40
00:02:07,100 --> 00:02:11,590
under rules you have read and write set to true
41
00:02:11,590 --> 00:02:16,590
so that you can send requests to that database successfully.
42
00:02:16,590 --> 00:02:18,810
Now how to work with the database.
43
00:02:18,810 --> 00:02:21,150
That is something I did show before
44
00:02:21,150 --> 00:02:23,670
in the HTTP section.
45
00:02:23,670 --> 00:02:25,300
Now in this module
46
00:02:25,300 --> 00:02:29,197
we are going to implement these features here
47
00:02:29,197 --> 00:02:30,350
step by step together.
48
00:02:30,350 --> 00:02:33,670
But this also is a great chance
49
00:02:33,670 --> 00:02:36,810
for you to practice what you'll learn.
50
00:02:36,810 --> 00:02:40,160
So definitely try that on your own first
51
00:02:40,160 --> 00:02:43,140
try implementing all those features
52
00:02:43,140 --> 00:02:44,543
on your own first.
53
00:02:46,095 --> 00:02:48,690
Move that dummy data to Firebase manually.
54
00:02:48,690 --> 00:02:52,120
You can add data manually here to Firebase.
55
00:02:52,120 --> 00:02:55,310
So move that dummy data to Firebase.
56
00:02:55,310 --> 00:02:58,070
And once the data is there
57
00:02:58,070 --> 00:03:01,570
implement these three main features
58
00:03:01,570 --> 00:03:04,770
to this food delivery app, all your own.
59
00:03:04,770 --> 00:03:07,640
Try it on your own first and thereafter
60
00:03:07,640 --> 00:03:09,380
from the next lecture on,
61
00:03:09,380 --> 00:03:12,580
you can check my approach to compare it to yours
62
00:03:12,580 --> 00:03:14,000
to solve problems.
63
00:03:14,000 --> 00:03:15,920
If you got stuck in between
64
00:03:15,920 --> 00:03:19,093
and to then simply build this together with me.
4877
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.