0:00:26
what is going on guys welcome back to
0:00:28
another session of build break and fix
0:00:38
one of the raw coders and my
0:00:42
raw coder which is kartik um i think
0:00:45
he's running a bit late but he should be
0:00:50
and um yeah so basically we are raw
0:00:56
we online stream every every day from
0:01:00
9 30 and um until 10 30 on the weekdays
0:01:04
and until 11 on the weekends
0:01:07
so you will be on the weekends today so
0:01:18
11 brilliant so um
0:01:25
i piss um good to have you
0:01:33
give you a bit a bit of a brief um
0:01:37
today uh you yes today what we did was
0:01:41
as in celebrate our new streams
0:01:44
set up and if you're
0:01:47
curious about our equipment that we use
0:01:49
you can always go to our youtube channel
0:01:53
look at the video recording
0:01:55
and um today what we're gonna be doing
0:01:58
is we will be getting back into the fun
0:02:02
part which is coding
0:02:04
uh yes the exciting thanks exciting part
0:02:11
and um i think what we
0:02:20
check out the jira stuff because for the
0:02:23
project management stuff
0:02:25
um we use jira from atlassian so i'm
0:02:29
just going to share my screen really
0:02:32
see where is our project
0:02:35
our sprint or their project is all right
0:02:38
so just bear with me for a bit i've got
0:02:41
a new mac as well so
0:02:44
um which is why i might not be up to
0:02:46
speed but i'm gonna try my best to do
0:02:51
let's share screen
0:02:55
what happened to your famous oh um i
0:02:58
just uh so it's gone in the wash and
0:03:02
it's still wet so i can't
0:03:11
good to know that you missed my hat
0:03:17
good to have you again
0:03:18
right so i'm going to just share my
0:03:20
screen and open up atlassian but
0:03:23
by a second so you can switch
0:03:29
about that so i will
0:03:35
done so i'm thinking of
0:03:38
one of the merch's hat as in
0:03:42
on the hat so that's actually a reading
0:03:46
great out there i'm gonna go for that
0:03:49
right so i'm gonna share my screen and
0:03:53
jira from atlassian and
0:03:55
um see where is all our issue tracking
0:04:04
i just hope that i can
0:04:17
must be this one or
0:04:26
nope wasn't that one
0:04:34
this one and i'll just
0:04:40
do that cool so this is our
0:04:44
jira our project management as in the
0:04:49
what we are working on at the moment is
0:04:59
where we were there we changed actually
0:05:04
we changed the backend to
0:05:07
take in the board id
0:05:19
spelled correctly instead
0:05:24
of the board name all right so that's
0:05:30
gonna just go ahead and open the
0:05:33
terminal and see where
0:05:35
i'm at in that i term call and um
0:05:50
actually any uh get one of these
0:05:54
little lack of color
0:05:59
cool i'll definitely have a look at that
0:06:02
thanks for that one and
0:06:07
running a bit late um
0:06:18
thought that um i would go
0:06:27
hopefully he's not far off
0:06:32
is there so actually what i was gonna do
0:06:37
workspace and then the scrambler
0:06:41
thing this is that one yeah so
0:06:46
this is the api that we're doing and i'm
0:06:49
going to go ahead and open up in
0:06:53
right okay that's interesting
0:06:56
i didn't open up in i swear set this up
0:07:01
that's really really interesting for me
0:07:06
i will go and do vs code annoying that
0:07:16
please don't tell me i've
0:07:18
deleted the vs code
0:07:22
no no no no i can't even
0:07:28
deleted that one i'm just gonna go
0:07:32
and get the files that deleted probably
0:07:40
shouldn't have done that
0:07:44
so how about if i try and open it now
0:07:51
no ah okay because i deleted in now what
0:07:56
need to do is i need to add in the path
0:08:02
so print shell command install code
0:08:06
permission denied unlink
0:08:09
ah all right so that seems like it's all
0:08:12
messed up interesting
0:08:15
anyway we will just
0:08:22
can't you try using rim
0:08:27
use that but um i would
0:08:29
just for that vs code might be a bit
0:08:34
go ahead and have a good
0:08:38
new experience using
0:08:43
so which one do i need to
0:08:46
do so this one would be that one
0:08:57
that's the one open that one up
0:08:59
and which one do i need to
0:09:08
so this is our code here
0:09:11
um i just need to make sure that
0:09:18
taken in the board id instead of the
0:09:20
board name so for example this one
0:09:26
this should be board id here
0:09:31
so we need to figure this one out
0:09:41
gonna do the change here
0:09:44
i think um it's already
0:09:51
i need to go and get paul
0:09:58
or have i already got the
0:10:00
latest okay cool i've already got the
0:10:04
latest um i'd have to keep an eye on the
0:10:06
channel as well all right
0:10:25
again there open up
0:10:33
now we need to open up
0:10:46
what we need to do now
0:10:49
is we need to change all the board and
0:10:54
whatever is taking in the board name we
0:10:57
need to change that to board id so let's
0:11:00
go ahead and do that but
0:11:18
uh i don't need actually yeah i need the
0:11:25
any more comments no more comments
0:11:33
board ids there so in this one i need to
0:11:44
so i i'm going to check if board id
0:11:50
prem request params then i'm giving
0:11:54
actually i need to change this as well
0:12:03
call and then board id
0:12:07
so here i'm going to say if
0:12:09
i have the board id in the request or
0:12:11
params then just sign
0:12:14
that board id from the request of params
0:12:19
this board id head
0:12:23
that looks good to me so far
0:12:27
and then what we need to do is just
0:12:38
is that one okay so
0:12:40
i'm getting all the rows
0:12:43
and then what i need to do is roll okay
0:12:47
there we go i need
0:12:50
i don't think i need this board id
0:12:54
so i'm just going to go ahead and
0:12:59
this because i don't think i need it
0:13:12
say if my past in board id
0:13:25
yeah yeah that's fine so if the board id
0:13:29
i've already got in the
0:13:31
database if that matches my past and
0:13:37
then i wanna basically go ahead and
0:13:46
at that particular board
0:13:49
and then just send the data
0:14:00
and see if it works
0:14:05
no no comments brilliant
0:14:14
now i'm going to do is save it
0:14:18
oops no i need to press escape first and
0:14:28
okay that's safe and now what we're
0:14:30
going to do is deploy
0:14:35
so am i in the right folder yes from the
0:14:38
api templates there cool
0:14:46
i might actually doing pretty good in
0:14:52
as in i don't even need vs code anymore
0:14:57
cool proud of myself
0:15:07
i have a guided deployment
0:15:11
of course yeah that's the one
0:15:14
that's the one that's the one
0:15:22
um i i don't think it's gonna pause
0:15:25
because i haven't set up the
0:15:30
credentials yes that's the problem all
0:15:34
so what i'm gonna do is i'm gonna have
0:15:36
to go to my aws account and
0:15:40
get my credentials and for that reason
0:15:45
confidentiality purposes
0:15:47
i'm not going to share the screen so if
0:15:50
you just bear with me
0:15:52
for a minute i will come back all right
0:16:02
what i might do is also
0:16:08
in my aws account here we go
0:16:13
the reason why i'm not sharing my screen
0:16:16
anymore is because i'm trying to set the
0:16:20
as in the access key and the secret
0:16:22
access in my credentials file and
0:16:27
i don't want to get hacked i don't want
0:16:32
get hacked if you guys have the
0:16:35
secret access and access key
0:16:37
which is a pretty obvious thing
0:16:42
logging into this aws
0:16:48
and see how that goes
0:16:52
right it says i've got six days to
0:16:55
change my my password interesting
0:16:58
right go to my account
0:17:03
can you put the green screen
0:17:09
looks professional
0:17:13
for sure um i'll do that
0:17:15
just bear with me for a bit
0:17:35
and i'll have to actually change the
0:17:37
background as well now
0:17:50
why am i doing why am i doing no no no
0:17:52
no no i don't want that one
0:17:56
trying to put on the screen
0:18:01
it's all coming up as pink
0:18:06
screen or blue screen is required
0:18:12
why is it doing this
0:18:19
um microphone that one
0:18:26
well let yeah call there we go
0:18:40
not sure how you can see this
0:18:43
now but if you can see this properly
0:18:45
please let me know
0:18:46
because on my end it's all appearing
0:18:51
why the backgrounds can you choose
0:19:00
andre if you're talking about that the
0:19:09
as in here that's not going to happen at
0:19:12
the moment because
0:19:14
i think i have to order
0:19:23
choose a recorder's picture
0:19:25
yeah um i will do uh
0:19:29
that's in my other laptop because i'm
0:19:32
choosing a brand new laptop that ball so
0:19:42
i'll have this set up properly
0:19:46
why did you buy a laptop
0:19:51
other one was really slow it was a 2015
0:20:00
the streaming wasn't
0:20:02
being proper on that one so i thought
0:20:06
that why not invest it because i'm i'm
0:20:10
doing uh as in we're gonna be doing this
0:20:13
channel as improperly as in create a
0:20:19
why not invest in proper equipment
0:20:23
so i bought the laptop and um
0:20:27
also did some investment in this
0:20:32
didn't you get a new one from work
0:20:35
each um yes but that's windows that's
0:20:42
yeah i don't really want to use that one
0:20:45
for streaming streaming purposes
0:20:49
send your picture on slack yeah i got it
0:20:52
i'm gonna have a look now
0:21:00
yeah i wanted to put this one as
0:21:04
just for a bit of fun but um
0:21:07
it's not in my max so i don't really
0:21:10
want to waste time as in
0:21:13
doing that while on the stream
0:21:17
if you know what i mean
0:21:21
that's a really actually funny picture
0:21:26
download and slack is right here
0:21:30
um all right i think i'm i'm a bit i'm
0:21:40
have i got slack on this left that's all
0:21:44
for slack oh it's on that app so cool
0:21:50
i'm actually gonna share my screen
0:21:53
because i don't have the show account
0:21:56
open at the moment
0:22:03
right so slack get this one
0:22:33
please don't tell me i forgot the
0:22:35
password no i didn't forget the password
0:22:40
all right i've got this
0:22:58
and that should be downloading now
0:23:20
using such id yes i want to do that
0:23:33
just thinking about it again i might not
0:23:37
put that on as my background because
0:23:40
it it um affects your branding
0:23:44
what i can do is actually put
0:23:56
yeah i don't think i should put any
0:24:00
any other branding apart from the proper
0:24:04
one andre because um it will just affect
0:24:06
the branding i'll rather
0:24:10
yeah if you can um
0:24:13
did you send me the proper one
0:24:22
that one on thanks for that
0:24:25
i'm gonna just stop sharing my screens
0:24:30
operate the slack as in thing
0:24:37
come on slack open up there we go allow
0:24:45
oh okay i need to sign into slack wow
0:24:48
all right let's see if i can remember my
0:24:52
credentials for slack it's been ages i
0:25:00
foot and everything
0:25:05
that's interesting apparently it didn't
0:25:07
even need my passport or nothing it just
0:25:15
all right but i do need to
0:25:21
go back in the channels wow
0:25:29
open up my slack how do i change the
0:25:38
sign out of melbourne yeah i want to
0:25:40
sign out from there
0:25:49
so basically what uh
0:25:54
to get is the url of the dev corp slack
0:26:02
that's interesting
0:26:04
cool so let's get that one
0:26:12
a message when you
0:26:17
thanks for that deathcore
0:26:23
yeah i'm gonna just quickly
0:26:37
come on okay come on you should be here
0:26:58
i'm just messaging him now
0:27:23
i'll just go ahead and
0:27:25
log into the dev club slack
0:27:39
i'll come to a you was it
0:27:55
all right so i'm just about to sign in
0:28:00
let's check how this goes
0:28:05
okay so apparently i signed in
0:28:09
to that one with my hotmail id
0:28:13
let me just check if i can
0:28:19
come on slack come on let me in no i
0:28:27
i think i oh here we go this works now
0:28:32
yeah i'm in dev pop now
0:28:37
and i'll open both of them
0:28:42
open slack cool there we go and i just
0:28:52
yeah let's download that
0:29:06
i wanted to save in my
0:29:11
now let's come back to the screen um
0:29:18
i should say stream
0:29:20
all right so now i'm gonna
0:29:41
and then i need to upload another
0:29:43
background which is in the downloads
0:29:47
there you go i just hope that's oh here
0:29:55
actually i'm gonna really
0:30:00
so it becomes in this way
0:30:20
actually there you no i can't do that
0:30:26
yeah i can do this so let's just stick
0:30:38
cool there we go raw coders
0:30:46
that should do it very much i want
0:30:58
where's the merch i wanna i wanna show
0:31:01
yeah andre we um we have actually
0:31:06
just today so it's
0:31:21
for your size as well
0:31:26
now that the background is done as well
0:31:28
um what i'm gonna do is i'm going to
0:31:31
stop my screen share and i'm going to
0:31:58
let's options from
0:32:01
from my screen share and
0:32:06
set up the aws credentials
0:32:12
um where are we at
0:32:27
right i am is open now what i need to do
0:32:34
that's my user brilliant
0:32:46
i came on the screen just to make sure
0:32:52
i wasn't sharing my screen
0:32:56
wanted to be really as in
0:32:59
100 sure that i'm not doing that
0:33:04
that is there cloud
0:33:14
no i don't need that
0:33:19
okay so let's create a new one
0:33:22
because it's not showing me the
0:33:28
that one uh the old one again
0:33:38
okay cool so i've got my i'm gonna
0:33:42
download download this csv
0:33:46
and take it from there
0:33:49
cool so now what i'm gonna do is
0:33:52
open up my uh another terminal window
0:33:57
go to my file called
0:34:05
um not the files sorry the folder called
0:34:08
aws and in there the file should be
0:34:14
create a file called credentials
0:34:27
there you go and then
0:34:32
and then do their profile
0:34:35
yeah and then what i need to do is get
0:34:39
access key and and all those
0:34:52
okay so this is my access key
0:34:58
copying it and pasting in
0:35:00
the credentials file
0:35:24
and then i also need my
0:35:40
i'm not even sure that this will work
0:35:50
let's we shall see where does it lead us
0:36:00
i want to just um get my
0:36:06
open with microsoft excel
0:36:12
come on excel come on be quick
0:36:16
there you go start using excel yay there
0:36:20
i have my x key right there
0:36:28
come back to them and paste the access
0:36:32
and that should basically do the trick
0:36:35
except that on instead of profile i need
0:36:38
to give in default so it always uses
0:36:47
all right and let's see
0:36:49
if that works for us
0:36:53
cool so i've given it the credentials
0:36:59
let's see what happens now
0:37:01
okay so i'm gonna come back and share my
0:37:09
and open up this one and see what does
0:37:29
come on look for resources okay so
0:37:34
i must have done something wrong
0:37:38
so i need to go back and have a look
0:37:42
drag more recently line up in sam
0:37:46
unable to locate credentials all right
0:37:51
check how exactly do i
0:38:03
save my my credentials yeah that's what
0:38:10
saved in the right place
0:38:16
custom don't want that one come from my
0:38:22
you don't include access exercise d and
0:38:25
x skin the code yeah of course
0:38:29
ah okay yeah i i see so this is what
0:38:33
i've done wrong cool
0:38:38
underscores i did spaces there which is
0:38:44
gonna work in that way so i'm gonna have
0:38:47
to share my screen uh
0:38:49
uncheck my screen again and go back to
0:39:07
brilliant so all i need to do is paste
0:39:11
those other ones because i think that
0:39:13
might be the reason it's not picking up
0:39:18
entirely sure but let's see if this
0:39:21
if that is the case
0:39:26
don't need this don't need this
0:39:31
don't need this anymore
0:39:39
okay slack and quit as well right um
0:39:45
okay i'm not shame my screen am i no i
0:39:54
copy and paste the format of secrets key
0:40:05
now we shall see what happens if it
0:40:13
cool i'll come back to the stream and
0:40:16
share my screen now
0:40:25
eshen now i'm actually realizing that i
0:40:28
do miss my co-host cli okay
0:40:43
yeah but i don't know
0:40:45
being is today so he must have something
0:40:50
really important come up which is why he
0:40:53
is not being able to
0:41:02
everything is okay with him
0:41:10
yay so that's worked perfect so that was
0:41:18
how am i sharing my screen yes i am
0:41:22
cool so it's just waiting for the
0:41:24
changes to be created
0:41:58
okay so that's been deployed success
0:42:02
what we need to do now is hang on what
0:42:08
did i actually make
0:42:10
i can't even remember now
0:42:21
so i made the change which was to get a
0:42:24
particular board rk by board id call
0:42:28
so get your particular board by board id
0:42:31
right so i need to test that
0:42:37
i'm gonna test it by
0:42:40
postman so i'm gonna run my postman
0:42:58
as soon as this comes up then we can
0:43:05
actually i need to get the url from my
0:43:09
api gateway as well
0:43:12
actually no not from the api okay where
0:43:15
i can just use terminal to get the url
0:43:22
this is that this is uploading
0:43:31
no this that's not it
0:43:33
uh i need the api endpoint
0:43:37
they should have i think you should have
0:43:40
given me over here
0:43:55
no okay cool so i would have to go to my
0:43:59
cloud formation stack
0:44:01
and you can get it from
0:44:06
there okay cool so get rid of that get
0:44:16
all right um there we go that's our
0:44:35
that's api gateway yeah that's it
0:44:50
and what we need is
0:45:02
i'll just go and paste this end point in
0:45:12
that's here and then board
0:45:33
let's do that and see
0:45:35
if we get all the um
0:45:39
resource not found okay because um
0:45:48
i think i know what the problem is here
0:45:50
um we need to go back and change the
0:45:56
actually the table
0:46:09
just use an arrow key and do that
0:46:16
you don't need to do that either
0:46:26
i'll find the resource
0:46:37
i don't go any comments no i haven't
0:46:41
caught that's brilliant
0:46:52
there's that one so if i
0:46:55
was the error again
0:46:57
resource not found
0:47:00
request id status code
0:47:04
i think is talking about that
0:47:15
are we getting all the boards
0:47:22
that just open everything in
0:47:34
okay this is your scrum player
0:47:39
so we are basically
0:47:49
you're basically getting that one
0:47:52
so you should actually give me all the
0:47:59
this was a problem that the
0:48:01
end point isn't right
0:48:08
let's just open up another terminal
0:48:22
all right and then some
0:48:32
that one here here
0:48:37
cool so this should do the trick and you
0:48:40
should get our particular board bias id
0:48:48
let's see if that does it
0:49:15
that's been deployed i can go back to my
0:49:19
and try that this again and it should
0:49:21
work now i don't see any reason why i
0:49:24
wouldn't yeah cool
0:49:26
so this has worked
0:49:28
and i wanted to see if i would change
0:49:31
work so i'll just give this board id
0:49:46
send this one and this should actually
0:49:49
give me that board only
0:49:52
let's check right okay cool
0:49:56
where did i go wrong let's go and have a
0:50:07
i need the lambda function to come up
0:50:11
and then it's logs
0:50:16
new mac is really fast apparently
0:50:23
really really happy that i made this
0:50:29
okay so it's giving us a run board ah
0:50:35
typo come on zayn i can do better than
0:50:47
yeah particular board board board
0:50:52
that was their room
0:50:54
yeah should have worked if not
0:51:00
anyway let's have a look now
0:51:32
okay so this should hopefully work now
0:52:06
okay cool so that one's done
0:52:10
let's see if the if the request
0:52:13
goes through this time
0:52:17
perfect here we go so we are getting the
0:52:23
gain the board by board id cool so
0:52:29
create the terminal we don't need that
0:52:34
um now we need to check other other
0:52:42
not that one not that one replacement
0:52:46
cool that's fine that
0:52:51
so i don't really need this
0:52:58
create a new board
0:53:09
delete our board i just want to check if
0:53:13
deleting the board functionality working
0:53:18
let's delete this board and then search
0:53:20
for this board again
0:53:40
save this is delete this should
0:53:43
go missing authentication token
0:53:47
right missing authentication token
0:53:52
so what's the problem here let's go back
0:53:55
to cloud watch and see what actually
0:54:04
um it's not giving any
0:54:08
no no this can't be the request i'm
0:54:12
this cannot be the request
0:54:22
and then open this
0:54:27
there has to be another latest one yeah
0:54:29
this must be the one
0:54:41
any comments from no no comments perfect
0:54:45
i'm not missing out on anything
0:55:02
what do we do now is
0:55:07
gonna do another request and see
0:55:10
why is it not working
0:55:13
oops i don't want dictionary come on
0:55:19
some messages missing authentication
0:55:26
deleting isn't working
0:55:31
what did it give me here
0:55:39
that i can go and check
0:55:49
yeah that was a really good surprise
0:55:53
yeah um there was a bit of an emergency
0:55:55
that's why i was able to oh no
0:55:59
i'll let you in after this game
0:56:01
yeah what's happening
0:56:05
just a different uh
0:56:07
update first of all
0:56:09
see my see my background oh did you
0:56:12
review the t-shirt
0:56:16
i think it did not background properly
0:56:20
yes the background is the t-shirt's
0:56:22
background isn't it
0:56:30
oh okay don't look fine
0:56:38
uh you're sharing your screen
0:56:41
ah right oh my goodness
0:56:45
ah seriously how can i be that dumb
0:56:50
oh yeah i'm sorry andre i'm on late uh
0:56:53
there was a bit of an emergency a clean
0:56:59
um had to rush someone to the hospital
0:57:01
i mean no no not exactly like to
0:57:04
hospital but like um to the clinic
0:57:09
they okay now though
0:57:15
talk about that uh offline all right
0:57:21
do you know do you wanna do five
0:57:24
and he's asking me to do it
0:57:41
pull on the camera
0:57:56
i can but i'm afraid you won't be able
0:57:58
to see me because i have a new camera
0:58:43
just to give you a
0:58:45
background as in what um
0:58:54
around where we go
0:59:00
what is your thought
0:59:04
um we decided that
0:59:07
we're gonna change all uh the back end
0:59:13
instead of board name
0:59:16
so i've just changed a gap method
0:59:22
the board id and i just tested it that
0:59:30
andre is the express app
0:59:39
before moving on i thought that i would
0:59:42
check that the board method as well
0:59:45
because that's already taken board id
0:59:48
and apparently that wasn't working so
0:59:51
i'm just trying to figure out why
0:59:54
red what error does it do
1:00:08
authentication token
1:00:17
trying to figure out
1:00:20
it's there and i've already checked the
1:00:27
and that doesn't seem to be
1:00:36
i'm getting burps as well now
1:00:41
um scrum blue which one was this
1:00:54
so i'm thinking um
1:00:57
what could be the reason
1:00:59
going back into the code
1:01:02
is getting this board id oh hang on a
1:01:05
minute i must know why
1:01:21
what i did what i did yeah that one's
1:01:26
all are fine except that one cool
1:01:29
i'll just try and run this
1:01:39
dude you won't believe how much i'm
1:01:43
i mean the new mac
1:01:45
it's really fast man
1:01:56
it's just mind-blowing trust me
1:02:02
my efficiency as well
1:02:05
yeah i know what you mean
1:02:08
just makes you like think faster as well
1:02:18
to be honest and now i know how you you
1:02:22
managed to think that fast as well
1:02:26
yeah the laptop helps
1:02:34
um if you can just keep an eye on the
1:02:37
comments because i'm not gonna
1:02:48
test this and see if this does it delete
1:03:03
get all the boards first
1:03:08
i can delete this one board id
1:03:21
hey it needs to give us some indication
1:03:24
on what i'm doing wrong
1:03:29
yeah here just insisting my
1:03:33
brightness it wasn't 100 apparently
1:03:37
and i was wondering why my eyes are
1:03:43
that would explain it to be honest
1:03:51
where is the problem here
1:03:56
item actually hang on a minute
1:04:07
and if i'm getting that
1:04:11
table okay so that's just that
1:04:23
you send me a link
1:04:35
i'm pretty sure it's something to do
1:04:37
with the code to be honest oh yeah um
1:04:41
i've lost some time
1:04:43
but go on go on amazon
1:04:52
yeah and show me your resources
1:04:57
dude this is really fast honestly
1:05:06
show me the get method
1:05:10
do we have to have another method called
1:05:12
deletes here as well
1:05:19
that should be fine oh yeah click on
1:05:26
processing execution
1:05:31
yep on this one look
1:05:35
okay um and can you go yeah have you
1:05:41
what authorization is already set to
1:05:49
no transition is none so it shouldn't be
1:06:02
working i think because of this method
1:06:06
um you can go on the post method
1:06:18
yep method request
1:06:23
authorization is fair as well
1:06:28
i just want to have a final look
1:06:32
okay maybe try creating the delete
1:06:58
oh yeah that's fine i thought you missed
1:07:01
right okay wait wait wait wait wait go
1:07:04
method request again
1:07:09
that's fine go back
1:07:12
um glow in metal response
1:07:16
that's an ungone integration response
1:07:25
yeah that's fine yeah just deploy
1:07:35
dude this is just unbelievable
1:07:40
when it wasn't working it was your
1:07:42
laptop not the internet
1:07:59
um wait what happens if the board isn't
1:08:01
present in the thing
1:08:03
then what do you do do you return a
1:08:06
status or something
1:08:08
nope i don't do anything to be honest
1:08:11
so we need to add that kind of a valid
1:08:16
yep go ahead and add that
1:08:36
no no no yeah so if it is there
1:08:40
then we are doing this
1:08:48
i'm gonna a minute
1:08:50
i'm thinking where to add the validation
1:08:55
if it's equal to that one
1:08:58
then i'm doing this
1:09:03
you can make a flag if you want if
1:09:08
then you put the flag to one l0
1:09:15
but then we're gonna have to apply an
1:09:17
another if condition
1:09:21
that if the flag is then then come here
1:09:27
yeah that's fine it's just if condition
1:09:30
yeah but rather than not apply
1:09:34
more if condition if i can do the work
1:09:37
in this if condition only
1:09:39
okay yeah um a direction like that
1:09:44
i i just told you the first thing which
1:09:46
came to my mind but if you can do it
1:09:48
without them then that'll be cool
1:09:53
just thinking at the moment so if it's
1:09:58
so this one can come out
1:10:01
don't don't put it out
1:10:04
whenever we have tried to keep it
1:10:06
outside the whole little bit has crashed
1:10:11
i can't probably if we do this um a flag
1:10:24
yes just a delete flag or something
1:10:37
yeah that's fine so for variables always
1:10:40
um the first letter should be small
1:10:55
by default it will be true but
1:10:58
by default it's false and known as false
1:11:01
is for example initially we want to
1:11:03
assume that the board isn't there at all
1:11:06
and if it is when we find it then only
1:11:09
we are going to say that is board
1:11:21
just thinking how to
1:11:23
do it with a minimal amount of code
1:11:30
i know um but i was thinking that if i
1:11:33
could insert another if statement
1:11:37
just say that if this is no don't worry
1:11:47
all right cool so if it's that's true
1:11:58
but if that's not true
1:12:08
if that one is there
1:12:38
it's a sense and status code
1:12:41
not not a not a message send a status
1:12:49
what's that what's the proper
1:12:51
status code hang on
1:12:56
um for resource not phone yeah
1:12:59
that's for a phone no no we don't want
1:13:00
four four we want a 404
1:13:03
sorry resource not found
1:13:07
so 404 is the status quo when the whole
1:13:19
uh what's three or four
1:13:25
no modified clan no no
1:13:28
we don't want that one
1:13:31
well you want to display 404 only when
1:13:33
the site isn't available
1:13:38
mode isn't working uh circles for
1:13:42
um object not found
1:13:48
for an item not found hang on
1:13:51
forever actually may result in a final
1:13:53
class turn and feature customer ebooks
1:13:57
we don't want that one two four four
1:14:03
i think you would be four or four
1:14:08
let's do that let me just
1:14:15
force indicating that there was a
1:14:17
problem with the request
1:14:20
server errors was accepted by an error
1:14:22
on the server could no we don't want
1:14:26
i returned when a new resource have been
1:14:28
sure no we don't want that i think this
1:14:31
is the appropriate one as in
1:14:34
problem with the request
1:14:37
so just to fall for
1:14:40
how was it again uh since status was it
1:14:46
it wasn't send status universe status
1:15:03
write any message for now but we'll
1:15:05
remove the message
1:15:20
i do have a feeling that it was
1:15:25
rez.status not pleasure
1:15:30
don't worry is it upstairs arms in
1:15:36
it's just residual status um i just will
1:15:38
go on the documentation okay cool so you
1:15:42
let's go to that one
1:15:44
res dot status right
1:15:49
a board no phone call
1:15:52
arrow while deleting
1:16:01
yeah that looks fine
1:16:06
i'm just checking when will it okay cool
1:16:10
all right yeah that would
1:16:12
probably make sense i guess
1:16:14
that the patch will come in when any of
1:16:17
the try ones make an error the cash will
1:16:22
yeah so what we are trying to do is we
1:16:24
are telling that the resource not found
1:16:26
but it catches for the error because the
1:16:28
program crashes yeah
1:16:43
do you want the control
1:17:00
that's fine i will
1:17:11
and deploy it as well
1:17:37
there we go that's one deployed
1:17:55
let's check this with postman and see
1:17:57
you like gives us now
1:18:04
okay internal server error cool
1:18:09
what do we have and get
1:18:13
if we try and delete this board here
1:18:16
what what does it do
1:18:27
it's in yeah but if we don't if we pass
1:18:29
it an incorrect one
1:18:33
then what does it do
1:18:36
our internal server error
1:18:38
okay wait where did we go wrong
1:18:48
so we didn't really go wrong anyway
1:18:52
just that that isn't there working
1:18:59
okay we don't want to
1:19:04
but we want to show a descriptive error
1:19:13
yeah if that's not equal to that one
1:19:17
then it would remain ah
1:19:29
try and catches in the f block
1:19:34
long as it doesn't find the
1:19:37
board id it would never go
1:19:42
f block so which is why i meant that we
1:20:00
try and catch is that one if i take this
1:20:09
move this over here
1:20:20
that makes more sense
1:20:26
i'm just gonna make sure i've got
1:20:27
everything on spot
1:20:39
all right let's test this beast and see
1:20:43
what does it come back with
1:20:50
interesting news i ordered the
1:20:54
sign on my back oh sexy
1:20:58
brilliant it's gonna come in like the
1:21:01
next 10 or 12 days
1:21:06
you know which one did you get as what
1:21:10
i'm totally really
1:21:15
seek discomfort in blue color
1:21:22
right two separate lines
1:21:30
yeah so i'm looking forward to that
1:21:33
like and then i i ordered um like led
1:21:40
you know led step side
1:21:46
no i don't just like led light in like
1:21:52
yeah i'll show it to you um and just
1:21:54
like so i can put it on the back of my
1:21:56
monitor and on my back as well
1:22:01
led strips for the back of your monitor
1:22:06
i'll show you how led strips look like
1:22:29
oh yeah we already deleted that board
1:22:30
that's right yes go on the headline
1:22:38
go go on the header then i just want to
1:22:40
see if we got a hit 404 on the header
1:22:43
ah that's a good point yeah here we go
1:22:47
four four zero what's that say
1:22:51
all right cool so i'm
1:22:59
yes that was that i got a new mic do you
1:23:06
it was gifted to me by my
1:23:08
very very close mentor
1:23:17
just seeing how can i eliminate
1:23:20
more of this code because
1:23:22
we don't need this now
1:23:27
i mean you can eliminate the board not
1:23:30
like all the messages you see like even
1:23:33
board found or like
1:23:35
a delete board these are going to be
1:23:37
deleted when we go on deployment
1:23:40
yes yeah because like middleware doesn't
1:23:42
need these messages
1:23:47
exactly so you're just gonna communicate
1:23:50
in like status quo that's all we're
1:23:52
gonna do yeah yeah we'll just have to
1:23:55
say okay if it's deleted send serious
1:23:57
200 yeah there's a gateway or something
1:24:03
cool all right so for now i'll just
1:24:06
leave these we can always come back to
1:24:09
them when we think
1:24:11
we are done with um the api yeah yeah
1:24:15
for sure okay so this is boot id
1:24:21
board id yeah that's fine that's one
1:24:24
that's one they created
1:24:26
uh board id yeah append note
1:24:30
that's fine knowing successfully
1:24:35
actually this is the no creation one
1:24:38
perfect that's fine
1:24:41
um do you do you reckon all these things
1:24:43
are working on the back end with the
1:24:47
is there any other function left
1:24:53
so of course i doubt that these the
1:24:56
others which have a smaller
1:24:59
as a lowercase board
1:25:03
they're not going to work anymore
1:25:06
give it a go on postman and we'll just
1:25:09
which ones are and which ones aren't
1:25:12
what do you mean how
1:25:14
to start with posting two boards start
1:25:17
with getting and then deleting and then
1:25:22
do we have a patch function
1:25:24
i see what you mean and i don't think we
1:25:29
i remember using patch for something
1:25:33
human patch i thought you meant batch
1:25:39
yeah that's for updating
1:25:42
yeah so let's just try all these four
1:25:50
how about you clear all the boards and
1:25:52
we tested from scratch
1:25:59
go to dynamodb as in that would be the
1:26:02
fastest way to do it
1:26:16
that says something else
1:26:25
have they just used the ui
1:26:28
no i think you changed the table name
1:26:32
no i didn't because they
1:26:47
you can't no one can code without
1:26:54
why are you coding i just like it's like
1:27:04
do this um you can just get all the
1:27:07
boards and it should come in none
1:27:21
he should have come
1:27:26
wait did you did you send a body while
1:27:30
i didn't ah that's why
1:27:33
ah come on zayn you can't beat this
1:27:40
what was your role was it
1:27:42
can you delete the boards again please
1:27:57
my brain is going to sleep i guess now
1:28:00
sunday night it's fine
1:28:03
i can't delete that and do that one
1:28:07
cool so now go to that
1:28:11
what's the board name isn't it yes
1:28:18
oh i'm hungry as well
1:28:21
oh i haven't even had my dinner here i
1:28:23
just realized me too
1:28:37
push the changes the last time
1:28:45
you won't have my backing
1:28:51
was working with your um with your
1:28:54
changes yeah right
1:28:58
go ahead and go and do a get and let's
1:28:59
see if it's working or it's just like
1:29:02
it's totally crashed
1:29:07
do get without body
1:29:13
i'll go on the back end
1:29:15
easy that's easy to resolve because i'm
1:29:18
pretty sure it's the casing in the board
1:29:20
id that's all it is
1:29:30
okay all right i think i need a break
1:29:35
it's fine it's fine yeah this one go
1:29:41
returning it in the yeah
1:29:44
i'm not sure i i'm pretty sure i i did
1:29:50
either um i'm thinking that
1:29:53
i'm pretty sure i've
1:29:57
oh no i don't know
1:30:01
that's fine now we know why it's
1:30:11
we did something to jason powers it as
1:30:18
hang on um i'll just go to the repo
1:30:21
itself and have a look
1:30:23
it's fine it's just one piece of code
1:30:25
i'll just tell you this
1:30:34
yeah so i created an object remember
1:30:46
yeah no just say let board id obj
1:31:00
we don't need to do this
1:31:04
we can that that's how we do it right
1:31:08
no no that's how it is all the json
1:31:09
parsing has to remember
1:31:14
without without yeah without them
1:31:18
b small and d capital
1:31:27
because it was clashing with our current
1:31:33
and just send this as it is
1:32:06
new mac and this and
1:32:12
why but i feel like i've seen you there
1:32:17
i know what you mean
1:32:18
i mean it's just crazy how good these
1:32:20
things are sometimes yeah
1:32:24
and i'm really happy as in what niche
1:32:31
i said why not and then
1:32:34
you actually pushed me yeah come on get
1:32:40
i literally just told the then uh that
1:32:44
i'm gonna check up with you tomorrow
1:32:57
actually you have to do post
1:33:01
i will do that one
1:33:09
what did we want to do
1:33:13
and don't forget to write a body right
1:33:23
there we go perfect so then get is
1:33:29
working delete working i guess
1:33:32
uh so i'm just gonna delete the first
1:33:35
one and see how that works out
1:33:46
error but the parents is not defined
1:33:55
no no this is not the one
1:34:09
saying about try yeah yeah so that's the
1:34:12
reason why we had done it but that being
1:34:15
said you can declare params one globally
1:34:18
like outside the for loop
1:34:21
if you really want to do it that way
1:34:28
one perhaps one you're talking about
1:34:31
on line 136 don't sell it
1:34:40
i'm just really surprised how much i'll
1:34:49
just because of this
1:34:54
ah no why am i doing
1:34:57
you just like deploy
1:34:58
sounds like it's like
1:35:01
really sleepy to do this
1:35:06
okay it's official
1:35:38
come on jane come on focus
1:35:43
you depart you haven't already
1:35:47
oh there we go no that works that's fine
1:35:52
i thought the ty screwed it up but i'm
1:35:54
too fast now okay i'm too fast noway
1:36:00
you're catching the kartik virus
1:36:06
yeah let's delete that
1:36:13
cool perfect very close
1:36:15
and if i just do this
1:36:22
0 it should come back with
1:36:40
interesting oh here we go cool that's
1:36:45
okay so if you mess up with the length
1:36:51
gonna confirm this
1:36:53
yeah do that because i'm pretty sure the
1:36:56
length has to be the same
1:37:01
so i think for that matter
1:37:04
um do do delete again go back delete
1:37:07
and mess up with the length like make it
1:37:13
yeah delete now it'll give a bad gateway
1:37:23
um special characters
1:37:28
like dollar or apostrophe or something
1:37:41
the request cannot be fulfilled due to
1:37:43
bad character syntax okay because um
1:37:50
these special characters in that one
1:37:52
i think that should be
1:37:55
fine though but in the middle where we
1:37:59
display the these these kind of
1:38:02
descriptive errors
1:38:04
yeah no that's fine we are not gonna
1:38:06
send that anywhere cool that works i
1:38:08
don't know why i'd give get back gateway
1:38:24
don't worry about it so um that one is
1:38:28
done and now we need to do a patch as
1:38:32
or no we don't need patch there's a
1:38:35
there's a there was a metal update board
1:38:37
where you update the
1:38:40
content of the board
1:38:44
or something oh wait that was for note
1:38:47
yes control control
1:38:52
up there specifically
1:38:54
yeah cool so a board is happening
1:38:58
working very well so
1:39:00
that being said if a board board is
1:39:03
created with a name would it never be
1:39:05
able to be updated i think we should
1:39:07
create a patch for board name as well
1:39:19
you're saying that if
1:39:22
they want to change the board name they
1:39:24
should be able to do it
1:39:27
do you want to make it like final the
1:39:31
functionality point of view i don't
1:39:33
think so we should do it
1:39:35
um i think that would uh we can probably
1:39:38
come back to that one because this is
1:39:41
supposed to be the mvp
1:39:45
as in the replication of these this
1:39:50
just added persistence storage i don't
1:39:53
really want to enhance
1:39:59
though i have a feeling in the original
1:40:01
one you can't change the board name
1:40:24
i think you can do it yeah
1:40:27
you tried it oh okay cool yeah um in
1:40:32
let's just do that as well
1:40:34
yeah also in scramble.ca board name and
1:40:38
board title are two separate things
1:40:41
but they'll come afterwards when we're
1:40:43
gonna do front end
1:40:49
yep i'm really hungry so i'm gonna uh
1:40:53
how about you holy a day
1:40:55
yeah sure but yeah um thank you everyone
1:40:57
thanks for joining in
1:40:59
and yeah i'm sorry i was late
1:41:03
but yeah i think even that we were able
1:41:06
to do a lot of stuff so yeah
1:41:10
seemed like really productive and
1:41:13
yeah hopefully tomorrow is the same as
1:41:16
yeah thanks everyone thanks for joining
1:41:21
thanks guys for joining and um yeah
1:41:23
we'll see you tomorrow same time same
1:41:27
place and a different time different
1:41:31
i think i'll start speaking with you
1:41:34
yeah yeah you can say same time same
1:41:36
place and i'll end with you like a
1:41:38
different task yeah as in our
1:41:44
voice and a different task
1:41:50
right guys have a good night cheers