0:00:26
to another session of build break and
0:00:28
fix we are the raw coders coming at you
0:00:32
from melbourne australia
0:00:38
s t which is the australian eastern
0:00:42
i hope that we're all doing phenomenal
0:00:50
i was gonna say night today but
0:00:53
yeah okay whatever uh so
0:00:56
today we're gonna be
0:00:58
going into the same issue which we were
0:01:03
which was to do with um
0:01:08
error so let's get down
0:01:10
to try and solving them without any
0:01:18
cool so now i'm gonna do is
0:01:23
you might also you might be wondering
0:01:27
uh i think he's running a bit late so
0:01:34
would just continue and um
0:01:38
when he he can come he will come all
0:02:01
let's do one thing
0:02:12
kartik uh the thing
0:02:16
oh he's here wow by surprise again the
0:02:19
link wasn't working for some reason the
0:02:22
same ones you sent me
0:02:25
how did it work now
0:02:27
um i had to kind of like retype it it
0:02:30
was something on the end of streaming
0:02:34
oh i did everything okay and i'd open it
0:02:38
incognito then only it worked
0:02:40
oh that's interesting that's the first
0:02:44
okay they're welcome
0:02:49
right so i've done the introduction bit
0:02:51
and we're just gonna work on this
0:02:54
same thing which was
0:03:00
which was which was which were of course
0:03:03
of course we were working on course
0:03:11
i'm gonna share my screen
0:03:17
i was just wondering that maybe we can
0:03:20
um but one person can work in course and
0:03:24
or maybe we can work on it together
0:03:29
i would say um we should really just
0:03:31
work on it together because that's the
0:03:34
whole point of this as in programming
0:03:38
when we are about speed but we can
0:03:41
actually work together and focus on the
0:03:48
so all right so do you wanna
0:03:55
we're gonna work together right so i
0:03:59
code because it's on your account
0:04:02
yes yes yes true you'll have to share
0:04:07
yeah cool cool cool
0:04:11
i probably like what i would do is that
0:04:14
just redeploy it and follow the steps
0:04:16
we've been always following
0:04:22
just reapply the whole thing and um do
0:04:26
in that video or that's awesome okay
0:04:29
yeah right right so
0:04:32
you're seeing start from scratch
0:04:34
in terms of deploying the api
0:04:37
yeah just yeah visible and enable course
0:04:49
everyone just see as soon as
0:04:52
the stream starts everyone just as in
0:04:56
people actually start calling and
0:04:59
texting me and 9 30 and i'm like guys
0:05:05
i put my phone on like silent and like
0:05:09
um just like as soon as i start my
0:05:11
stream so even if someone calls me that
0:05:13
like that doesn't just come through
0:05:18
what if it's an emergency
0:05:23
um i mean they can text me right uh i
0:05:27
whatsapp open on my other screen
0:05:30
which has no notification sounds
0:05:32
so uh yeah cool i see yeah
0:05:45
what i wanted to do is get
0:05:51
uh but first i'm going to share my
0:05:53
screen because i'm not doing that at the
0:06:12
don't worry about hiding the url for now
0:06:15
no i'm not gonna worry about
0:06:20
mean we know how to do that
0:06:27
yeah i can't thank my current workplace
0:06:32
there you can learn it from there oh i'm
0:06:38
okay so i'm going to delete this
0:06:46
remember how i told you about postman
0:06:50
i pitched the same thing to my workplace
0:06:55
gave me some time to try it
0:07:13
workplace doesn't have anything to do
0:07:16
with postman at the moment
0:07:19
i can't really do much
0:07:24
as in that is the reason why i've got
0:07:26
these these kind of
0:07:28
investment projects
0:07:34
um what kind of stack do you work at
0:07:43
but front end is mainly in
0:07:48
i don't know if you haven't heard about
0:07:52
yeah i really needed this is the first
0:07:56
i heard it that um actually that is a
0:07:59
thing actually and i'm like is it like
0:08:04
uh you can say it's a ui for
0:08:17
basically that but
0:08:22
olden days framework
0:08:25
yes you don't know but yeah yeah
0:08:27
i i get the feeling that the company is
0:08:30
a good established old company they're
0:08:32
just trying to maintain
0:08:34
what they already have
0:08:38
yeah yeah for sure
0:08:41
um so what did i want to do
0:08:48
watching this and it'll be getting my 50
0:08:52
let us know let's go
0:09:03
how did we used to deploy r exam build i
0:09:06
don't need to do the same field
0:09:08
just do some deploy
0:09:11
i just got a lot of stickers and
0:09:14
one really useful things from one of our
0:09:21
this is what i got
0:09:31
yeah i got that one from one of the
0:09:34
conferences as well
0:09:36
yeah and like a ton of it will do the
0:09:40
like nice brilliant so i'll show you
0:09:44
my friends think i work at aws
0:09:48
i don't think it's my friends well hang
0:09:51
see my screen uh-huh
0:09:53
these are all little stickers ah right i
0:10:23
why is um why is it this overwhelming
0:10:26
tory what happened
0:10:48
creation in progress very nice
0:10:51
too many so yeah that's true and
0:10:54
looks like they're not gonna stop they
0:10:56
have zero plans to stop
0:11:00
i feel like one of the major
0:11:03
they're going to restructure it
0:11:04
a bit at least with the whole
0:11:06
categorization bit because
0:11:09
there's just too much stuff in one
0:11:12
at least that's what i would like to see
0:11:15
uh maybe categorize it a bit
0:11:19
yeah opening one console for just
0:11:21
literally everything
0:11:23
is a bit overwhelming
0:11:26
it's like working in a library
0:11:28
and you want to read all the books here
0:11:31
and it's like all the books are
0:11:33
dependent on each of the other books
0:11:36
one plot of the book is here
0:11:38
and then you have to go three aisles
0:11:39
down and the other plot is in the other
0:11:58
can you uh you can't put some music on
0:12:01
can you i'll have to
0:12:07
it's a chrome extension i have right i
0:12:09
told you to get it as well
0:12:18
okay let me just try
0:12:52
oh that's too low i've really
0:13:00
looks like on packing uni
0:13:03
studying science and math although i
0:13:10
it was more fun more me
0:13:15
okay probably because i wasn't thinking
0:13:17
about the high stakes of messing it up
0:13:26
okay i'm gonna paste the url here
0:13:30
except i can't tell because i'm still in
0:13:42
cool so url is there now
0:13:45
i'm gonna try and do
0:13:58
because the table name is wrong there
0:14:19
afterwards we can put the table name
0:14:21
also as an environment variable
0:14:22
somewhere down the line
0:14:25
yeah i was thinking about that one as
0:14:27
well but i really want to do this um
0:14:31
yeah as soon as possible as in
0:14:39
uh troy littlefield says working
0:14:41
full-time and studying his stuff
0:14:43
so good on you i used to do
0:14:46
three pythons part-time shows back in
0:14:48
the day while studying and i got really
0:14:50
that's totally common
0:14:51
um damn man i don't know how you did
0:15:02
i feel burned out here too
0:15:07
but yeah that's a phase i guess and
0:15:09
everyone should go through it so
0:15:12
um yeah i needed the
0:15:23
i got clicks excited
0:15:30
by the way i wanted to ask
0:15:36
i want some feedback
0:15:39
on it from me or the viewers
0:15:45
i think only objective was dead
0:15:56
yeah for tory it was probably 2 a.m or 3
0:16:05
they'd never be able to tell
0:16:10
what what am i doing
0:16:25
i've got a feeling that
0:16:27
i speak a bit too fast
0:16:30
in these in these kind of scenarios
0:16:35
as in just talking like a parrot
0:16:39
mm-hmm i haven't been taking the kind of
0:16:45
i have never i did not observe that but
0:16:48
if i do next time i'll let you know for
0:16:53
just a random but import important
0:16:56
are you going are you wearing the
0:17:03
that's the question oh yeah look at this
0:17:07
let me show it to you but i can't see
0:17:28
that's why you know we did it on
0:17:35
coming next time dory for sure
0:17:37
i know it must be hard for you though um
0:17:42
i wanna find out the ways as you know
0:17:47
reduce the slack our
0:17:52
house about to say slack a law
0:17:56
as in lag a law i really want some ideas
0:18:00
on that because i'm i'm going to
0:18:02
oh this weekend i'm working so i won't
0:18:07
on what i didn't get done though
0:18:11
experiment on what
0:18:15
reducing the lag from obs
0:18:24
because if we can convert to i mean not
0:18:28
if but when we can convert to
0:18:32
obvious dude it will be a whole new
0:18:36
i'm telling you all right uh do this
0:18:40
that's deployed i'm gonna run i can
0:18:51
well this guy is talking about
0:18:54
just trying to learn the basics are some
0:18:56
cool ways features
0:18:58
nice shirts by the way thank you tori
0:19:01
yeah um are you watching the
0:19:04
uh aws awesome day was it today
0:19:11
yeah i needed some
0:19:17
tune in straight after this stream
0:19:25
nice oh nice story
0:19:29
yeah join for the learning as well
0:19:35
of course of course that's why i
0:19:39
said that i'm gonna join straight up in
0:19:41
this stream because
0:19:45
around nineish the highest priority for
0:20:07
all right let's go
0:20:14
we didn't enable course yet did we no
0:20:17
yes but i need to get rid of these
0:20:23
yeah so it's anyway not gonna work until
0:20:26
um just go ahead and do an enable course
0:20:29
but let's try it anyway
0:20:33
this time however if you play the audio
0:20:36
and just um video on your side and just
0:20:41
what do i need to do and in what order
0:20:44
if that makes sense
0:20:55
show the viewers that audio as well
0:20:59
you can mute it right
0:21:01
um but yeah it's fine i'm yeah okay yeah
0:21:04
that makes sense though
0:21:05
we can probably it's just that we want
0:21:07
to show the viewers as well that's all
0:21:12
can you click on the link and open the
0:21:14
link and see if we are not getting a
0:21:15
resource not found
0:21:19
also why is it posting on prod and not
0:21:28
that's because my urls must be messed up
0:21:39
this is the background
0:21:46
um just add add board in the url go up
0:21:49
go up but i'm not here
0:21:53
just add board in the url on top
0:22:01
well these guys talking on aws
0:22:04
autonomous later you guys are trying to
0:22:08
yeah this the irony of that
0:22:14
let me give us this guy's number we'll
0:22:15
ask him how to do it
0:22:21
like he knows what he's talking about
0:22:33
redeploying works by itself
0:22:44
it's not commented and i need to yeah
0:22:50
this is just no no no this okay i need
0:22:57
sometimes like these things we played
0:23:00
around too much with the coursing
0:23:03
this is one thing i've seen with
0:23:05
the whole course configuration if you
0:23:07
play around too much there's no way to
0:23:08
fix it you have to redeploy
0:23:11
i mean there would be a way to fix it i
0:23:13
just don't know how to do it
0:23:19
okay we wanted to do a guess isn't it
0:23:22
doesn't matter if you put anything there
0:23:35
five six um if i could see four five six
0:23:39
that won't matter um it's the same
0:23:44
the same thing yeah all right cool so
0:23:46
chords is fixed by itself
0:23:50
can you sort everything with the
0:23:51
environment because the
0:23:53
url is still on still front end
0:23:58
actually what i'm gonna do is i'm gonna
0:24:02
and then stop my screen
0:24:05
and then do the entire process again all
0:24:11
did you guys try that this course tools
0:24:16
we probably haven't
0:24:21
i'm trying to google it
0:24:25
tool yeah i'm gonna stop my screen now
0:24:42
url i think it was i don't know where
0:24:46
was it but i think
0:24:48
i don't know if i even saw in my dream
0:24:52
he sent us the course configure oh
0:25:03
one or two two days ago
0:25:06
all right okay there's no way to access
0:25:11
i guess that was just a
0:25:14
oh i think i have the link
0:25:19
all right so i'm gonna start my screen
0:25:35
say you guys feel comfortable doing the
0:25:37
next lightning talk on cause
0:25:41
on one condition if on
0:25:44
the day on the night before our cause is
0:25:58
all right got it though configurator
0:26:04
uh okay so you can test it basically
0:26:47
because i remember you guys saying
0:26:52
a while back that you'd be doing a
0:26:53
tightening talk on
0:26:55
of course but he went and switched to
0:27:01
um we didn't feel like we deserved it
0:27:05
like the timing was just perfect right
0:27:08
it wasn't working that night before
0:27:11
so hence but last night yeah
0:27:15
but i'm not sure if we should do the
0:27:17
next one as well like it'll kind of be
0:27:21
like maybe someone else wants to do it
0:27:27
yeah i think we should really give
0:27:30
others a chance as well
0:27:34
taking all the vouchers ourselves
0:27:39
i haven't ever used the voucher
0:27:44
i just have two messages from victor
0:27:46
or three that's all
0:27:54
yeah he's an amazing guy to be honest
0:27:57
yeah i have a lot of respect for him too
0:28:02
i remember he did a
0:28:06
portfolio exactly one year ago
0:28:11
that's pretty cool
0:28:14
okay i'm just just going to do this now
0:28:18
let someone else do the course talk
0:28:23
maybe the guy you're learning uh
0:28:26
satellite and wavelength stuff he can do
0:28:42
this one goes in there
0:28:45
this is my backhand
0:28:48
i need the front hand
0:28:59
okay this is my url here
0:29:27
no yeah i still have to change the db
0:29:50
that's what here db name is there
0:30:30
that's a long deployment there
0:30:34
oh um and no changes to deploy why not
0:30:38
yeah you didn't make any changes you're
0:30:45
why didn't i delete the stack in the
0:30:49
oh you just need to play
0:30:53
yeah i just redeployed it
0:30:56
i'm thinking in my head that i can't
0:30:58
i've deleted the stack and
0:31:01
now i need to do this and then i do i
0:31:07
and in its own world today
0:31:13
you know i started learning to code
0:31:16
like 14 months ago and whatever i
0:31:19
i'd be able to build
0:31:22
uh or whatever would i be able to build
0:31:24
this will eventually
0:31:30
why do you think that
0:31:33
i mean if you really think that
0:31:36
you can master two things one front-end
0:31:38
framework and one back-end framework
0:31:42
pretty much build anything
0:31:47
i don't think it's as in
0:31:50
mastering just one thing a thing is just
0:31:58
having solid foundation
0:32:03
building breaking and fixing him that's
0:32:08
in general i just want to point out that
0:32:10
like if you can be good at some things
0:32:13
like you don't need to do know
0:32:14
everything you can get yeah
0:32:17
but let's say if you get really really
0:32:19
good and react and if you get really
0:32:26
um you can go ahead and build any sort
0:32:33
it might just take uh six months or one
0:32:37
um yeah i mean things like code play
0:32:39
plan and stories mentioning these can be
0:32:45
but i don't think that's the core
0:32:48
of what's gonna stop you from building
0:32:54
like if you just want right now you can
0:32:59
thing right now of your own
0:33:02
um it's just learning that
0:33:04
front back end which you know exactly
0:33:09
and that basically
0:33:11
comes by using just
0:33:19
so all the path the process the learning
0:33:22
curve is what they call it
0:33:29
we need to get this on today
0:33:36
are you talking about
0:33:38
internet security story or like
0:34:07
i asked you three but okay um
0:34:11
i guess if you're worrying about
0:34:12
security that those should be
0:34:14
your least concerns when you're building
0:34:18
i mean there are 100 different ways to
0:34:21
what we are building
0:34:23
we just have covered one percent of the
0:34:25
scenarios to break it
0:34:30
when you actually build something
0:34:33
i read this code that if you're not
0:34:34
ashamed of your first prototype
0:34:37
you're doing something wrong so
0:34:39
uh she just reminded me about my first
0:34:43
hello world program in
0:34:47
so i'm glad to say that i'm ashamed of
0:34:49
what we're doing right now then
0:34:52
i am more than ashamed of passing i feel
0:35:08
okay so that's done and now i just have
0:35:41
yeah that's all to be honest
0:35:44
cool let's try that
0:35:48
um okay i'm gonna come back and share
0:35:59
where is my ps code
0:36:02
actually vs code should be right at the
0:36:04
top here because i always need it
0:36:09
um i don't think oh yeah it can go there
0:36:14
okay cool so i'm not gonna do jetboards
0:36:18
i'm gonna do post board now
0:36:25
come on baby work for me
0:36:44
one second this is not a course error
0:36:49
every name no i i've forgotten
0:36:59
get oh here we go perfect
0:37:06
this i'm kind of curious how do we hide
0:37:10
a url from the console
0:37:14
let me see url from the console
0:37:19
which you are from the console
0:37:21
um you know how it sometimes comes in
0:37:25
console of the browser
0:37:28
if there's an error only
0:37:33
yeah which it can't be released if
0:37:36
there's an error so people won't ever
0:37:38
get to see the url isn't it
0:37:41
no so during on the stream like this
0:37:45
if we do something and there's an error
0:37:47
which is highly uh
0:37:53
i don't think we should um
0:37:57
divert to that one
0:37:59
yeah yeah no right now i think there is
0:38:01
a film expansion in which
0:38:03
you can extract only
0:38:13
i'm gonna have to research about that
0:38:17
and then pro i think that would be a
0:38:20
to have as well yeah
0:38:24
post board is working
0:38:28
can you see my video properly
0:38:31
uh we do your video properly okay
0:38:34
yeah that's all video
0:38:37
no all good oh that's fine
0:38:45
else was it i'm gonna do jet boards now
0:38:54
you go i don't need you
0:39:06
okay i mean yeah let's just test this
0:39:07
one and um the rest would work don't
0:39:16
so these are all working
0:39:20
let me know what tori says well i want
0:39:22
to build a full sucker that i could
0:39:24
throw up for public consumption but i
0:39:26
don't know how to i don't know enough
0:39:29
yet to keep it secure
0:39:33
so that part is holding me back
0:39:37
i guess this thing comes in when
0:39:40
um so i attended this
0:39:46
uh incubator in april
0:39:48
and that was one of the things which
0:39:50
someone brought up that
0:39:52
i am able to build it but this thing
0:39:55
just keeps daunting me
0:39:57
and i remember this guy and nathan
0:40:02
um he's like a very very popular start i
0:40:06
um just booster in the us and he said
0:40:08
that you're not going to get
0:40:11
a thousand or a million customers in the
0:40:16
no matter how good it is no matter even
0:40:23
so worrying about these things should be
0:40:26
on the back of your mind but
0:40:27
shouldn't really stop you but it's just
0:40:29
a fact even if you do something now
0:40:31
you're only going to get let's say 100
0:40:37
three months or six months
0:40:40
so basically his point was to
0:40:49
um also money um i guess a lot of people
0:40:55
spend like four hours after work every
0:40:59
their stuff you know someone who's doing
0:41:04
yeah i mean that's the thing right they
0:41:07
start slowly and then they convert the
0:41:09
side hustle to their main hustle exactly
0:41:12
and that's what entrepreneurs do as well
0:41:15
yeah and then you can look for like
0:41:17
part-time work as well
0:41:23
oh man they're simply within this
0:41:27
i've oh my goodness
0:41:30
because i've been studying so much aws
0:41:33
i'm watching front end
0:41:35
masters have fun during my friends
0:41:42
it'll bless nightmare soon yeah i got
0:41:44
you i mean i'll be able to focus a bit
0:41:47
now so the next part is
0:41:52
so get bored id is done
0:41:58
so consuming all these would work now
0:42:01
yeah these are already tested and
0:42:03
they're independent oh
0:42:09
um okay so now what we need to do is
0:42:13
basically post note
0:42:19
what we need to do
0:42:24
make sure that the front end as in when
0:42:28
we actually see the board
0:42:31
all the text and everything
0:42:33
when it comes is is actually
0:42:42
what kind of text um is it
0:42:50
all right um see i feel like we should
0:42:52
start with the board name first to
0:42:54
appear in the next page
0:42:56
rather than directly jumping to your
0:43:00
i thought that was working already
0:43:04
um um i don't know if
0:43:07
yeah if it is then yeah then we can work
0:43:12
let's just test that one
0:43:20
if you do this and
0:43:31
i want to publish a shopify app but it
0:43:33
has to go through review
0:43:35
i'm not sure what kind of review it is
0:43:42
private app is fine with public
0:43:45
it's oh it's already published
0:43:47
to show oh okay oh i got what you mean
0:43:52
i used to do a bit of shopify
0:43:57
and i know for a fact that shopify
0:44:01
moderate everything which comes through
0:44:07
yeah that then it can be a bit tricky
0:44:11
all for the public apps yeah then
0:44:25
okay so cd client um
0:44:29
let's test this now if it
0:44:53
okay i know what's happening here yeah
0:44:57
these are two different word ids
0:45:02
can you go back to console
0:45:05
why do we have two different word ids
0:45:18
it should just come on top of the first
0:45:25
elaborate the second board id
0:45:32
so the first version is the type
0:45:38
okay how to refresh and do it again
0:45:44
i will do five now okay
0:45:50
it let's do one do one that's fine
0:46:03
go back to the code
0:46:10
oh you have to uncomment one more thing
0:46:38
this is the first one
0:46:58
coming back to mine now
0:47:15
yeah so that's what i'm saying that we
0:47:19
making the z6 appear somewhere here
0:47:22
rather than to the north yeah
0:47:33
yeah and in the actual app
0:47:38
hovering at the moment okay cool yeah
0:47:41
yeah that would be the
0:47:46
good for pointing that out
0:47:49
i'll just create ticket for that
0:47:53
oh i'd love to maybe next year when i
0:48:03
toys have the event offline
0:48:10
i think it's pranking i don't think we
0:48:12
went to offense so because
0:48:15
there are two kicks and
0:48:25
actually he might be right as well
0:48:30
suddenly got zero viewers
0:48:38
yeah okay no no it's fine because i can
0:48:40
see it on my phone
0:48:42
but thanks for playing it out toy
0:48:48
um post board name
0:48:52
so as soon as this
0:48:55
we're sending it there
0:48:59
and then on the index.html
0:49:08
i don't like these
0:49:11
we just reloaded for some reason
0:49:17
we still have our five units
0:49:34
yes see i'm improving on my jokes now
0:49:39
i feel sorry for your partner
0:50:01
okay so we need to
0:50:29
i don't need scrambler to appear there
0:50:34
yeah forget about scrambler pairing
0:50:37
this is a demo report to make a problem
0:50:49
okay h one scrambler
0:50:52
huh so what you're gonna do is uh
0:50:56
you're gonna go ahead and do get bored
0:51:03
we wanna paste it in h1
0:51:13
you got badges and points for watching
0:51:15
actually that's a pretty good idea
0:51:20
go in and see how we can do
0:51:24
twitch badges i'm pretty sure there is a
0:51:33
but um then so the next thing you need
0:51:37
you need to do get bored by id and in
0:51:40
you need to put the board id
0:51:46
just thinking how to accomplish that now
0:52:07
i'm gonna actually change this one one
0:52:10
change this too um
0:52:13
on the feature first and we can do the
0:52:16
refactoring afterwards
0:52:22
port id so we got the board here book
0:52:31
and then we go to that one
0:52:34
and then he trips that
0:52:38
and then what we do is we need to get
0:52:43
you don't need to do line number 142
0:52:45
what it's gonna do is that it's gonna
0:52:47
reload the whole page which we don't
0:52:54
so if we get how do so
0:52:57
i thought this was doing as in
0:53:03
from the home html to
0:53:08
name that we have entered in the text
0:53:11
box yes that's already been done by post
0:53:15
you don't want to do it with get bored
0:53:32
okay so i think you we're both talking
0:53:35
about two different things
0:53:37
you you're talking about posting a board
0:53:40
and then when he opens up in
0:53:43
index.html then the board name appears
0:53:48
i'm talking about the whole workflow
0:53:57
fetch function should have these
0:54:01
because you can call post board from
0:54:03
somewhere else as well or you can call
0:54:05
get board id from somewhere else you
0:54:08
don't want to load a page every time you
0:54:18
so every time you want to call get a
0:54:20
board by do you want to open index.html
0:54:23
again that's literally what this is
0:54:26
like every time you call the get bored
0:54:30
it's going to reload the page
0:54:32
is in the workflow should be as in when
0:54:35
the user goes into home.html
0:54:40
types in his board name
0:54:44
the uh the app brings it to
0:54:57
you're not calling get bored by id there
0:54:59
you don't have the id
0:55:04
uh so the scenario that i'm talking
0:55:10
say for example you have
0:55:12
you you already have a board which is
0:55:18
in the database all right
0:55:25
your board back again
0:55:27
and you want to make some more changes
0:55:30
to the existing one so
0:55:53
and then it will get your board and all
0:55:59
move you to index.html
0:56:02
i'm talking about that scenario at the
0:56:03
moment i'll correct you there it'll
0:56:05
first move you to index.html
0:56:08
and then get words
0:56:10
and notes not on home.html
0:56:14
so this page loading should appear first
0:56:17
not inside these functions
0:56:21
that's the basic rule of writing
0:56:23
independent calls yeah
0:56:26
right so the aim is to
0:56:30
load the html page first
0:56:34
index.html and then do the
0:56:39
yeah but this won't go for post because
0:56:43
you want the thing to appear on the
0:56:45
database first and then you want to move
0:56:52
which thing to appear on the
0:56:55
so for the post you want the board to
0:56:58
appear first on the database get the
0:57:02
and then move to the next page
0:57:06
so it's a different story for post and
0:57:09
different stories yeah yeah
0:57:11
yeah okay cool so we wanna focus on post
0:57:18
um no i think post is already working
0:57:21
you wanna focus on get now to get the
0:57:24
board name displayed that was the
0:57:28
so the scenario i'm talking about now
0:57:36
a post here so you
0:57:45
say i'm i'm creating a brand new board
0:58:06
found one interesting thing that
0:58:08
this will only work
0:58:18
okay so if you've already created a
0:58:22
board called z8 okay
0:58:25
yeah and we on this page now
0:58:29
shouldn't our z8 board
0:58:36
so that's the exact scenario which i'm
0:58:38
talking about right that you have to do
0:58:43
to get it appearing here
0:58:56
so that means that you're
0:59:02
requests as in two functions
0:59:06
no no no no i got you now okay ignore me
0:59:16
um so get bored by id
0:59:18
so we already have the board id that we
0:59:26
remove one line number 142 as well
0:59:36
we have the board id here which is
0:59:40
let's just get it from there
0:59:47
five save this one
0:59:52
um no don't do that don't do that
0:59:58
post board returns a board id
1:00:02
take that board id and do it
1:00:04
there's a global variable if i remember
1:00:08
current board id or something
1:00:10
go to the top absolute
1:00:14
um there was a yeah middleware board id
1:00:16
the first line of this whole code
1:00:22
board id which you receive from post to
1:00:25
this middleware board id
1:00:29
so this was post board
1:00:38
text i think it would be
1:00:40
right no in line number of 64.
1:00:45
just replace response value
1:00:51
response value with
1:01:16
don't console.log it down to an error
1:01:25
yeah cool now call your
1:01:28
get bored by id from middleware board id
1:01:32
it's a global variable
1:01:45
middleweight board id
1:01:49
call okay go to index.html
1:01:55
tell me where you have to write this
1:02:00
i need to unlock yeah board name
1:02:04
yeah okay delete all of this first
1:02:10
then how do we call the function again
1:02:12
oh yeah you can just write the function
1:02:14
name right just do get bored
1:02:18
can you just write the function name i
1:02:20
um in html i don't think so
1:02:36
must be really simple
1:02:38
yeah it is pretty simple
1:02:40
oh actually you can turns out i just
1:02:43
have to write script
1:02:52
yeah so just write a script tag
1:03:16
um inside right get bored
1:03:31
check the naming first
1:03:33
let me be careful name
1:03:37
keyboard body yeah yep and pass
1:03:46
middleware board id on it
1:03:49
uh i don't know what it's called again i
1:03:55
you won't really do that we probably
1:03:58
have to do board name
1:04:00
no no no we haven't yeah we aren't done
1:04:04
at the end write dot board name please
1:04:09
closing of the parenthesis
1:04:15
yeah dot board name
1:04:24
i don't feel this won't work though
1:04:29
isn't supposed to work like this but
1:04:31
let's give it a try
1:04:41
yeah give it a try that's fine
1:04:46
this won't work because ours isn't
1:04:48
returning anything it's just consoled or
1:04:52
but it's fine even if it's getting cold
1:04:56
why are you guys doing a script tag uh
1:04:58
we just want to see if it's being called
1:05:12
response code is not defined
1:05:18
all right let it come back to tomorrow
1:05:26
tori says you're abusing it yeah
1:05:30
sorry we are actually
1:05:34
forgot how front end works so
1:05:39
all right i'm going to push my best to
1:05:43
yeah thanks again thanks for
1:05:47
yeah i'll write that in disclaimer sorry
1:05:53
yeah but yeah i'll come back tomorrow i
1:05:56
everything set up for the front end to
1:06:01
yeah come back tomorrow to see more of
1:06:05
this is know how you write javascript on
1:06:08
the front end then how do we write
1:06:10
javascript on the front end
1:06:26
sounds pretty good
1:06:28
uh thanks a lot guys for
1:06:30
uh tuning in appreciate you guys and um
1:06:36
let's keep on all we
1:06:38
worked on the cause issue which seemed
1:06:42
that we all we had to do is just deploy
1:06:45
it from scratch by
1:06:48
releasing our existing stack
1:06:50
and that media will work um
1:06:56
yeah see you guys tomorrow we'll be
1:07:01
from here making the board name appear
1:07:10
yeah if you go time join us joining
1:07:13
tomorrow's same place
1:07:23
how are you adventurous
1:07:25
right cheers guys have a good night