All language subtitles for 002 Moving _Meals_ Data To The Backend_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

So were you successful?

If you didn't try it on your own,

definitely consider trying it on your own,

practicing what you learned

is an important aspect of learning React.

Either way, we're now going

to implement these features together

and I will actually start with fetching the meals data,

even though that's the bottom most point here,

but it will start with that because I think it makes sense

that we are able to load that data

from a server, from a backend.

For this in the Firebase Realtime Database console,

I'll add a new node manually and I will name it, meals,

and then click this plus again here,

to add some nested data.

And then I just want to add my meals data to Firebase here.

Now for this, I'll start by giving every meal an ID here.

So I'll just use m1 as a key.

And then the value for that will be

the nested data for that meal.

With that, I'm kind of replicating

that Firebase data structure we saw in the Http section

for the dummy data I got here.

So for the meal with the ID m1,

I want to have a name field,

and the value of Sushi,

a description field with this value,

and a price field with this value.

So let's start with the name field here,

and enter sushi as a value, and click add.

And now this entry was added.

Now we can add more nested data to this m1 meal

by clicking this plus,

and adding the description field,

where I then enter a description like this,

and click add,

and add a price field

which is this value, which has this value.

So let's enter that.

Okay, so with that we get the first meal.

Now let's click on the plus here, next to meals,

and let's add a new meal with a different ID, m2,

and then add, click on this plus here

to add the nested data, like the name,

and that will then be schnitzel here in my case,

click add,

and then add the description here,

which has this text here like this,

and let's add the price field

with a value of 16.5.

So now we got the second meal added.

And I'll continue doing that.

You can of course, fast forward here if I'm boring you.

I will now add the third meal

with a name of barbecue burger, like that,

click add,

and then also add the description here,

American raw and meaty,

and also add a price for that third meal here.

So let's add a price field like this.

And now there's only one more meal to go, the green bowl.

For that, I'll add a new meal with an ID of m4,

click the plus,

and for the name field it's now green bowl,

for the description field I will now add

this description here like this,

and then last but not least,

for the price field, it's 18.99.

And with that, all the data is on this Firebase server.

And of course, if we were the owner

of this food delivery service,

we could be administrating the data here.

Now let's work on this front end,

and let's fetch that data from that server.

So here available meals,

I now no longer want to use the dummy meals array.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.