0:00:01
because i just saw paul's message where
0:00:13
sorry about that um there was a bit of a
0:00:18
technical thing uh issue on
0:00:21
uh our rainbow is solved now so we are
0:00:29
apologize for that
0:00:31
all right so what we are doing today is
0:00:35
um we are just implementing um
0:00:39
implement implementing um
0:00:45
validation on all boards controllers in
0:00:59
we do a certain action for example
0:01:02
get post delete and
0:01:06
we either have to do a validation of um
0:01:13
objective for example if it's received
0:01:16
successfully then we need to
0:01:20
give a validation of that if
0:01:25
is if the report response status is
0:01:28
this then do this otherwise do something
0:01:35
do you want to add and fin to that k
0:01:38
no i guess that was pretty much it um
0:01:41
i guess so what i figured was stream
0:01:43
yeah pretty much bugged
0:01:45
oh right right we did go live but
0:01:49
for some reason it ended but it's fine
0:01:51
we're back live now
0:01:53
and as you said if if you guys missed
0:01:55
something we just updated the jira board
0:01:57
till now we didn't actually do any of
0:01:59
the coding so you guys
0:02:00
probably didn't miss out on anything so
0:02:02
we are just starting
0:02:04
on the get function for the board and
0:02:08
that's the first if statement we have
0:02:15
response and then i need to get the
0:02:27
i haven't done this before so
0:02:29
if you have you might want to appoint
0:02:33
me if i'm doing it wrong
0:02:35
well what are you trying to do with this
0:02:38
so i'm trying to do that if
0:02:41
the state if the request has been done
0:02:46
i'm i'll putting this status 200 and
0:02:50
then i'm doing this if not
0:02:58
this is how api is like kind of work
0:03:03
is sent to the where you call it
0:03:06
and request is the
0:03:08
when you send it so in the back end when
0:03:14
you won't have a response status
0:03:18
you have to assign it here you can't
0:03:25
response is the response by the api you
0:03:27
can't check it here you have to see if
0:03:32
you got the board successfully then you
0:03:34
have to assign the response like you
0:03:36
have to set response to 200
0:03:38
not check here you can't check here it's
0:03:40
like response has nothing in it right
0:03:46
okay so you just you mean to say that
0:03:50
just uh corrects me if i'm wrong
0:04:01
and i need to do that after the request
0:04:05
so that's how like the words response
0:04:08
and request basically mean as well right
0:04:13
you are sending a request
0:04:15
yeah and that request is going to
0:04:17
contain stuff like body and stuff
0:04:21
right now when you're calling the api
0:04:23
until and unless do you you do a
0:04:24
response dot send with something in it
0:04:29
checking that response that data is 200
0:04:31
is just completely invalid there like um
0:04:35
right okay even defined there
0:04:40
um i think there's a there's a function
0:04:43
called response response or set status
0:04:46
uh if i'm not wrong
0:04:48
okay i'll have to google that
0:04:52
all right yeah it's called restocks
0:04:58
um as simple as that
0:05:03
pass an integer i'm pretty sure
0:05:37
that's when you're trying it
0:05:42
when you have sent it
0:05:47
when you have sent here
0:05:53
no so you know how you written
0:05:56
on line 46 that's where you're actually
0:06:02
so just before that
0:06:08
oh this is annoying me hang on
0:06:11
yeah you might want to close your
0:06:21
i don't get this so
0:06:24
say we have sent the request
0:06:28
to get the data and then we are
0:06:32
doing this entire process okay
0:06:36
and that once it's
0:06:43
once it comes back
0:06:49
it's not coming back right um
0:06:52
in try you're just assigning data
0:06:55
um you're actually sending her on line
0:07:01
so before that you assign a status that
0:07:04
we you got all the data
0:07:07
without any issue and you have to do
0:07:10
response dot says status in brackets 200
0:07:34
say for example that if
0:07:44
if this part didn't happen successfully
0:07:50
the stasis can't still be set to 200
0:07:57
if see okay here it is
0:08:00
so yeah in the try
0:08:02
if yeah the data causes any problem it
0:08:07
and it will say won't come there
0:08:09
yeah it'll send that
0:08:14
status won't ever be 200 then if we
0:08:17
encounter any error
0:08:24
that i know but what i meant is
0:08:29
okay so only if it's successful
0:08:33
if this is successful only then um it
0:08:37
was said this states stays to 200 and
0:08:40
then send us that data
0:08:43
yeah and if you want to perform
0:08:44
additional checks you can check like if
0:08:47
data is empty not empty or something but
0:08:49
let's stick with this for now and see
0:08:55
just call the api from postman and see
0:08:58
if you get 200 in the response headers
0:09:06
hey alexa yep yes sorry about the swags
0:09:12
they are still on the way um
0:09:16
me and zen are a bit busy these days but
0:09:19
we are working on it for sure
0:09:23
yeah and improving our time management
0:09:26
as well so it's all it's all work in
0:09:38
okay this is gonna take a bit of time
0:09:47
go to that side go go
0:09:52
yeah it finally listened to me
0:10:08
ah today would be nice postman
0:10:40
this is still loading so
0:10:43
uh here we go cool so now what i'm going
0:10:46
to do is get all the boards
0:10:50
and check if this stays pretend is 200
0:10:57
the url is fine and then i'll do the get
0:11:02
and then press send
0:11:05
actually i want the headers as well
0:11:07
because i want to check if the status
0:11:12
all right girl with the board
0:11:16
there we go all right
0:11:19
cool i was just checking if the status
0:11:22
comes uh 200 and it does
0:11:31
no that'll come 200 anyways
0:11:34
wait um then you haven't deployed that
0:11:41
today weighs my mind today
0:11:47
i know i'm better than this i know
0:11:50
my mind is on i think it's celebrating
0:11:57
yeah and my body is going against it
0:12:03
there you go once again you can do
0:12:07
we'll get through it
0:12:09
yeah yeah oh for sure
0:12:17
as in the new thing i learned is
0:12:42
so that one's there
0:13:09
alrighty okay that's just being deployed
0:13:21
let's go let's go let's go
0:13:31
what are you planning for sunday
0:13:35
sunday we need to go to costco
0:13:39
get some groceries
0:13:46
i didn't know that if that's the case
0:13:48
then it the plan is cancelled um
0:13:52
there's a thing called lockdown
0:13:54
just like putting it out there
0:13:58
it's in costco pub is
0:14:02
because that's a kind of a
0:14:04
bulk supermarket as well right it's
0:14:07
more of a big box store
0:14:10
um let's see i'll have a look because
0:14:13
i highly doubt that it's
0:14:17
oh yeah it might be open closed i just
0:14:20
thought that it's like a
0:14:22
big box store so they might close it
0:14:26
now i hadn't done it but um
0:14:29
it's good that you she told me i'm gonna
0:14:32
probably um call them first
0:14:35
uh call them first tomorrow and
0:14:42
i'm going to go back
0:14:44
one in docklands is good so
0:14:49
have you been there before
0:14:54
right what what did the problem come
0:15:05
please tell me i haven't done another
0:15:11
i don't think so it's just how we are
0:15:24
i'm gonna just do that and open this one
0:15:43
says states is code for example
0:15:55
no success status apparently
0:15:59
okay right you're right then
0:16:03
give me one more second i'm getting a
0:16:07
it's kind of important
0:16:10
one second i'll be back
0:16:19
are you doing two hours
0:16:24
hey andre um no we are doing one and a
0:16:31
on the weekends now
0:16:37
i said this one is done
0:16:39
and i need to deploy this again
0:16:44
hey andre how's it going
0:16:47
um andrei just so i said i'll be doing
0:16:51
tonight so i just told him that no we
0:16:53
are doing one and a half hours
0:17:03
it's it's not because we are lazy it's
0:17:07
30 minutes um get really unproductive
0:17:11
and there's not a lot of viewers
0:17:12
watching as well so
0:17:14
um we don't get work done and
0:17:17
and it gets really hectic on sundays
0:17:20
because we have to write a blog after
0:17:23
so yeah thing goes up to like 12 or 12
0:17:26
15 then you have to wake up
0:17:30
um was going to tell andre the reason if
0:17:37
could you cover that already
0:17:41
it's better to be covered
0:17:46
otherwise many assumptions
0:17:58
all right cool hopefully this
0:18:00
will do that trick now
0:18:07
right so the only reason we are
0:18:09
inserting this status to pull validation
0:18:12
so if the certain code is returned
0:18:18
we need to do that particular thing
0:18:22
yeah um even if we don't set the status
0:18:27
like here if this doesn't work
0:18:30
this will still work in the middleware
0:18:32
we just need to put a if condition in
0:18:34
the middle where that
0:18:36
if s.status is 200 then only we load the
0:18:40
right right i say yeah
0:18:45
if it is then that
0:18:47
that would only only mean that it's a
0:18:50
success it's a successful
0:18:54
so this is called the
0:18:56
page scheduling anomaly no it
0:18:59
i don't remember the exact name but we
0:19:01
studied this in our web design class
0:19:06
page is being um kind of scheduled
0:19:09
without the response being received
0:19:12
ah okay right right i see
0:19:17
let's have a try again
0:19:22
um this is still coming as
0:19:35
do you think we need a semicolon there
0:19:37
by any chance just curious uh that
0:19:39
shouldn't matter at all right okay
0:19:43
be sure about that
0:19:47
response and status 200
0:19:51
actually i'm gonna
0:19:52
go in the logs and have a look
0:20:00
wait wait wait then uh the status is
0:20:10
can you check now in the thing which you
0:20:13
i'm pretty sure you saw it from stack
0:20:20
uh i checked in a kind of a blog so i'll
0:20:28
the more qualified resources just bear
0:20:31
i checked it on a expresses here docs
0:20:35
i'll send it to you
0:20:37
oh it's status code
0:20:44
it's not a small space here
0:20:55
there we go oh i didn't know the express
0:20:59
defined they're pretty good yeah
0:21:03
i'm gonna just have a look
0:21:10
apparently my green screen is taking a
0:21:13
lot longer than i expected they actually
0:21:17
said that you'll get to buy
0:21:21
eleventh of august and it's four in the
0:21:28
you might need to call them as in
0:21:32
not really call them but
0:21:33
send them an email
0:21:37
express some sort of dissatisfaction
0:21:43
that was costing me an additional
0:21:54
i can't afford that at the moment mate
0:21:58
yeah that's true i mean like
0:22:00
it's not worth it then i mean
0:22:02
stream is going fine uh yeah like the
0:22:05
lights really helped though
0:22:09
totally agree with that
0:22:20
all right there we go
0:22:29
i'm just uh no that shouldn't be the
0:22:32
case because i was just thinking that
0:22:34
any way we can test all this deployment
0:22:37
locally but then we'll have to call a
0:22:43
euro in the express app um in in
0:22:52
i mean you can it won't make any
0:22:57
you might have to have
0:22:58
dynamodb and stuff then
0:23:00
yeah but they would both use one port
0:23:03
number which it won't work
0:23:07
remember we tried that
0:23:09
no so the problem relates to using
0:23:13
dynamodb and the middleware together
0:23:16
not with the express app
0:23:20
i think so uh wherever you test
0:23:25
they are done on that pole
0:23:30
okay there are three components which
0:23:33
you have to learn which is the express
0:23:36
app dynamodb and middleware so the
0:23:39
middleware and dynamodb were clashing
0:23:42
that's what i remember
0:23:43
but yeah you're right i guess but we can
0:23:46
go ahead and change the ports as well
0:23:51
um so coming back to that one it's not
0:23:54
really showing any
0:23:59
around that's the request headers then
0:24:01
what you're looking at okay the sponsors
0:24:08
that's my fault yeah
0:24:14
this is all i've got
0:24:16
yeah good that's all it's fine i'll open
0:24:20
and if i go to middleware and do a
0:24:25
like a console.log for res.status and
0:24:31
all right also my screen
0:24:41
i think if we want to see the stages in
0:24:45
the header we first have to include it
0:24:50
sorry i didn't know what you mean if we
0:24:53
want to see the status
0:24:55
in the header we need to include
0:24:58
this status in the head of for example
0:25:09
as we did in the content type
0:25:12
let's try this first i guess
0:25:15
yeah you would look for the get function
0:25:19
you did it for the get function right uh
0:25:21
get all boards yeah
0:26:17
getting all boards so i still have to
0:26:23
is that commented or something
0:26:31
so i'll come in this
0:27:02
go is not a function
0:27:10
away is only but better than sync
0:27:13
functions and not level of body where
0:27:16
are you doing away
0:27:23
delete the get boards from there
0:27:42
actually the thing was when we did this
0:27:45
we rolled back to a
0:27:50
um there might be some issues right now
0:27:55
but i just don't want to see the cause
0:27:57
issue again ever in my entire life
0:28:01
you will you will i know i will i know i
0:28:07
just a figure of space that
0:28:14
go is not function
0:28:34
that's used properly there's no problem
0:28:45
we probably have to use a sync on get
0:28:49
boards function as well
0:28:53
sync and then await in the
0:28:58
yeah but i don't think that that's the
0:29:00
error because it's not just finding go
0:29:02
that's literally it
0:29:10
why did not find him go i don't get it
0:29:30
but did we go back to the first
0:29:40
all right let's say no uh yes in
0:30:21
comment that one as well
0:30:30
it wasn't there let me
0:30:47
should i remove this
0:30:51
because that's the text
0:30:57
but that's doing another this is plain
0:31:02
try but that shouldn't
0:31:15
this is what this kind of looks weird to
0:31:19
me so that that's a input tag which is a
0:31:22
name and then a is for go
0:31:28
i'll copy and paste the
0:31:30
um yeah that's fine uh
0:31:40
okay yeah try that
0:31:48
really got to fix the get up stuff oh
0:32:15
yeah that the guitar stuff has to be
0:32:18
fixed i'm gonna probably work on that
0:32:26
more think how about if we didn't
0:32:32
um the last uh half an hour
0:32:40
how about that oh no yeah sure i have a
0:32:43
feeling we might have to dedicate
0:32:46
time from right now because
0:32:55
right um i just do that then because i
0:32:58
want to get this guitar things
0:33:02
sword because he's blocking us up now
0:33:04
just give me one minute yeah me let me
0:33:15
so there was a committee yesterday
0:33:19
right let's see this one's the
0:33:22
this score is probably the latest one
0:33:32
here let me just try and copying this
0:33:35
i'll not commit anything from my locals
0:33:38
so we don't need to worry about that
0:34:06
okay what's up with this
0:34:10
i think um you probably want to click
0:34:14
i know the pain the ass
0:34:18
i'm pretty sure that's
0:34:22
arrow is because that does look fine to
0:34:28
that's true let me comment this first
0:34:32
the oh it stuff because we haven't done
0:34:58
all right okay so that
0:35:03
response is not defined so that works
0:35:07
we need to go to the response ah i think
0:35:11
that's not working because you're not in
0:35:34
you mean these ones
0:35:36
yeah it probably has to come
0:35:51
these braces right
0:35:56
you mean parent oh it parentheses yeah
0:36:09
i don't think i can write it like this
0:36:12
no you can't because
0:36:14
that's actually an
0:36:19
you would have to write it after the
0:36:31
you are at comma or do it what do you
0:36:37
properties semicolon and then response
0:36:44
uh that no no no that wouldn't work
0:36:51
can i control that log i think i can
0:36:52
control the log there cool
0:36:57
actually i don't think you can
0:37:07
minute i'll find out
0:37:58
explain the request no i don't need this
0:38:13
response store status yeah
0:38:16
that is the one i need
0:38:19
but how do i use this
0:38:25
you would have to do in
0:38:29
response to states so you know if you
0:38:41
right you're doing that
0:38:44
i've got a minute yeah i think i just
0:38:50
in the arrow function how does it do it
0:39:20
okay um probably do
0:39:40
so instead of response door text to
0:39:43
response to your status
0:39:45
because at the moment
0:39:47
we're just aiming for status at the
0:40:28
it's just written as response dot status
0:40:40
yeah that's exactly how we wrote it
0:40:50
i think um it's just responsive status
0:41:02
did you do it as a function
0:41:04
yeah yeah because thanks for watching
0:41:11
response to upstairs
0:41:16
all right on 200 okay cool so now i
0:41:20
think what we should do is um
0:41:25
if statement as in if the response
0:41:27
status is 200 then we get the
0:41:36
how do we do that um so do an
0:41:42
instead of console.log
0:41:56
you could do a show hand
0:41:59
so remove if as well yeah
0:42:05
yeah question mark and then
0:42:33
let's go back to basics
0:42:59
is the field status
0:43:02
and integer itself as well
0:43:06
i really don't know but it seems like it
0:43:10
um i would want you to confirm that
0:43:13
because if you're putting the triple
0:43:15
equals sign then that means that if the
0:43:20
property is integer only then it would
0:43:23
work otherwise it won't work but let's
0:43:32
all right so if it's
0:43:41
yeah if it's 200 question mark
0:43:51
yeah yeah let's hold it
0:43:57
yeah and then hold on
0:43:59
and then it doesn't work
0:44:24
hopefully it works
0:44:27
if it works we'll sleep until it worked
0:44:31
so there you go all right cool so
0:44:35
bringing the get board back as in
0:44:38
response to text as a function
0:44:49
where did you have console.log it worked
0:45:10
um what do we want to ease a vessel
0:45:15
check if this works because
0:45:19
i haven't really tried the tertiary
0:45:24
oh you want to check it
0:45:30
um i think i can just get rid of the
0:45:32
i think i can i cannot
0:45:36
get rid of of the colon
0:45:42
called unexpected ah right you have to
0:45:47
yeah okay um what we can do
0:45:52
it's fine i'll just control the log
0:45:54
something for now let's not go into this
0:46:02
the purpose is that if it didn't work
0:46:06
then it shouldn't display the get boards
0:46:13
right i don't know that's
0:46:17
so if this is for testing is fine
0:46:21
yeah right now we are just like kind of
0:46:33
all right we got the
0:46:42
right so now how do you want to do it
0:46:44
uh i'm thinking that if it doesn't work
0:46:49
um return this status 400 or
0:46:57
wherever the messages
0:47:02
either display the code
0:47:04
or display the message
0:47:06
yeah if we are changing this then the
0:47:09
end people should know this as well that
0:47:13
we'll return this and um this is going
0:47:21
see let me use a return
0:47:25
she can't use a return in there
0:47:28
yeah because it's a terminating set but
0:47:30
i can assign a variable here and
0:47:40
as in jason formatted string
0:47:45
what do you mean troy are you gonna
0:47:54
jason dost stringify and then just write
0:48:24
so i just want to confirm that if if for
0:48:27
any reason that it doesn't
0:48:30
work then what states
0:48:31
really throw it would it be
0:48:39
the statuses here are kind of like for
0:48:42
internal use only right
0:48:44
um yeah we can we can also throw 200 and
0:48:48
say it didn't work
0:48:54
use like our internal check or like a
0:48:56
checker function like i mean like create
0:49:03
but it depends on what you have to do if
0:49:06
it doesn't work see get bored would be
0:49:09
called when you click go
0:49:11
and you have to get all the boards from
0:49:14
database and if by any
0:49:19
anything you're not able to get the
0:49:20
board then you want to display like a
0:49:22
proper like big message that
0:49:25
you're unable to get bored or something
0:49:34
boards um console.log unable to get
0:49:40
that's all for now to be honest because
0:49:42
um i don't want to i don't want to spend
0:49:49
yeah so i think um if i need to like
0:49:54
make it clear to the front desk
0:49:56
um yeah wherever it's not working i'll
0:50:00
like i'll console the log and i'll write
0:50:03
the message what's exactly happening
0:50:05
because i don't want try
0:50:11
so right that's pretty much
0:50:14
it i'll run it again
0:50:18
but i also want to go and do github now
0:50:22
if that's fixed um
0:50:25
it'll be just like a real pain to
0:50:29
us all around like exactly right yeah
0:50:36
let's do that now all right you wanna
0:50:43
where was my screen okay here we go
0:50:45
here's my screen cool
0:50:50
where do we start from the github
0:50:55
um hang on a minute
0:51:02
i already have it opened here
0:51:06
yep why am i opening you again all right
0:51:24
what i kind of feel with the whole
0:51:26
github situation is uh
0:51:30
okay here it is uh are you ready
0:51:34
you know how the branch i was working on
0:51:43
if you do a git branch here you'll see
0:51:46
not in this one in enhancement
0:51:55
can you make a terminal just a bit
0:52:18
can you press enter is that the end oh
0:52:26
which branch was it so this particular
0:52:34
actually tell you which branch was it
0:52:42
miracle implementation get bored by name
0:52:46
this branch has the latest code for the
0:52:50
middleware.js file
0:52:52
the stuff which we have been working on
0:52:54
hang on um so you're talking about the
0:52:57
branch which is middleware
0:52:59
implementation only
0:53:02
postport by name so like this is this is
0:53:04
what what's happening i'll tell you
0:53:09
the correct code you want to write it
0:53:11
down or something i am just finding a
0:53:16
um i'll i'll do one thing
0:53:19
i will open a word
0:53:23
write everything on the screen
0:53:27
so it's easier for us all to follow
0:53:38
so this is where all the code is um
0:53:43
the current code for middleware.js is in
0:53:46
middleware implementation
0:53:50
post board by name
0:53:56
when just a post bought by name human
0:54:01
you haven't pulled it i don't think you
0:54:08
don't pull it all right
0:54:10
so you're saying post
0:54:15
yeah there was a branch which we made
0:54:23
it's all post oh sorry
0:54:26
uh my that's my bad it's called
0:54:28
middleware implementation get bored by
0:54:33
it's interesting i don't even have that
0:54:46
yeah you you'll see what branch it is
0:54:48
like there's only okay
0:54:50
not necessarily like this but
0:54:55
and the correct code for what jason
0:54:59
um is in the comments made on i'll tell
0:55:06
right just give me one second
0:55:16
so the comment made on 29th of july
0:55:22
correct and current code for script.js
0:55:26
and go on a minute i'm just
0:55:28
gonna do this a bit in an organized
0:55:59
yes so these are the only two places
0:56:03
uh yeah you can say it's a conflict
0:56:08
because yeah again it's overwritten by
0:56:11
the commit you made
0:56:14
either we can roll back to the
0:56:19
last version which was a commit i made
0:56:22
uh fourth of august
0:56:26
um that that there are two possible
0:56:30
so either we can roll back to the
0:56:32
version on 4th of august and
0:56:37
in what 29th july was
0:56:43
or we can merge in the
0:56:47
post board you know the post board by
0:56:50
which has the correct middleware right
0:56:59
this second branch is it
0:57:03
branch which has the
0:57:04
most updated version of our middleware
0:57:09
by by merge i mean merge into dev we're
0:57:12
not merging anything to main
0:57:14
so yeah yeah we can merge this to main
0:57:19
and then we can just one
0:57:23
i mean did we converge this to dev
0:57:27
and then we can compare you know how
0:57:29
github has a compare branches option as
0:57:32
then we can compare dev and
0:57:37
when jason committed his code
0:57:52
no no you put that in a very simple
0:57:55
manner so what's gonna happen is you're
0:58:01
get the all the correct code into dev
0:58:09
compare that dev to
0:58:11
the master in the point where
0:58:15
jason's code is all right yeah exactly
0:58:18
that makes sense cool
0:58:19
yeah let's do that um
0:58:24
now you might want to pull because we
0:58:26
actually have to do it
0:58:32
um so i would do a get pull off this
0:58:42
if you just do get pull it'll do a pull
0:58:44
of the whole project
0:58:51
yeah you brunch uh huh already up today
0:58:54
okay so if i did get branch
0:58:59
so now you got the new bra oh you didn't
0:59:01
oh what that's interesting it did
0:59:04
mention that it inserted the new branch
0:59:07
it did mention it they are unpacking
0:59:09
that one on go already up to date can
0:59:12
you do a great check out
0:59:24
middleweight it starts from yeah this
0:59:38
oh yeah can you see the code can you
0:59:39
just go ahead and see the code what's
1:00:09
it came we won't have portland
1:00:13
it won't have the delete delete function
1:00:14
though but it's fine
1:00:16
that's fine we can always do that again
1:00:23
commented we need this one now
1:00:28
yeah it's fine don't uh don't make any
1:00:30
changes i guess that's the latest code
1:00:32
that's all like what we want to know
1:00:39
so yeah this is the latest code um right
1:00:43
okay now you made a change now you have
1:00:45
to comment it then only we can push
1:00:47
merge now don't worry bye i'm gonna
1:00:51
reveal all that all these things i don't
1:00:54
i don't wanna make it even more
1:00:56
complicated than it is at the moment
1:00:58
it won't make any worse if you want to
1:01:00
make changes but it's just that we have
1:01:01
to commit it again
1:01:07
can you open dev and see what's
1:01:09
happening in dev branch once
1:01:19
why am i literally my head is hurting to
1:01:22
think how to do this it's not easy to be
1:01:31
this is actually a real
1:01:37
that actually i've created for us
1:01:41
all right um so we don't have middleware
1:01:44
here which is good um that means we
1:01:47
don't we won't have any
1:01:50
changes um how do you know we don't have
1:01:56
because in this language it doesn't have
1:01:58
any middlefare.js file
1:02:02
oh okay cool right right cool
1:02:05
can you go into script.js
1:02:14
okay on can you go into home.html i just
1:02:17
want to see what's happening with the go
1:02:27
okay yeah we this is all old code
1:02:30
this is like base code um yeah so yeah
1:02:33
that's good i guess we can merge the
1:02:36
uh middleware implementation
1:02:39
get bored by name branch into dev
1:03:01
oh actually and you're right it was
1:03:03
already commented sorry i'm so sorry
1:03:07
it's already up to 11 minutes
1:03:10
okay yeah that's fine
1:03:12
well i'm gonna all right of course so do
1:03:22
um however in the future we should keep
1:03:27
name as small as possible yes
1:03:32
i'm not sure who started the
1:03:33
implementation word thingy but i think
1:03:36
it's me it must be me because i do these
1:03:44
empty branches names i know i do this
1:03:48
really big word for that yeah yeah it
1:03:51
says it is a big word another
1:03:55
tell me the board name yeah as i didn't
1:04:01
um right can you copy it
1:04:06
actually i'm gonna
1:04:08
i'm gonna do great branches
1:04:10
yeah that'll be pop right now
1:04:19
we could have actually made like another
1:04:21
video on this all in this though
1:04:27
so it's a bit late now
1:04:29
it's right recording
1:04:31
already though so that's all right
1:04:34
merge field fix config and then
1:04:37
commit the results okay yeah oh you're
1:04:41
what the middleware
1:04:44
got the middleway but um it failed to
1:04:47
resolve the un committed as in the
1:04:52
feel of the comments so we
1:04:57
make sure everything is on point now
1:05:08
yeah though we don't need that
1:05:13
okay yeah that's fine
1:05:15
yeah that's resolving to that that's so
1:05:19
i can just stay okay cool that's already
1:05:35
literally no like you know how the dev
1:05:37
branch was literally like base code we
1:05:42
true i can tell that
1:05:45
open middleware that'll be again
1:05:51
keep this in that way
1:05:56
wow a new file completely yeah
1:06:03
uh this is it so i will
1:06:08
i don't know what that is
1:06:12
which i don't really want so i'll just
1:06:18
it looks like something to do with local
1:06:26
discard check discard yes don't need it
1:06:33
um it's asking me to delete it because
1:06:35
it is a brand new file
1:06:36
okay yeah let's send delete it's already
1:06:41
branch that's fine
1:06:43
you need to resolve your current index
1:07:01
this is their launch that's fine
1:07:04
is it i don't even know if this should
1:07:07
be there it probably shouldn't
1:07:18
debugging probably that could be
1:07:19
probably the front end dev would have
1:07:21
added it for debugging it
1:07:27
yeah yeah fine let's discard it if it's
1:07:30
all right on state changes
1:07:36
yeah that one we need definitely
1:07:39
package.log we need that one too
1:07:43
okay cool so these are all of that
1:07:46
right and now i'm gonna just go and
1:07:50
get add stay um can you get status but
1:07:57
right deleted by us delete okay that's
1:08:01
glitched by them on track changes to
1:08:03
include what will be committed okay
1:08:09
i don't really want to add these
1:08:20
yeah i'm gonna just do a comment
1:08:24
and just write a simple message merging
1:08:28
oh the branch name is too long uh
1:08:34
i learned my lesson
1:08:36
to be honest i'm not gonna do this ever
1:08:47
or you cannot fix it up but it's fine
1:08:49
yeah just do this for now
1:08:53
between board and by name
1:08:59
okay here we go okay cool
1:09:04
yes great thing is not possible because
1:09:07
you have unmerged files
1:09:11
i'm going to delete these ones
1:09:18
fixture my work and then use to get head
1:09:20
or oh it's because of the sam file you
1:09:24
can just delete the sam file
1:09:31
there are these ones but if you look at
1:09:35
um it's back in dot aws sam folder
1:09:44
cool so this folder shouldn't be there
1:09:49
anymore what i'm going to do is actually
1:09:57
shouldn't be there at all
1:10:00
yeah let's do it move
1:10:02
rf and i'm getting water
1:10:06
back hand hold that's fine
1:10:21
it's because of an almost crisp
1:11:03
the files that i don't need anymore and
1:11:11
delete them as well
1:11:14
all right settings cool
1:11:17
now what i'm gonna do is delete them
1:11:49
yeah they should be fine all righty
1:11:55
so i've just deleted all the ones that
1:11:59
we don't we don't need because they were
1:12:04
okay that these all are staged
1:12:19
and delete this file as well we don't
1:12:35
not i said like yeah that's right cool
1:12:39
right and we don't need jason
1:12:45
yeah because i've just
1:12:46
deleted that so now i'll go
1:12:53
can you do your status
1:13:01
modified and added
1:13:10
a comment now right it's already oh yeah
1:13:13
you have to comment
1:13:34
yeah yeah grammatically it doesn't make
1:13:36
sense but who cares about that
1:13:40
let's just comment that okay yeah okay
1:13:58
okay cool so now what we need to do is
1:14:07
working first is it on that branch
1:14:10
okay yeah let's try that um
1:14:20
my brain is oh my god on holiday already
1:14:31
it's in the bahamas
1:14:34
that's the funnest thing i've seen
1:14:35
you're doing code inside
1:14:38
that's hilarious to be honest
1:14:41
oh what am i gonna do with my dev
1:14:45
career i think i need a change in korea
1:14:50
the pinnacle of your career
1:14:55
exactly all right um
1:14:57
so we're going to run this
1:15:04
let's do the python simple
1:15:32
just curious does it have the newest
1:15:40
are you on the client
1:15:42
yeah no i'm not in the client folder
1:15:46
oh boy brain come back i need you
1:15:52
i think you have to make it come back it
1:16:02
ah come on what's happening to my
1:16:04
spelling i hate you when i
1:16:08
when i misspell something
1:16:11
can you open middleware
1:16:16
yeah and check if we have the latest
1:16:23
starts from 54 the link
1:16:27
okay there we go brilliant
1:16:50
okay cool here we go
1:16:58
only post is enabled right now so yeah
1:17:06
console.log i mean open the console
1:17:11
oh so is it not going to there
1:17:14
i'm just kind of seeing if we didn't get
1:17:16
in here yeah we didn't oh wait did we
1:17:20
yeah it won't go it won't go but if you
1:17:22
open the um can you open the
1:17:25
um end point on chrome
1:17:31
it's already on chrome ah okay
1:17:35
you tried 54 on chrome your chrome will
1:17:37
probably detect it
1:17:40
all right that works as well
1:17:46
oh it didn't mine does it
1:17:52
that's only because i
1:18:08
what did you call your board
1:18:10
yes something something something
1:18:13
oh i think you call it
1:18:17
okay and there we go it's there
1:18:20
here we go perfect so that's working
1:18:25
so now we need to focus on uh merging
1:18:31
no first we need to go ahead and compare
1:18:34
the branch yeah yeah that's what meant
1:18:38
yeah and i guess we have a lot of time
1:18:46
we should do it tomorrow because i need
1:18:49
my brains to be functional
1:18:52
you should get some sleep first at the
1:18:57
who's doing the brain work and and i'm
1:19:01
just doing the physical work
1:19:04
what are you asking me i'm doing that
1:19:07
but um i guess the
1:19:10
uh comparison of the branches will take
1:19:11
a lot of a lot more brain work
1:19:15
yeah so that's true though yeah but all
1:19:17
right we can always come back to it
1:19:21
but yeah thanks for joining in guys um i
1:19:24
guess we got a lot of work today
1:19:26
um we did stuff in the middle where we
1:19:30
validator thing figure out so that we
1:19:32
can just go ahead and quickly do it
1:19:34
and we got the get up um error fixed by
1:19:41
we'll get it done by tomorrow and won't
1:19:43
happen again for sure
1:19:48
and then we'll get some sleep
1:19:52
i think i i need to build extra sleep
1:19:58
thanks a lot guys for turning up i
1:20:00
really appreciate it and
1:20:02
it's been a productive session and we'll
1:20:04
see you back here tomorrow same time
1:20:09
to be to the continued task
1:20:12
all right all right thanks guys
1:20:14
have a good night cheers bye