boarzVideosClipsStatistics

#️⃣EP 020 - Build, Break & Fix // Fixing the uncaught exception error in FETCH APIs

🎦
📅 2021-08-02 (857 days ago)
⌛ 1:02:04
ZainboarKartikboar
AllClipsEpisodesHas Blog PostZainThaneshKartikTorey
091
Today's Stream
📅 2021-10-17 
(781 days ago)
⌛ 1:26:37
📰
ZainboarKartikboarThaneshboar
🎬
Torres Strait Icelander people
Today's Stream
ZainboarKartikboarThaneshboar
092
Today's Stream
📅 2021-10-18 
(780 days ago)
⌛ 1:05:40
📰
ZainboarKartikboarThaneshboar
🎬
Icelander or Islander?
Today's Stream
ZainboarKartikboarThaneshboar
093
Today's Stream
📅 2021-10-19 
(779 days ago)
⌛ 1:01:58
📰
ZainboarThaneshboar
095
Today's Stream
📅 2021-10-21 
(777 days ago)
⌛ 1:16:08
📰
ZainboarKartikboarThaneshboar
097
101/200 Episodes
📅 2021-10-24 
(774 days ago)
⌛ 1:00:53
📰
ZainboarThaneshboar
🎬
Best Practices
101/200 Episodes
ZainboarThaneshboar
099
103/200 Episode
📅 2021-10-26 
(772 days ago)
⌛ 1:10:51
📰
ZainboarKartikboarThaneshboar
101
105/200
📅 2021-10-28 
(770 days ago)
⌛ 1:15:24
📰
ZainboarThaneshboar
🎬
ROAR coders
105/200
ZainboarThaneshboar
103
109/200
📅 2021-10-31 
(767 days ago)
⌛ 1:11:38
📰
ZainboarKartikboarThaneshboar
105
111/200
📅 2021-11-02 
(765 days ago)
⌛ 1:11:33
📰
ZainboarKartikboarThaneshboar
109
115/200
📅 2021-11-07 
(760 days ago)
⌛ 1:02:25
📰
ZainboarThaneshboar
🎬
What's testing
115/200
ZainboarThaneshboar
🎬
CORS coders
115/200
ZainboarThaneshboar
111
117/200
📅 2021-11-09 
(758 days ago)
⌛ 1:06:25
📰
ZainboarKartikboarThaneshboar
113
119/200
📅 2021-11-11 
(756 days ago)
⌛ 1:08:01
📰
ZainboarKartikboarThaneshboar
115
120/200
📅 2021-11-14 
(753 days ago)
⌛ 1:06:19
📰
ZainboarKartikboarThaneshboar
117
Today's Stream
📅 2021-11-22 
(745 days ago)
⌛ 1:01:46
📰
KartikboarThaneshboar
118
How This Video Has 12 Views, Explained
📅 2021-11-25 
(742 days ago)
⌛ 0:59:47
KartikboarThaneshboar
119
How This Video Has 14 Views, Explained
📅 2021-11-29 
(738 days ago)
⌛ 1:16:20
📰
KartikboarThaneshboar
121
Today's Stream
📅 2021-12-02 
(735 days ago)
⌛ 1:02:25
KartikboarThaneshboar
122
Today's Stream
📅 2021-12-06 
(731 days ago)
⌛ 1:02:01
📰
KartikboarThaneshboar
123
Today's Broadcast
📅 2021-12-07 
(2 years ago)
⌛ 1:01:00
KartikboarThaneshboar
124
Today's Stream
📅 2021-12-09 
(728 days ago)
⌛ 1:05:48
📰
ZainboarThaneshboar
🎬
Complimenting the wrong person
Today's Stream
ZainboarThaneshboar
🎬
Alt+F4 Zain
Today's Stream
ZainboarThaneshboar
126
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:12:47
📰
ZainboarThaneshboar
127
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:50:29
📰
ZainboarThaneshboar
130
Today's Stream
📅 2021-12-16 
(721 days ago)
⌛ 1:16:51
📰
ZainboarThaneshboar
134
Today's Stream
📅 2021-12-21 
(716 days ago)
⌛ 1:03:43
📰
ZainboarThaneshboar
137
Today's Stream
📅 2021-12-26 
(711 days ago)
⌛ 1:17:00
📰
ZainboarThaneshboar
🎬
Fixing and failing
Today's Stream
ZainboarThaneshboar
152
AWS WebSocket + Lambda + DynamoDB
📅 2022-01-14 
(692 days ago)
⌛ 1:04:33
📰
ZainboarThaneshboar
154
Test
📅 2022-01-17 
(689 days ago)
⌛ 1:03:13
📰
ZainboarThaneshboar
156
AWS Websocket + DyanmoDb + Lambda
📅 2022-01-19 
(687 days ago)
⌛ 1:06:33
📰
ZainboarThaneshboar
🎬
Brown is always better than white
AWS Websocket + DyanmoDb + Lambda
ZainboarThaneshboar
160
How To Host A Web App using AWS S3 and CloudFront
📅 2022-01-24 
(682 days ago)
⌛ 1:16:15
📰
ZainboarThaneshboar
162
How to Host Web App Using AWS S3, CloudFront and Route53
📅 2022-01-26 
(680 days ago)
⌛ 1:03:12
ZainboarThaneshboar
🎬
The more you know
How to Host Web App Using AWS S3, CloudFront and Route53
ZainboarThaneshboar
164
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-01-28 
(678 days ago)
⌛ 1:08:57
📰
ZainboarThaneshboar
🎬
Inactive brain
How To Host Web App In AWS S3 with Custom Domain Using Route 53
ZainboarThaneshboar
166
Today's Broadcast
📅 2022-01-31 
(675 days ago)
⌛ 1:11:16
📰
ThaneshboarToreyboar
168
Generate SSL Certificate via AWS Certificate Manager
📅 2022-02-02 
(673 days ago)
⌛ 0:58:02
📰
ZainboarThaneshboar
172
Today's Broadcast
📅 2022-02-07 
(668 days ago)
⌛ 1:05:20
📰
ThaneshboarToreyboar
176
How To CRUD Data Through AWS Websocket with Multiple Clients
📅 2022-02-16 
(659 days ago)
⌛ 1:07:32
ZainboarThaneshboar
179
Today's Stream
📅 2022-02-23 
(652 days ago)
⌛ 0:59:43
📰
ZainboarThaneshboar
180
How To HASH A Password using BCRYPT in Node
📅 2022-02-25 
(650 days ago)
⌛ 1:03:48
ZainboarThaneshboar
182
Create Passcode UI
📅 2022-02-28 
(647 days ago)
⌛ 1:01:29
📰
ZainboarThaneshboar
186
Today's Stream
📅 2022-03-07 
(640 days ago)
⌛ 0:55:51
ZainboarThaneshboar
187
Today's Stream
📅 2022-03-09 
(638 days ago)
⌛ 1:00:11
ZainboarThaneshboar
189
Special Appearance
📅 2022-03-11 
(636 days ago)
⌛ 0:58:44
ZainboarThaneshboarKartikboar
191
How To Make Frontend Talk To The Backend - NodeJS
📅 2022-03-14 
(633 days ago)
⌛ 1:07:00
ZainboarThaneshboar
196
Today's Broadcast
📅 2022-03-21 
(626 days ago)
⌛ 1:06:59
ThaneshboarToreyboar
198
Verify Passcode Saving Information to DynamoDB with NodeJs
📅 2022-03-23 
(624 days ago)
⌛ 1:03:09
ZainboarThaneshboar
🎬
Tough questions
Verify Passcode Saving Information to DynamoDB with NodeJs
ZainboarThaneshboar
201
Today's Stream
📅 2022-03-28 
(619 days ago)
⌛ 1:08:28
ZainboarThaneshboar
203
Today's Stream
📅 2022-03-30 
(617 days ago)
⌛ 0:57:26
ZainboarThaneshboar
🎬
Tandoor? Wat even iz dat kind of fing
Today's Stream
ZainboarThaneshboar
207
Get Board Columns from Frontend to Backend NodeJS
📅 2022-04-04 
(612 days ago)
⌛ 1:00:38
ZainboarThaneshboarToreyboar
🎬
Bish Bash Bosh
Get Board Columns from Frontend to Backend NodeJS
ZainboarThaneshboarToreyboar
209
Today's Stream
📅 2022-04-06 
(610 days ago)
⌛ 0:59:39
ZainboarThaneshboar
🎬
Zip first developer
Today's Stream
ZainboarThaneshboar
213
Today's Stream
📅 2022-04-11 
(605 days ago)
⌛ 1:02:34
ZainboarThaneshboar
215
Jira Organising & Beta Testing Day 1
📅 2022-04-13 
(603 days ago)
⌛ 0:58:09
ZainboarThaneshboar
218
Beta Testing Fixes Part 3
📅 2022-04-20 
(596 days ago)
⌛ 1:01:02
ZainboarThaneshboar
🎬
Torcoders which are roarers
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Delusional Zain
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Hey guys, torey here
Beta Testing Fixes Part 3
ZainboarThaneshboar
220
Beta Testing 5
📅 2022-04-22 
(594 days ago)
⌛ 1:10:18
ThaneshboarToreyboar
221
Today's Stream
📅 2022-04-25 
(591 days ago)
⌛ 1:01:01
ZainboarThaneshboar
🎬
Zain's going platinum
Today's Stream
ZainboarThaneshboar
🎬
Doggy dog
Today's Stream
ZainboarThaneshboar
222
WebSocket Heartbeat & Thanesh's Farewell
📅 2022-04-27 
(589 days ago)
⌛ 0:51:08
ZainboarThaneshboar

