All language subtitles for 017-Quick Comments Test-git.ir

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian Download
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,060 --> 00:00:02,590 Our common service is all complete. 2 00:00:02,590 --> 00:00:05,330 So let's very quickly do a quick test using postmen. 3 00:00:05,350 --> 00:00:07,670 I'm going to put that go in my terminal to get started. 4 00:00:07,670 --> 00:00:13,300 I'm going to find my terminal window that is inside that comments project directory and I'll run NPM 5 00:00:13,300 --> 00:00:15,130 start inside there. 6 00:00:15,250 --> 00:00:20,500 Now once you recall that we now have two separate services two separate express applications running 7 00:00:20,500 --> 00:00:21,410 on our machine. 8 00:00:21,460 --> 00:00:25,490 One is listening on Port 4000 the others listening on port four thousand one. 9 00:00:25,840 --> 00:00:27,730 So we want to communicate with our common service. 10 00:00:27,730 --> 00:00:32,760 We need to make a request to local host or thousand and one all right. 11 00:00:32,790 --> 00:00:37,230 So now that that is running let's flip over to postman. 12 00:00:37,420 --> 00:00:40,800 I'm going to open up a new request tab right here. 13 00:00:40,900 --> 00:00:45,480 I'm going to make a post request because I want to try to create a comment just to get started. 14 00:00:46,090 --> 00:00:51,550 I'm gonna put in my local host four thousand and one again four thousand one because we want to reach 15 00:00:51,550 --> 00:00:52,570 out to our comments. 16 00:00:52,570 --> 00:00:56,860 Service and we'll make a request to slash posts. 17 00:00:56,900 --> 00:01:01,580 The idea of a postal we want to add a comment to now our comment service right now it doesn't really 18 00:01:01,580 --> 00:01:07,880 have any idea of what valid post ideas are so we can put in any post ideas right here that we want to. 19 00:01:07,880 --> 00:01:08,830 Any string whatsoever. 20 00:01:08,870 --> 00:01:10,730 I'm going to put in just one two three. 21 00:01:10,760 --> 00:01:18,550 That's gonna be the idea of the post that we're going to imagine actually exists and then flash comments. 22 00:01:18,590 --> 00:01:19,930 Next up I'll go to headers. 23 00:01:20,000 --> 00:01:30,790 I'm gonna put in a content type of application slash Jason I'll then go to body I'll select raw I'm 24 00:01:30,790 --> 00:01:37,660 going to make sure the dropdown is set to Jason and I will enter in some Jason right here remember a 25 00:01:37,660 --> 00:01:44,950 comment must have a content property so I'll give my comments some content or something like I am a 26 00:01:45,230 --> 00:01:51,420 comment I'll go ahead and send this thing off and there we go. 27 00:01:51,420 --> 00:01:57,030 I've got a two a one created and you'll notice the inside of our response we've got an array of comments 28 00:01:57,300 --> 00:02:04,020 that are associated presumably with post that has ideas One two three EPs that looks good now let's 29 00:02:04,020 --> 00:02:10,970 make sure that we can retrieve all of our comments with some given post as well I can open up another 30 00:02:10,970 --> 00:02:19,670 request Tab I'm gonna make a get request to a local host four thousand and one post and I want to get 31 00:02:19,700 --> 00:02:27,610 all the comments that are associated with Post One two three flash comments then once again on the headers 32 00:02:27,610 --> 00:02:29,530 tab content 33 00:02:33,130 --> 00:02:41,120 of application Jason we don't need a body because we are making a get request so I'll go ahead and send 34 00:02:41,510 --> 00:02:46,310 I get a two hundred OK and there is my array of comments right there just to make sure this is all working 35 00:02:46,310 --> 00:02:50,370 correctly let's try to add in just one more comment make sure that we don't overwrite any comment or 36 00:02:50,370 --> 00:02:56,670 anything like that so I got to go back over to my post request tab right here I'll change the content 37 00:02:56,730 --> 00:03:05,660 to second comment I'll send it off I can now see inside the response and I've got two comments here 38 00:03:05,720 --> 00:03:10,990 one that says I'm a comment dealer says second comment and then I go to my get request tab I can make 39 00:03:10,990 --> 00:03:13,630 the request again and yeah there we go. 40 00:03:13,630 --> 00:03:14,910 Very good. 41 00:03:15,040 --> 00:03:15,310 All right. 42 00:03:15,340 --> 00:03:22,420 So that is it for the very basic very simple express J.S. stuff that's all we're going to really write 43 00:03:22,900 --> 00:03:27,910 as far as like simple express stuff goes we're not going to take a pause we're gonna come back the next 44 00:03:27,910 --> 00:03:32,890 video and start working on that react application and once we finish that thing up very quickly we're 45 00:03:32,890 --> 00:03:38,700 then going to start to see some really big issues start to crop up with our current design. 46 00:03:38,700 --> 00:03:41,980 There is some really going to hit in nasty stuff inside of here. 47 00:03:42,070 --> 00:03:45,540 Maybe it's not the worst stuff in the world but it's definitely not very efficient. 48 00:03:45,640 --> 00:03:47,680 It's going to start to put that react application together. 49 00:03:47,740 --> 00:03:51,880 We're gonna start to see some problems with our implementation and then we're gonna start to figure 50 00:03:51,880 --> 00:03:55,700 out how we can solve these things with a micro services style approach. 51 00:03:55,710 --> 00:03:57,340 So a quick pass see you in just a minute. 5680

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