All language subtitles for 014 Preparing the Project Pages_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
fa Persian Download
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

Now to dive in,

I want to start with a couple of pages here.

And for this year, I also got my terminal open.

First of all, we need to install all dependencies though

with npm install and then we can use npm run dev.

And then we'll start the development server,

but of course at the moment I got no pages.

And hence we should add some pages.

And for this demo application for this project

which we're building here, we will need three pages.

A starting page, which shows a list of all meetups.

Then the new meet up page,

which allows us to add a new meetup.

And then the meetup detail page

which allows us to show the details for a selected meetup.

And hence here in the pages folder,

I'll start with the starting page with index.js

directly in the pages folder,

because you learned that index is this special file name

which will be loaded for just slash nothing

in the given sub-folder.

And here we're not in a sub-folder at all,

so index.js will be loaded for our-domain.com slash nothing.

But then we got more pages.

For example, a page for adding a new meetup.

And hence we could add a new meetup.js file

which then would be loaded for our domain slash new meetup.

And you did learn over the last minutes

that we also have an alternative here.

We could also create a new meetup folder

instead of the file, move the file in there,

and then rename it to index.js.

And that would then be loaded in exactly the same way.

It's up to you which approach you prefer,

you need that sub-folder approach if you need nested routes,

but we will not have any nested routes here,

so in this case, it's really up to you.

And I will go for this sub-folder approach here.

But again, it's your choice.

And then we also need this detail page

which we load if a specific meetup was clicked,

and we want to view the details of that meetup.

And for this, we need a dynamic page

because of course we'll have multiple meetups

with different IDs and DID should be part of the URL,

and then when we load the page we want to use that ID

to fetch and to display the appropriate data.

And we also learned how this worked.

We can create a dynamic page with square brackets

and then dot JS,

and then simply use any identifier name of our choice

between the square brackets.

For example, meetup ID.

And here we could also use the sub-folder approach.

It also is available for dynamic pages.

We could also create a folder named meetup ID

between square brackets,

and move that file in there and then it index.js.

And that also works.

That's something we haven't seen before,

and that's why I'm showing it to you here

because it is always important to be aware of the fact

that you can also have dynamic folder names here,

and then create dynamic nested pages if you need them.

Or, like in this case, one single dynamic page.

And the width that we got the page structure we want

with those three pages.

And hence we can now get started working on those pages.

We can fill those components with some live,

and then also step-by-step at data fetching

and learn how NextJS helps us with that.

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