Subtitles

0:00:02
[Music]
0:00:23
what is going on people
0:00:25
welcome back to another
0:00:27
series of build breaks and fix we are
0:00:31
raw coders and my co-host
0:00:34
ro coder
0:00:36
k
0:00:38
aka kofik um is running a bit late
0:00:42
um
0:00:43
well we can
0:00:45
for john and continue
0:00:48
with the show right um we are online and
0:00:52
saying
0:00:53
every
0:00:55
everyday from
0:00:57
from 9 30 so in the weekdays is from
0:01:01
9 30 to 10 30
0:01:05
and then in the weekends
0:01:07
it's 10 30 um 9 30 to
0:01:12
11 30
0:01:14
so essentially weekdays is for one hour
0:01:18
and
0:01:19
weekends is for two hours sessions all
0:01:22
right
0:01:23
so
0:01:24
uh we'll just continue back on
0:01:29
so uh i'll just
0:01:31
give a bit of a refresh here yes today
0:01:34
what we worked on we
0:01:36
set up our blog um
0:01:39
for
0:01:41
um
0:01:41
[Music]
0:01:45
hugo
0:01:46
vlog for our
0:01:48
streaming which is raw coder so that's
0:01:51
all set up
0:01:53
and um
0:01:55
we will be sharing the link very soon
0:01:59
um
0:02:00
and
0:02:01
what we are going to be actually working
0:02:02
on today is uh with our api so trying to
0:02:08
get the board name
0:02:10
into the api which
0:02:14
then posts it uh
0:02:16
actually
0:02:17
from get the board name from the front
0:02:20
end
0:02:22
and pass it to the back edge using fetch
0:02:25
api which is our middleware and then
0:02:28
the backhand inserts the board name into
0:02:32
the dynamodb all right
0:02:34
so
0:02:37
we're gonna do that today so
0:02:40
actually
0:02:41
continue
0:02:43
where we left off so
0:02:45
let's get let's get down to it and get
0:02:47
have some
0:02:49
have some fun coding all right
0:02:52
um i'm just
0:02:53
gonna put this i should share my screen
0:02:59
really quickly do that there
0:03:02
and
0:03:03
you share my screen there which is
0:03:06
here
0:03:08
all right and now
0:03:11
what we're going to do is open up our vs
0:03:14
code which is already there but this is
0:03:17
another project so we're not going to
0:03:19
look at that
0:03:20
we'll open another window
0:03:23
and
0:03:26
continue over there all right
0:03:29
so
0:03:30
just maximize a bit
0:03:33
and then i'm gonna
0:03:35
actually
0:03:37
forget about this one
0:03:40
i'm gonna be a bit long i'll just
0:03:43
open it up from the terminal
0:03:46
all right so i'll just zoom in a bit
0:03:49
so you guys can see
0:03:52
okay i'll go into my workspace where all
0:03:54
my
0:03:55
repos are and then i'll simply do
0:03:58
scrambler um enhancement and install you
0:04:02
should give me all of them
0:04:05
but
0:04:06
apparently that's interesting that's not
0:04:09
even coming
0:04:11
right
0:04:13
hello how's it going
0:04:19
can you hear me
0:04:25
ah not again then no i was able to hear
0:04:29
you i was able to hear you
0:04:31
oh
0:04:33
can you hear me
0:04:34
yeah
0:04:35
okay cool
0:04:37
i thought i did them that mistake
0:04:41
do it again
0:04:44
uh
0:04:45
yeah cool
0:04:48
all right
0:04:49
brilliant um i'm not entirely sure how
0:04:52
it uh how
0:04:54
how and if my intro
0:04:56
came at the start of this of the screen
0:05:00
uh okay
0:05:01
i mean i was able to hear you when i
0:05:03
joined so
0:05:05
that helped okay
0:05:08
in that way yeah
0:05:10
um the intro
0:05:12
the intro
0:05:14
would have been all right then if you
0:05:16
were able to hear me so
0:05:18
when you join in stream yard if you go
0:05:21
to cam slash mike there's an option to
0:05:24
test your mic
0:05:25
before you just before you start
0:05:27
yeah i think i need to start doing that
0:05:31
all right
0:05:32
so you shall uh
0:05:34
so there we go our nice co-host is here
0:05:38
welcome karthik
0:05:41
all right um so i i just told uh i just
0:05:45
gave a bit of an intro who be i am what
0:05:48
we
0:05:49
what we did yesterday
0:05:51
and i was just updating the viewers that
0:05:54
we're going to be working on that same
0:05:57
issue as in trying to get our board name
0:06:00
from from the front end to the back end
0:06:03
and
0:06:04
and at the at the moment i was
0:06:07
in the middle of opening the reaper
0:06:10
right
0:06:11
that's cool yeah that makes sense
0:06:15
did you have a
0:06:16
for dinner
0:06:19
yes i had kfc
0:06:22
did that count since dinner
0:06:24
nah brilliant yeah that's um kev's is
0:06:28
really really tasty though i love it
0:06:30
that's true
0:06:32
also um i don't know if you know this or
0:06:34
not today is the 20th episode
0:06:38
of this yes
0:06:40
i did
0:06:41
i did but
0:06:43
i wanted to wait for you to come and
0:06:45
then we can
0:06:47
we can actually announce it
0:06:49
yeah
0:06:50
yeah together
0:06:52
let me check
0:06:53
on
0:06:54
youtube and see how many hours of
0:06:56
content
0:06:57
that brilliance
0:06:59
yeah
0:07:00
just gonna put the mac on charge because
0:07:03
that's
0:07:05
running out battery i'll just be back
0:07:08
yeah sure
0:07:10
[Music]
0:07:20
all right
0:07:22
there we go
0:07:27
you wanna take a guess how many
0:07:29
hours of content knows
0:07:35
how many hours of content did you say
0:07:39
um i would say at least
0:07:43
at least say
0:07:48
three hundred
0:07:51
what no
0:07:52
it's 20 days
0:07:56
oh i thought you were minutes
0:07:59
right um
0:08:01
[Music]
0:08:03
it can't be there
0:08:05
uh probably 20 days that would be
0:08:10
um
0:08:18
approximately 100
0:08:20
i'm just guessing now
0:08:22
100 minutes or 100
0:08:24
hours can't be hundred dollars no we
0:08:27
can't that's the way
0:08:29
yes yeah
0:08:33
i would say around
0:08:35
30 to 50.
0:08:38
okay yeah yeah pretty close uh
0:08:40
yeah it's 31. nice brilliant
0:08:44
yeah
0:08:45
we're making good progress though as in
0:08:48
in terms of consistency
0:08:50
yes
0:09:00
um
0:09:01
screen protector from amazon
0:09:03
oh brilliant yeah
0:09:05
right so
0:09:07
this is what i got
0:09:11
wait oh yeah
0:09:14
can you see it see the crack yeah
0:09:17
it's already cracked
0:09:18
oh
0:09:19
right
0:09:23
[Music]
0:09:28
it wasn't handled properly at all
0:09:32
yeah the people who packed him for being
0:09:34
careless and they didn't really care
0:09:37
yeah
0:09:38
is this the
0:09:40
thick moment
0:09:41
yeah
0:09:44
true
0:09:45
okay cool
0:09:47
so let's get back
0:09:49
to our
0:09:51
good old issue
0:09:54
i don't think it's good but yeah
0:09:56
the old issue
0:09:58
oh this year precisely to be honest yeah
0:10:02
um i'll just give you
0:10:06
oh so you would doing the fetch api and
0:10:10
i was focusing on the api right right
0:10:12
right
0:10:14
so you want to
0:10:16
take the patch yeah if you had to
0:10:19
to your screen
0:10:21
yes that is mine
0:10:24
right i'll just open up
0:10:26
aws then
0:10:29
all right
0:10:30
uh
0:10:31
no no nws um
0:10:34
my
0:10:35
api instead
0:10:37
you just do that
0:10:41
from blur
0:10:42
yeah
0:10:44
there we go and get a board name from
0:10:46
front end
0:10:56
uh by the way
0:10:57
just for the viewers if you guys are
0:11:00
wondering what these are
0:11:03
then basic
0:11:05
cleaves do you know the different
0:11:08
branches my gear repo has
0:11:12
so
0:11:13
what i normally do is whenever when i
0:11:16
impleme implement
0:11:18
a new feature or fix a bug i normally
0:11:22
create my own
0:11:23
separate branch
0:11:25
and
0:11:27
this is that kind of a branch
0:11:29
so
0:11:30
as
0:11:31
you can see
0:11:32
i've done
0:11:34
that one form
0:11:36
middleware implementation
0:11:37
and
0:11:39
this is our backhand so i've done get
0:11:42
board name from the front end does that
0:11:44
make sense karthik
0:11:46
yeah
0:11:47
brilliant
0:11:49
all right cool so let's get down to that
0:11:55
um so
0:11:58
where did we left off here
0:12:03
so the board name was actually coming in
0:12:06
the request body isn't it
0:12:10
no it wasn't
0:12:13
the board name wasn't
0:12:15
oh we were
0:12:16
logging
0:12:18
it was coming up as text but known as
0:12:20
jason isn't it
0:12:22
so we were doing a two string
0:12:24
to it
0:12:26
yeah which didn't really help did it
0:12:30
we just didn't deploy it after that
0:12:34
oh right
0:12:36
in that case let's
0:12:39
deploy it
0:12:41
and
0:12:44
i'll do this over here as well
0:12:47
here just do a lot of console.logs
0:12:50
hmm
0:12:52
at once
0:12:53
so we don't really have to
0:12:57
play
0:12:58
chloe
0:12:59
over and over again
0:13:01
and that's just a waste of time
0:13:11
just one second
0:13:21
what's the update with the green screens
0:13:24
uh
0:13:25
so
0:13:27
so they're coming in so my
0:13:31
spotlight is coming
0:13:32
um okay
0:13:34
awarded two thing the spotlight and then
0:13:38
green screen
0:13:39
and they're both coming in two different
0:13:41
parcels
0:13:43
oh
0:13:44
so i think that
0:13:46
one of them should should be here by the
0:13:48
end of this week
0:13:50
hopefully
0:13:51
um the other one
0:13:54
not entirely sure because i haven't
0:13:55
really got the email so which one's
0:13:58
coming first
0:14:00
to be honest i don't know
0:14:03
nice
0:14:11
okay buddy
0:14:13
choose a case this is body this
0:14:17
this is there
0:14:19
so actually this one i'm gonna
0:14:22
obvious
0:14:24
basin stringify
0:14:35
and then do this
0:14:45
why is that there
0:14:48
right
0:14:49
yep
0:14:51
no that's not right
0:14:55
jason stringifies that
0:15:05
okay cool
0:15:09
here we go
0:15:10
called
0:15:12
that one's done that once done
0:15:15
and then board name that's basically it
0:15:17
isn't it
0:15:19
yeah
0:15:20
let's try this
0:15:37
my
0:15:42
let's see what that does
0:15:47
can you actually add a type of thing you
0:15:49
do but it's fine
0:15:57
request body
0:16:09
did you say
0:16:28
cool
0:16:29
all right
0:16:52
okay
0:16:56
everyone's there
0:17:01
all right build the app now
0:17:04
yep
0:17:05
it's the way to go
0:17:08
did you announce about our
0:17:11
guest for this week's then
0:17:14
i haven't i wanted to do all these
0:17:17
important things as in together so i
0:17:19
just will wait
0:17:20
for you
0:17:21
yeah and then mostly when sam is
0:17:23
building so yeah yeah that's right
0:17:26
to do these things yeah exactly
0:17:29
yeah you should go ahead and tell us
0:17:34
and i'll continue because um i can't do
0:17:38
two things
0:17:39
i have one so i want to be able to focus
0:17:41
on this
0:17:43
code as well all right um so yeah we
0:17:45
have a
0:17:46
special guest coming in on
0:17:49
thursday which is 5th of august
0:17:52
um
0:17:53
so
0:17:55
he's the
0:17:56
principal's
0:17:58
um deaf at six
0:18:00
what's seek yeah yeah seek.com
0:18:03
but he has worked in a lot of different
0:18:04
companies like nab or that easy um
0:18:08
so his name is andre um he's really
0:18:10
experienced and we have a lot of fun on
0:18:13
thursdays so
0:18:14
join us at 9 30 pm aesc
0:18:19
let's see where's there with andre
0:18:23
that's phenomenal yeah
0:18:26
he's an amazing amazing guy man as in i
0:18:29
really already look up to him
0:18:32
nice he's pretty proficient in what he
0:18:35
does
0:18:37
that's pretty good um
0:18:47
uh i would think so yeah
0:18:49
tomorrow is the one
0:18:52
who decides that it'll be cuter when
0:18:54
select how did this oh it's uh every on
0:18:57
10th day of the week of four nightly
0:19:01
every alternative days so if it was
0:19:05
last for nightly
0:19:07
tuesday this for nightly it would be
0:19:10
wednesday
0:19:11
and
0:19:12
then the next four nightly
0:19:14
it will be tuesday again
0:19:16
oh i didn't know that
0:19:18
so
0:19:19
that's how it works
0:19:21
do you want to go for it yes i want to
0:19:26
is it the same
0:19:28
endpoint url yeah
0:19:32
oh endpoint
0:19:35
and in the meanwhile open up my
0:19:40
aws account
0:19:42
and
0:19:44
take it from there
0:19:46
policy come on um
0:20:05
now i feel weird why is it working
0:20:09
it's not working anymore
0:20:11
it is working that's all okay
0:20:20
what
0:20:23
what happened to you
0:20:26
i just fired up the server
0:20:28
hang on
0:20:30
i can't see it
0:20:33
it's already going inside test i don't
0:20:36
know how
0:20:42
i don't mind
0:20:50
um
0:20:52
that's fine that's fine
0:20:59
maybe it's not fine
0:21:01
i think that might be
0:21:03
causing
0:21:04
the problem
0:21:06
let's try it here
0:21:12
do we have the homework here
0:21:20
actually go to your
0:21:24
home
0:21:25
go ahead
0:21:28
why is it taking that much load up
0:21:32
no idea
0:21:33
it doesn't normally take that long
0:21:37
that is true
0:21:45
okay
0:21:48
here we go
0:21:49
okay call
0:21:57
string
0:22:00
okay i'll just go into
0:22:03
dynamodb
0:22:05
um
0:22:06
i'll just get it from here i'll need to
0:22:08
write
0:22:13
yeah i wanna be able to see the logs
0:22:16
oh yeah that's true
0:22:21
um
0:22:23
also if you're going to dynamodb on aws
0:22:25
just delete
0:22:27
all the current boards
0:22:29
okay
0:22:47
come on matey
0:22:51
come on
0:22:53
you got this
0:23:14
come on
0:23:27
all right
0:23:29
there we go
0:23:30
so it's almost there just bear with me
0:23:32
for a sec
0:23:35
have you go okay
0:23:37
yes
0:23:42
that's brilliant
0:23:45
okay let's go into this and see what
0:23:50
lovings it gives us okay so in ball
0:23:54
ah
0:23:55
so if we do json.s stringify
0:23:59
and then do a dot to string then it
0:24:02
gives us the board
0:24:05
as string
0:24:07
okay but why is it not assigning it to
0:24:10
it
0:24:20
what
0:24:23
type of object
0:24:25
so the thing is that why is it not
0:24:27
signing to it
0:24:29
let's have a look
0:24:31
so this basically works so
0:24:34
just jason stringify all this
0:24:39
okay
0:24:40
oh that worked right yes
0:24:43
yes
0:24:44
all right
0:24:50
and then if we pass in the board now
0:24:54
then it should
0:24:56
show up
0:24:58
hopefully
0:25:05
you know
0:25:06
it's
0:25:07
it's really interesting how
0:25:10
you have actually changed the concept of
0:25:13
wow
0:25:14
for me though
0:25:16
yeah as in
0:25:18
wow
0:25:19
because you haven't
0:25:21
hopefully for me yeah
0:25:24
huh
0:25:25
you haven't changed the concept of
0:25:26
hopefully
0:25:28
yeah
0:25:29
that's unfair
0:25:35
well if i say
0:25:36
hopefully then that
0:25:39
means that
0:25:41
for the best plan for the worst
0:25:45
i'll just say it'll work
0:25:49
you can never ever say that and
0:25:52
unless you're probably
0:25:55
saying
0:25:56
and
0:25:57
unless you're poor you can't say that
0:26:02
you can't be optimistic and
0:26:04
get your heart broken after that
0:26:07
so
0:26:08
whatever
0:26:20
should be doing it ah
0:26:23
i'm glad you
0:26:24
told me that
0:26:26
yeah
0:26:39
um by the way i told my
0:26:42
girlfriend about
0:26:44
how he just you used the word wow
0:26:47
in
0:26:48
that sentence she was really admiring
0:26:52
you
0:26:53
that oh he he he sounds really bad um
0:26:57
not past he missed
0:26:59
optimist
0:27:02
but
0:27:03
in a
0:27:05
glad surprising
0:27:05
know we already have hands
0:27:12
that's cool
0:27:13
okay um do this uh
0:27:16
that one that one
0:27:31
there we go so just building uh as in
0:27:35
deploying
0:27:39
you know
0:27:40
when the stream
0:27:43
when i started the siemens in by
0:27:46
myself as in
0:27:49
the first time
0:27:50
yep
0:27:51
uh i think i
0:27:55
gave
0:27:56
myself or now us
0:27:59
yeah says six months max to actually
0:28:02
finish this project
0:28:04
all right and how much time it has been
0:28:06
now
0:28:08
it's been probably
0:28:10
when did we start
0:28:12
i mean it has been 20 episodes for us so
0:28:14
with me joining it has been around 20
0:28:16
days
0:28:18
probably
0:28:19
just more than a month then
0:28:21
right
0:28:24
okay
0:28:25
done
0:28:27
do your magic now
0:28:29
and we can see
0:28:32
hopefully it's working now
0:28:34
because
0:28:37
on the board in the database
0:28:39
uh no i'll just go and do that now
0:28:42
yeah don't want to do this
0:29:06
let me
0:29:09
delete it first and then you can
0:29:12
continue and do that
0:29:14
yeah i'm sharing your screen anyway okay
0:29:16
cool
0:29:17
scrambler db users table
0:29:26
uh
0:29:27
what is this
0:29:31
a board
0:29:32
what
0:29:34
what
0:29:35
well that's already showing
0:29:37
no no that's what we did in
0:29:40
uh
0:29:41
manually when we were doing it from post
0:29:44
ah okay yes you're right
0:29:47
you're right
0:29:48
if it would have worked it would have
0:29:49
shown for at least 10 boards
0:29:51
yeah yeah
0:29:53
true all right
0:29:54
all right
0:29:55
now
0:29:57
i'll just come to your screen now
0:30:00
and just making sure it has been deleted
0:30:02
yeah yeah yeah that's always good to
0:30:05
confirm
0:30:09
um okay i'll redeploy
0:30:14
yeah we should do that
0:30:31
okay boys
0:30:35
uh by typing abc you
0:30:38
should remind me about abc chicken
0:30:49
let's see what we got
0:30:56
nice
0:30:58
yay
0:30:59
nice
0:31:00
yeah
0:31:02
i don't know what this means though
0:31:06
it means that
0:31:08
we shouldn't json stringify it
0:31:12
but then it's not working
0:31:15
well we haven't checked
0:31:18
if we don't
0:31:20
json stringify it doesn't work
0:31:23
yeah have we
0:31:25
i don't think we have
0:31:27
right let's check that
0:31:29
because i really don't want the force
0:31:32
slashes to come in the string
0:31:35
i mean we can just go ahead and trim
0:31:36
them but
0:31:38
yeah yeah
0:31:41
obviously but that would
0:31:44
i guess probably be the workaround isn't
0:31:46
it um
0:31:48
no we don't want this we don't want this
0:31:50
we don't want any of this also i was
0:31:53
wondering uh are we gonna work on
0:31:56
making it send a json object right now
0:31:58
or um
0:32:01
making it send a json object in what
0:32:03
sense
0:32:05
you know how we are sending text right
0:32:06
now we're not actually sending a json
0:32:08
object
0:32:10
yeah
0:32:11
and we'll have to make it
0:32:13
send a json object
0:32:15
[Music]
0:32:22
yeah yeah
0:32:24
so
0:32:26
i think we should work on that as well
0:32:29
so in the fair shape here how are we
0:32:31
sending at the moment as it that's text
0:32:35
as text
0:32:40
right and
0:32:43
in the future we'll have attributes like
0:32:46
board size um boot color
0:32:49
both type
0:32:51
so there's gonna be a lot more um
0:32:54
data revolving board this id and name
0:33:00
uh well at the moment
0:33:03
yeah you're
0:33:05
right from a sense that
0:33:07
we need
0:33:08
to uh
0:33:12
cater it for different uses
0:33:16
but i'm thinking that
0:33:19
just to a bit minimalistic approach at
0:33:22
the moment
0:33:23
to just to get the basic
0:33:25
functionality working
0:33:28
and then we can always enhance it
0:33:31
it's not about even enhancing it's just
0:33:32
that
0:33:34
it's just sending
0:33:35
text and
0:33:36
we anyway like we have to send just an
0:33:39
object
0:33:40
like that's probably the right
0:33:42
thing to do
0:33:44
or yeah
0:33:46
we can go ahead and yeah
0:33:49
it is the right thing to do i
0:33:52
totally
0:33:53
agree with you but
0:33:56
i was thinking to take it step by step
0:33:59
rather than focusing on one entire part
0:34:03
first for the entire
0:34:06
project and then going to the next
0:34:09
one but um
0:34:11
yeah you are actually right there we
0:34:14
should be sending you a json object so
0:34:18
we can work on that as well now then
0:34:21
it's fine yeah
0:34:22
is this that it only makes sense that
0:34:23
before we step onto something else we
0:34:25
just
0:34:26
make sure that the basis of it is clear
0:34:29
true
0:34:30
true
0:34:31
yeah i'd agree on that one because uh in
0:34:36
my mind the idea was that the only issue
0:34:39
that we're working on at the moment is
0:34:42
again
0:34:43
getting the board name from the front
0:34:45
end to the back end yeah and yeah now
0:34:49
let's
0:34:49
do that yeah just want to do it in
0:34:51
adjacent object format yeah yeah okay
0:34:54
cool
0:34:55
we can do that in there
0:34:58
one and i think that would actually be
0:35:01
the right approach because
0:35:04
um it's always
0:35:06
good to
0:35:07
transfer data from one
0:35:10
um and to another in a json format
0:35:14
always good
0:35:16
so are you gonna
0:35:19
um
0:35:20
hang on i'll just do this
0:35:22
first
0:35:24
and
0:35:25
check
0:35:27
what do we get
0:35:28
i'll pour some snacks then
0:35:30
oh
0:35:32
actually i'll
0:35:33
get some snacks as well
0:35:36
while it deploys
0:35:37
yeah
0:35:44
and you're wondering i'm having
0:35:47
mountain dew and
0:35:50
smith
0:35:51
oh ho ho nice
0:35:53
yeah
0:35:55
i'm having these
0:35:56
cashew nuts
0:35:59
okay you're having healthy stuff now i
0:36:01
feel bad health health
0:36:03
it's all about as in preferences man
0:36:06
when i was your age i
0:36:09
used three pizzas burgers all the time
0:36:13
if it helps i have whole grain chips
0:36:17
yeah
0:36:18
no it's fine
0:36:21
i'll have smiths only
0:36:24
do that
0:36:26
ah
0:36:28
oh i'm
0:36:29
i miss those
0:36:31
smiths and mountain dew i choose to have
0:36:34
them as well oh yeah nice they're really
0:36:38
they're really okay especially the
0:36:42
combination
0:36:44
of
0:36:46
yeah mountain view
0:36:48
which is a bit
0:36:49
says
0:36:51
um normally sour but sweet and sour
0:36:56
that's true
0:36:58
and schmidt some
0:37:00
fresh flavor are you having often spits
0:37:04
bbq
0:37:06
ah
0:37:08
yeah which one's the other pump
0:37:13
my one is
0:37:16
uh either original one or so one vinegar
0:37:20
oh nice
0:37:40
there you go that's done
0:37:43
what's it done to it
0:37:46
uh
0:37:47
no no no i meant the
0:37:50
oh i consistent
0:37:52
a step
0:37:54
before the
0:37:57
actual done is done yeah right
0:38:06
yeah it's done now
0:38:08
already
0:38:10
i'll go to cloud watch
0:38:28
all right let's
0:38:30
see what we got
0:38:33
are you ready then
0:38:35
yeah
0:38:39
there we go
0:38:40
what did you get
0:38:47
okay we got a board which is good
0:38:50
it worked for us
0:38:54
that looks like
0:38:55
the string is it
0:38:57
yes in string without the
0:39:00
things
0:39:01
okay
0:39:04
can i say
0:39:12
hmm brilliant okay
0:39:16
cool
0:39:18
noise
0:39:19
so now basically what we need to do is
0:39:22
then just put the
0:39:24
value
0:39:26
of that text box input
0:39:31
and
0:39:32
replace it with a string
0:39:36
i didn't get that oh yeah yeah
0:39:39
yes
0:39:45
yeah we just need to see how we can
0:39:46
access um
0:39:50
the
0:39:51
thing with
0:39:55
um
0:39:59
how are we going to access this
0:40:02
go to home
0:40:04
go to oh yeah
0:40:07
html as in the page itself
0:40:11
the code
0:40:16
go up
0:40:21
no
0:40:23
go down but slowly
0:40:27
down down down down down down midwest
0:40:29
camera bye
0:40:32
okay
0:40:33
type in go
0:40:38
you want to go function or are you going
0:40:41
no just um the goal
0:40:47
where the
0:40:48
girl is being used
0:40:50
without only over there
0:40:54
you know how
0:40:55
you've
0:40:56
you've got the input
0:40:58
which is text and then name
0:41:02
where is it
0:41:04
on line 32
0:41:08
yeah
0:41:10
go to index.html
0:41:15
all right
0:41:17
go downstairs oh
0:41:19
sorry my bad
0:41:20
go to middleweight
0:41:23
dodger
0:41:26
see how it's been you use at the top
0:41:29
in the function
0:41:32
use what sorry line nine
0:41:38
oh
0:41:40
okay so i can just copy this i guess
0:41:52
because it is
0:41:53
taking the
0:41:55
form thing
0:41:56
in there
0:41:58
[Music]
0:42:05
yeah
0:42:06
try that
0:42:22
a
0:42:23
console.log
0:42:25
board
0:42:47
all right let's see maturity
0:42:54
no that didn't work
0:42:55
[Music]
0:42:56
i want to see if it
0:42:58
didn't go through or not
0:43:01
it must have gone through
0:43:04
there we go
0:43:05
no no
0:43:06
no the previous quote
0:43:09
one sec i know what to do
0:43:37
first
0:43:40
really interesting now
0:43:59
all right
0:44:04
abcd
0:44:06
we're not doing abcs then okay that
0:44:08
works
0:44:10
it works right that should work yeah
0:44:14
awesome
0:44:15
so the board is there
0:44:17
that one is there
0:44:19
now we need to work on the json object
0:44:23
so i was
0:44:25
watching as
0:44:26
um
0:44:27
i don't know how this code works and
0:44:29
pretty sure you wrote it do you know how
0:44:31
it works
0:44:34
okay
0:44:35
so if you go up
0:44:39
uh slowly
0:44:41
that's all
0:44:42
that's all yeah
0:44:44
just in that one
0:44:47
you know
0:44:48
where i'm using fetch
0:44:51
as in that's the request part as in i'm
0:44:54
sending that request to the server
0:44:58
right and then
0:45:00
the then part
0:45:02
handles the response so once i've sent
0:45:05
the request and then the server will
0:45:09
actually
0:45:10
respond something as in as
0:45:12
status
0:45:14
a code
0:45:15
anything
0:45:16
that will come in the response
0:45:20
and then
0:45:21
if
0:45:23
it's called any errors then it will
0:45:25
automatically go to the catch
0:45:28
okay
0:45:30
does that make
0:45:31
yeah
0:45:32
all right
0:45:34
then
0:45:36
why is it being a issue that if we in
0:45:38
text instead of text we do json
0:45:41
isn't that a parameter as
0:45:45
to well now
0:45:51
and run it
0:45:55
i mean uh instead of in terms of server
0:45:58
format it's not the right thing but
0:46:00
let's see if it goes through first
0:46:04
oh my god i'm not entirely sure about
0:46:06
this
0:46:07
i think i have to clear cache every time
0:46:10
i do it
0:46:11
why
0:46:12
why don't you should just
0:46:14
press hard refresh
0:46:20
interesting
0:46:27
all right
0:46:29
um
0:46:31
three
0:46:32
three
0:46:34
one cause unexpected end of input
0:46:41
okay
0:46:43
um wow
0:46:47
and
0:46:48
that is the weirdest thing i've seen in
0:46:50
my life
0:46:52
so it's airing up but it's coming from
0:46:56
no that's not the problem
0:46:58
actually that is the problem
0:47:00
because
0:47:01
we are not sending it in adjacent format
0:47:05
[Music]
0:47:06
yeah
0:47:08
we should be sending in a json format
0:47:18
lowercase
0:47:20
okay
0:47:22
the whole the off to the underscore yeah
0:47:46
now it is a decent format
0:47:49
now it won't work
0:47:51
for sure because
0:47:53
experience talks huh
0:47:56
like it only makes sense because we
0:47:57
haven't done it in the api like yeah
0:48:01
both names
0:48:02
[Music]
0:48:03
exactly
0:48:10
okay if it works now i'm going to eat my
0:48:12
laptop
0:48:14
okay
0:48:17
jesus
0:48:19
no the good part is it's going yeah it's
0:48:21
literally going you just need to just
0:48:22
string your fight and why is it going
0:48:24
now what
0:48:27
i have no idea
0:48:29
it wasn't doing like a week ago
0:48:35
well my friend
0:48:37
this is real world programming for you
0:48:40
welcome to the real world this is
0:48:43
[Laughter]
0:48:49
uh all right
0:48:51
what are we doing now
0:48:53
as in
0:48:57
huh
0:48:59
jason stringifier and do dot board name
0:49:05
now what we are passing is a json object
0:49:08
so
0:49:11
okay
0:49:17
it's not okay can you hear me eating
0:49:21
a little bit
0:49:26
so
0:49:27
you mean to say in this way isn't it
0:49:30
now do dot um
0:49:43
oh let's try this
0:49:46
um
0:49:47
actually no this should be fine yeah
0:49:49
yeah
0:49:50
this should be all right
0:49:57
you want to do some controller logs
0:49:59
because it might not work
0:50:02
cool
0:50:03
good idea
0:50:31
all right
0:50:34
or name
0:50:36
can we add
0:50:38
uh request.body as well
0:50:44
can we print it
0:50:54
in this way you're saying
0:50:59
um
0:51:02
yeah yeah
0:51:04
is that what
0:51:09
oh
0:51:14
console.log is so helpful while
0:51:16
debugging
0:51:18
yeah
0:51:19
it was so frustrating when it wasn't
0:51:20
working
0:51:22
i can actually debug it line by line
0:51:25
though
0:51:26
yeah that's true
0:51:29
but then we can't see the values can we
0:51:31
like the values too
0:51:33
oh we can still
0:51:41
that's probably a
0:51:43
more professional approach to doing
0:52:03
actually what i'm thinking that might uh
0:52:07
do that
0:52:09
this time as a
0:52:10
line by line
0:52:13
just to
0:52:15
have a beautiful taste of it as well
0:52:18
yeah sure
0:52:20
every time i have mountain dew it makes
0:52:22
me realize why i don't have mountain dew
0:52:24
and why i have coke or pepsi instead
0:52:29
yeah i guess
0:52:30
you really love mountain dew isn't it
0:52:33
i don't and that's why every time i have
0:52:36
lice
0:52:37
why i don't have it every time
0:52:40
i mean it's not like i hate it it's just
0:52:43
it's not pepsi oh it's not good okay
0:52:46
cool
0:52:48
which one is like
0:52:50
uh
0:52:52
i would say i'm not a huge fan of fizzy
0:52:55
drinks
0:52:56
so i
0:52:58
i'm more like drink juices or just or or
0:53:03
energy drinks
0:53:05
but those healthy ones that i've got i
0:53:08
don't drink
0:53:09
any other ones
0:53:10
oh nice
0:53:12
they're making me feel bad now
0:53:16
i've been there man
0:53:18
as in
0:53:19
as your age the last thing i would case
0:53:24
is about how healthy you want to eat
0:53:28
if
0:53:28
i were you
0:53:30
because
0:53:31
as you get older you your metabolism
0:53:34
will then
0:53:36
actually become slow
0:53:38
and you will
0:53:40
stop putting on where regardless
0:53:43
right oh um there is a comment i just
0:53:46
saw
0:53:48
uh
0:53:49
for you more help oh
0:53:51
well healthy energy
0:53:54
drinks andre asks so um the
0:53:58
energy drinks
0:54:00
i
0:54:00
have uh they have their
0:54:03
low in calories
0:54:05
no artificial
0:54:07
sugar at all and they also have fruit
0:54:10
juice
0:54:11
in them as well
0:54:12
and it's it's really helpful
0:54:16
as in they're not
0:54:19
they're not as harsh as red bull
0:54:22
because yeah it's pretty strong it's
0:54:25
really harsh as in
0:54:27
it's got a lot of sugar it's got a lot
0:54:29
of taurine no
0:54:31
it's not healthy for you
0:54:33
a scored
0:54:36
access andre
0:54:39
so x and s
0:54:41
access
0:54:42
how much money do you get from the
0:54:43
company to sponsor advertise this zen
0:54:47
nothing
0:54:50
much yeah
0:54:53
i love them them them most that i'm if
0:54:56
people ask
0:54:59
me about what energy drinks
0:55:02
yeah i have i just share it and that's
0:55:05
all really
0:55:06
nice
0:55:07
and
0:55:08
people want to try it um
0:55:11
i can
0:55:13
get it for them and because i feel
0:55:17
exclusive as in access to that brand as
0:55:20
well
0:55:22
it's not accessible to the public
0:55:26
did you cr did you were you one of the
0:55:27
crowdfunders
0:55:31
was crowdfunders
0:55:33
like did you you know how when companies
0:55:34
start they crowdfund their projects
0:55:39
i don't know what you mean
0:55:40
people just put in money um to start a
0:55:43
particular idea
0:55:44
oh no no no no i'm
0:55:47
not that one
0:55:48
no okay
0:55:50
nice um this is deploys so you might
0:55:53
want to try the
0:55:55
um front-end
0:55:57
on your end
0:56:00
well andre andre you might want to check
0:56:02
your slack
0:56:04
on send your message
0:56:08
all right um
0:56:10
i think andrew
0:56:12
likes you
0:56:13
more than more than more than me i'm i'm
0:56:17
messed
0:56:17
up
0:56:19
i think he
0:56:21
forgot to
0:56:22
reply me
0:56:23
or he's been really busy
0:56:26
what else i didn't get
0:56:30
that's fine um i mean yeah he's a really
0:56:34
busy person as in being a senior dev or
0:56:37
a
0:56:38
principal developer
0:56:40
it's not easy job as in
0:56:43
i've got really high respects for him
0:56:46
that's pretty good
0:56:48
um all right
0:56:50
ncf
0:56:53
object is right that's right
0:56:56
we got an error ray
0:56:59
uh
0:57:03
so
0:57:05
so okay i'll just
0:57:07
go to laptop and see what it says
0:57:11
yeah
0:57:14
uh yes
0:57:15
i sent you another message if you
0:57:18
if you get time just have a look and
0:57:19
look at it
0:57:28
also
0:57:29
we had water already now i'm having
0:57:31
mountain dews
0:57:33
but zayn's having water i'm still having
0:57:35
water because i love water
0:57:46
okay focusing focus
0:57:48
yep
0:57:49
and 19 that is not the one i'm in the
0:57:53
wrong one
0:57:57
so i need to be in the latest one
0:58:06
aha
0:58:08
doesn't do it
0:58:10
doesn't do what name is becoming
0:58:12
undefined
0:58:16
board name is undefined and this is how
0:58:19
it comes if i just
0:58:20
stringify
0:58:22
that
0:58:25
um
0:58:26
i think what i might need to do is i
0:58:29
might
0:58:30
need to
0:58:38
can i try
0:58:40
to string
0:58:41
instead
0:58:42
sorry
0:58:44
should i try to string instead
0:58:47
yeah yeah you should
0:58:56
string
0:59:01
request body
0:59:04
uh
0:59:06
okay let's do that again
0:59:09
wow the time really flies is half 10
0:59:11
already
0:59:12
oh my goodness
0:59:18
oh
0:59:20
did you on
0:59:22
great i'm really sorry um i think
0:59:28
i've been
0:59:29
slacking and not really looking at my
0:59:32
slack
0:59:36
regularly that's my
0:59:38
fault
0:59:40
but
0:59:42
that's interesting
0:59:45
i think it's something to do with slack
0:59:47
because
0:59:48
andre i didn't really get your message
0:59:52
if you send it to me
0:59:56
yeah
0:59:57
it might be just some slack problem then
1:00:01
apparently
1:00:03
yeah
1:00:04
i think i already have two accounts or
1:00:06
something like that
1:00:08
oh okay
1:00:10
all right
1:00:12
anyway um yeah it's fine um
1:00:14
yeah
1:00:18
yeah i'll
1:00:19
get in touch
1:00:21
with you
1:00:22
andre
1:00:29
um all right
1:00:30
i think that's it
1:00:33
let's call it a day we have actually
1:00:37
made progress which i'm pretty happy
1:00:40
about
1:00:42
right
1:00:45
[Music]
1:00:49
yeah for sure i think um
1:00:51
we can probably go ahead and do that
1:00:53
[Music]
1:00:55
yeah i'm just
1:00:56
gonna stop sharing
1:00:58
right cool um it's like
1:01:02
um
1:01:03
right guys
1:01:04
thanks so fun thanks a lot for joining
1:01:07
us it's been a pleasure um
1:01:11
looking forward to more
1:01:13
fun
1:01:14
session with you guys and um
1:01:17
today we'll be here tomorrow again same
1:01:20
time
1:01:22
same place and a slightly different
1:01:24
issue now
1:01:25
nice
1:01:26
[Music]
1:01:28
all right cool um yeah today was
1:01:30
productive we got the board name working
1:01:33
and
1:01:33
probably will get the json object
1:01:35
working it's not a big task um yeah see
1:01:38
you guys tomorrow at 9 30 and don't
1:01:40
forget to set your timers for thursday
1:01:44
because we have a really special
1:01:47
really proficient dev coming who's andre
1:01:52
all right cool
1:01:54
special guest
1:01:55
yeah
1:01:56
because
1:01:57
fantastic
1:01:59
see you guys tomorrow guys thanks cheers
1:02:02
bye