0:00:24
what is going on guys welcome back to
0:00:26
another session of build break and fix
0:00:31
yes you guessed it the raw coders
0:00:37
hey can i take care of you mate you're
0:00:40
pretty good how are you
0:00:42
i'm very good thanks
0:00:46
just to give you a bit of a recap um
0:00:51
today we brought an end um to the back
0:00:59
uh there was one or i would say one or
0:01:02
two scenarios left but i don't
0:01:07
we don't want to keep the whole project
0:01:11
on hold just because of that scenario so
0:01:14
we've actually decided that we
0:01:17
will be moving on to
0:01:20
the front end today
0:01:23
which will be really
0:01:27
what do you have to just to say
0:01:35
yeah i made it myself on purpose
0:01:37
nah that sounds uh that sounds pretty
0:01:43
get a hand off the other technologies
0:01:46
things which you're not comfortable with
0:01:48
just doing that stuff um that's pretty
0:01:51
um yes i mean like no one wants to just
0:01:55
be a back and dev at this point yeah no
0:01:57
exclusively just hiring backend devs
0:02:01
even though you want to be a t-shirt
0:02:02
developer you still want to know
0:02:06
software development life cycle
0:02:08
be it front end back end testing um you
0:02:13
people are looking for
0:02:14
everything but yeah surely specializing
0:02:17
in back-end is something useful but
0:02:21
all these things um
0:02:23
is really going to be handy in the
0:02:26
exactly and i totally agree with you
0:02:30
uh i think a good developer or a
0:02:37
familiar with all the uh live cycle the
0:02:41
front end backhand testing
0:02:45
and everything so it's really important
0:02:47
to if if you are a a
0:02:51
if you if you want to have your
0:02:56
concrete start off with
0:02:59
being an all rounder which
0:03:02
would be kind of full stack and then as
0:03:05
go along um you can
0:03:08
observe where your increase lies the
0:03:10
most is in backhand or in the front end
0:03:14
in that way you can
0:03:17
narrowed down your specialization as
0:03:27
i'm just thinking how do we
0:03:33
currently our front-end is made up of
0:03:36
html css and javascript
0:03:44
i think the quickest way would be to
0:03:56
from there because
0:04:03
list or something written down of what
0:04:05
we are implementing
0:04:07
then only we should kind of start with
0:04:09
something new right if only we know what
0:04:12
we are trying to achieve
0:04:15
yeah so it's not documented at the
0:04:17
moment uh i'm still talking on that list
0:04:20
as we discussed before
0:04:26
i think the starting point would be
0:04:33
put the overall purpose of the front end
0:04:45
notes and the text of the notes are
0:04:53
it will first talk to the fetch so that
0:04:57
would require some
0:05:01
changes i would assume
0:05:13
right i'm just getting we can try go
0:05:15
ahead and try building the front end
0:05:18
let's see what we get
0:05:20
and then before even we start
0:05:23
list down every small little component
0:05:28
yes that's the plan at least
0:05:31
to a particular feature
0:05:36
um just make sure that there's no other
0:05:38
integration left with the middleware or
0:05:42
thing then we can just go ahead and keep
0:05:44
smashing the tickets i mean that this is
0:05:46
how i like to approach a new
0:05:50
problem in general
0:05:51
yeah so if you want to take it in that
0:05:57
okay so there are two approaches here
0:06:00
um there are still few things
0:06:04
to be done in the back end
0:06:08
but i don't want to hold the entire
0:06:10
project just just for that one while i
0:06:13
was thinking that we can work on the
0:06:16
few things that we have in our own time
0:06:22
yeah back in thing is just the
0:06:24
it's it's gonna work anyway
0:06:29
when i say that um
0:06:32
things i don't mean
0:06:34
specifically only the validation
0:06:37
because there's some code refracting to
0:06:42
yeah i mean that's the place where a
0:06:45
concept called sesame slicing comes in
0:06:50
have you heard about this ever
0:06:54
it's my first time let me show you
0:06:57
this is a scrum method as well
0:06:59
it's actually pretty famous
0:07:00
um okay interesting
0:07:04
do you know about that
0:07:16
yeah so we actually made a whole report
0:07:18
about speed slicing
0:07:24
it sounds like something with salmon and
0:07:29
but what it basically means is that you
0:07:32
work in a agile way of that sort that
0:07:35
you go ahead and release small bits of
0:07:40
none of your other components um fall
0:07:47
so basically you kind of
0:07:56
right yeah yeah yeah it's a pretty big
0:07:59
concert i i don't think i'm the best
0:08:01
person to explain it but i'll send you a
0:08:04
link i would encourage you go ahead and
0:08:06
yeah definitely do that because i know
0:08:09
about this concept already but i didn't
0:08:12
know that that's as in the official name
0:08:21
one thing which we should have done
0:08:25
we could have done or we could still do
0:08:29
if we use this model the sash me slicing
0:08:34
we shouldn't have worked on the
0:08:39
so the way it works is that
0:08:42
if the vacant is ready on its
0:08:44
minimalistic level it's nothing to do
0:08:47
with the mvp and stuff you might
0:08:48
configure mvp okay then the front end
0:08:53
should have integrated everything which
0:08:55
has been working till now rather than
0:08:58
um us going ahead and doing the
0:09:00
validation so that's that's how if you
0:09:02
took the sashimi approach then it would
0:09:04
have been done right these are the
0:09:07
scrum or agile methods right if we were
0:09:09
using waterfall then we might be testing
0:09:12
right now everything again
0:09:14
yeah yeah true it just depends
0:09:18
that makes sense to be honest
0:09:21
um so i'm just um i'll share my screen
0:09:26
share with you what exactly is
0:09:34
and those are just really minor things i
0:09:40
did we not resolve validation error in
0:09:44
i think we resolved that
0:09:47
okay so we resolved once scenario but
0:09:50
then the other scenarios stopped working
0:09:53
no the post node remember the table
0:09:55
wasn't increased that one
0:09:58
also that's still not working
0:10:03
you said that it's
0:10:08
inserting the notes with empty string as
0:10:16
but that's a validation error right but
0:10:18
that particular ticket works if you go
0:10:21
down on the backlog
0:10:26
so this validation error
0:10:29
in posting note is this the one which
0:10:34
getting um like getting the wrong thing
0:10:41
or is he holding this um
0:10:44
this doesn't work but let me it's good
0:10:47
you pointed it out just want to confirm
0:10:51
because it's not right in the top of my
0:10:57
because i'm pretty sure that when i fix
0:11:01
validation as in when you pull
0:11:03
just a space in the single notes then
0:11:08
that i fixed that one but then the
0:11:12
normal string stops working
0:11:16
i just want to point out that the
0:11:17
tickets should be unique
0:11:22
that one ticket should only point out to
0:11:24
one thing rather than
0:11:26
like one ticket should only be pointing
0:11:28
post node is not working the other
0:11:30
should be pointing out to
0:11:32
validation of this is not working okay
0:11:34
keep that in mind in the future
0:11:39
uh now go go to the other one go to the
0:11:45
go to the other request
0:11:53
don't do it here yeah
0:11:57
see if i just get this one
0:12:01
it was the same one i guess yeah
0:12:14
yeah but because i fixed
0:12:16
this one this doesn't work now
0:12:21
that works yes what
0:12:27
let me just test the board as well
0:12:30
we didn't fix the board that i remember
0:12:33
ah so we fixed the note
0:12:40
was still there right right right yeah
0:12:43
yeah that makes sense
0:12:50
hydrated and ready to hack
0:12:59
all right like i said that
0:13:02
uh i'll work on this backhand thing in
0:13:08
because i don't want to
0:13:10
make this backhand take
0:13:14
so he gets asking me where is my neon
0:13:17
sign you don't want to know what it is
0:13:21
it fell down kicked off it's still
0:13:23
sitting down there
0:13:26
see if i can turn it on
0:13:28
no no but i just need a stronger
0:13:30
adhesive i'm just gonna complete this
0:13:34
but that's working
0:13:36
that doesn't screw up
0:13:45
um so we wanted to
0:13:57
like kind of refactoring things
0:14:08
okay so how i'm thinking that
0:14:11
we should approach the front end is
0:14:13
first of all make sure that
0:14:15
whatever's done until now they actually
0:14:18
build and we can interact with it
0:14:28
once it's on that point then we can come
0:14:39
we can come back and fill up um
0:14:42
the board as in what
0:14:45
needs to be done in the back uh in the
0:14:55
um i don't know how
0:14:59
oh it's a totally different repository
0:15:03
oh yeah this one yeah it's this one
0:15:06
yeah it's this one
0:15:15
how did you go tori did you did you pass
0:15:24
okay this is that one
0:15:29
that's pretty good this is like 10
0:15:37
oh i remember i got i got like
0:15:47
which i took like two days before the
0:15:51
i'm pretty sure i got a pretty decent
0:15:53
score in the actual one
0:16:00
demotivate you or something but i feel
0:16:02
even the actual ones and the practice
0:16:05
ones are pretty close
0:16:07
like people might think that the actual
0:16:09
answer might be easier
0:16:12
based on my experience um the practice
0:16:17
once a bit harder oh really all right
0:16:20
okay um yeah for me
0:16:23
i i found even the exam hard
0:16:29
yeah i mean it's it's
0:16:31
different for everyone isn't it yeah
0:16:34
that's true i just need 72 that's all i
0:16:38
yeah don't worry about it too much
0:16:42
if you do revisit revision a lot more
0:16:45
that helps more than actually
0:16:47
going through new content
0:16:50
that's all i did after the practice exam
0:16:52
for like three days
0:16:54
and i'm pretty sure i got
0:16:55
like something like ninety percent so
0:16:58
it's pretty happy with that
0:17:00
let's just call it that
0:17:05
okay do you remember uh
0:17:09
the last time that we worked on
0:17:11
middleweight was it the middleware
0:17:13
implementation branches to see all the
0:17:43
yeah this is the right one
0:17:47
this doesn't have the node
0:17:48
functionalities so that's probably not
0:17:52
no i can tell you the branch i can tell
0:17:57
my default branch locally right now
0:18:03
from what i can remember it might be in
0:18:05
the middleware implementation
0:18:11
right yeah or click on view all branches
0:18:14
because remember we did something like
0:18:15
stable as well in the middleware
0:18:22
yeah i'll just tell you give me one
0:18:26
update five days ago updates five days
0:18:30
yeah it was stable middleware at least
0:18:47
13 days ago click on all branches that's
0:18:52
and then search for
0:18:54
top okay all right all branches
0:18:58
on the right zoom print
0:19:01
right yeah and then search for
0:19:10
that's interesting um
0:19:12
i might go for the dev branch
0:19:18
no no no no i might go
0:19:23
but where was it merged to
0:19:36
i just started learning so i think it
0:19:38
got pretty lucky guessing on the same
0:19:41
because they're pretty specific
0:19:42
sometimes yes they are
0:19:44
probably should have got it
0:19:48
associated higher than essay because
0:19:51
that's all i care about
0:19:55
the host of the show i'm not dating
0:19:58
low power actually i
0:20:00
can't wait to see you guys right some
0:20:04
oh there we go your dad has told me i'm
0:20:07
probably gonna give my essay soon
0:20:10
i think it must have been
0:20:16
um i remember the code if you can show
0:20:18
me the code i can tell you how the
0:20:24
because in the latest
0:20:37
uh add fake api to
0:20:42
two months six months
0:20:44
update the middleware
0:20:48
okay so this was the
0:20:50
last update on the middleware
0:21:00
that's fine what i can do is i can just
0:21:03
push the local branch i have
0:21:05
um if that's not working out
0:21:11
or you do you think you can figure it
0:21:14
i mean it should be
0:21:20
thinking that might take
0:21:24
kind of a different approach here
0:21:26
because these are active branches these
0:21:29
are ghosts i don't even know what these
0:21:34
uh i need to work on the in getting rid
0:21:37
of all the branches that are not being
0:21:44
yeah dory this is the front and only
0:21:55
okay that's fine vegan figure github
0:21:57
stuff out on sunday the github is for
0:22:00
let me just push the local branch i have
0:22:04
and then we can just start work seeing
0:22:08
okay yeah is that okay
0:22:18
oh why don't we have a getting oh we do
0:22:20
have a good ignore
0:23:00
what did you do yes
0:23:02
um look at the stable middleware branch
0:23:09
okay i'll just get
0:23:11
yeah just pull this one
0:23:18
the only interesting thing is that
0:23:20
this branch is ahead of 27 comments
0:23:23
but dev has 35 comments
0:23:28
i don't know how that's going to hold up
0:23:31
and that's that's foreign
0:23:46
not on that branch at the moment
0:23:58
to get the stable middleware branch you
0:24:14
that episode is on sunday
0:24:17
about merge conflicts
0:24:58
okay can you do one thing
0:25:05
can we do one small little thing
0:25:10
don't worry about the url right now so
0:25:13
what we can do is we can just make
0:25:15
another js file right now
0:25:17
and there we can specify the url
0:25:21
and then we can just import.js file and
0:25:23
just write let url equal to
0:25:26
whatever it's named in that file
0:25:29
just for now until we figure out envs
0:25:35
yeah that's fine but um first of all
0:25:38
trying to figure out
0:25:40
as in what until well
0:25:43
everything's done in the mirror
0:25:48
let's just do that oops
0:25:54
um yeah just to hide the
0:25:57
url for streaming that's all is it not
0:26:01
published or something
0:26:04
um yeah i'll figure out in these i think
0:26:08
um my workplace uses it so i kind of get
0:26:14
okay cool no problem
0:26:18
what i'm gonna do is i'm gonna
0:26:25
i'm gonna stop sharing my screen
0:26:29
put the url there and import it and see
0:26:56
replace that one by
0:27:14
that's how we have done it
0:27:27
need to do is import this file into
0:27:35
yeah before you do it
0:27:37
write something along the lines of
0:27:42
right wait let me show it to you let me
0:27:44
i'm sending you a private text
0:28:05
you know what it means right
0:28:09
all right so do that
0:28:13
do they run in there
0:28:23
no one created that for
0:28:26
okay so now i need to oh
0:28:31
how do i update this elements library
0:28:35
env to our middleware now
0:28:38
yes okay did you create the file did you
0:28:42
uh no no no no i'm still importing into
0:28:52
middleweight js yeah but i don't know
0:28:55
how how exactly to do that i'm just
0:28:57
keeping it in the same folder that's all
0:29:02
don't we have to reference it and yeah
0:29:05
so we refer it as env dot url that's all
0:29:13
that's that's a new way that i'm
0:29:17
well you can know env
0:29:29
if we just give env url how will it know
0:29:34
that he needs to go to environment json
0:29:37
you can write something along those
0:29:45
you know this is a simple one
0:29:47
yeah i forgot about this completely yeah
0:29:55
imports environment
0:30:02
import still need to send it to me on
0:30:04
slack oh wait okay
0:30:11
i'm trying to send the url
0:30:20
api i've seen this i've seen something
0:30:24
better than this i
0:30:26
don't think i can find it
0:30:28
let me try finding it
0:30:32
the most hilarious and most informative
0:30:35
thing i saw you know
0:30:56
okay and point is that one so now we
0:31:02
url with endpoints
0:31:27
look at this one um
0:31:33
this is basically just all the http
0:31:35
status code explained
0:31:38
i was looking at it was like
0:31:40
yeah that's so true
0:31:46
i'll probably have to
0:31:55
shout out to jeffco
0:32:08
yeah i think makeup is actually where um
0:32:18
and that was just the best feeling as in
0:32:23
i would say if you if you're just
0:32:26
if someone is just starting out just
0:32:30
really get mental because
0:32:34
the experience that they share with you
0:32:37
you can't replace that with anything at
0:32:41
yeah really helpful
0:32:46
good point okay i think this is done
0:32:54
am i not do i need to install the http
0:32:58
i don't think that sorry
0:33:03
see decline python
0:33:11
um jacob's mentioning about some
0:33:16
outstanding vr so let me have a look
0:33:19
oh um i forgot to share my screen
0:33:22
yeah come to your screen though
0:33:28
can you go on the top and
0:33:35
i think a spells environment wrong
0:33:40
just had a look at and i'm like what was
0:33:46
of the imports oh even in line number
0:33:50
fine i think it fixed itself
0:33:55
okay what a middleware board id
0:33:59
why do we have this if you don't name it
0:34:01
api endpoint then we'll have to change
0:34:05
please name it url
0:34:07
we'll go ahead and report everything
0:34:14
just go to line number one and name it
0:34:16
renamed everywhere
0:34:25
i forgot to change
0:34:29
um it's called confusion but yeah
0:34:34
i'll go ahead and grab it
0:34:45
and now you can submit prs for this
0:34:48
yeah that's all um
0:34:50
open sources of auditory
0:34:55
what's spamming for night
0:34:59
less points don't don't
0:35:04
okay so now i'm gonna go to home door
0:35:09
you know using this box
0:35:15
okay so this is coming up
0:35:20
harmony and i can't use them i think you
0:35:29
can anyone else hear them oh is it just
0:35:40
can you guys hear zen
0:35:46
this is interesting
0:35:53
okay there story can you hear that
0:36:10
testing yes yeah okay
0:36:13
yeah yeah yeah cool
0:36:19
um can you possibly keep an eye on
0:36:21
postman and save the boards um if i
0:36:25
a ball will it come there
0:36:40
yeah okay give me one sec
0:36:44
did you post something yet
0:36:46
not yet i'm waiting for you
0:36:49
i'm just confirming the
0:36:51
end point is the h
0:36:57
i don't think so is that one what did it
0:37:00
change again that's all good just saying
0:37:04
all right i'm gonna have to stop my
0:37:16
have you got that one no no
0:37:27
okay that's called it
0:37:30
um i hope you did change the table name
0:37:35
did i change the table name
0:37:38
i can't remember and if i do
0:37:44
yeah fair enough um that should be fine
0:37:47
oh let me just get do a get and see if
0:37:50
everything's working here
0:37:52
oh let me just save that one
0:38:09
open console that's all right
0:38:13
a few minutes i can't see your screen
0:38:16
i will share everything with you just
0:38:20
give me five seconds
0:38:26
your math is really bad okay math
0:38:30
did you even go to school man come on no
0:38:32
i didn't how did you know
0:38:41
i think go to juniors as well then
0:38:45
maybe you didn't give your solution
0:38:51
line to the entire entire world probably
0:39:01
okay that's already started
0:39:09
cool outside module
0:39:11
unquote syntax error ah can i use impost
0:39:15
7 outside the module
0:39:19
are they not in the same module
0:39:28
that how it's supposed to work
0:39:30
i don't know but let's find out
0:39:37
of course i just cannot use
0:39:53
how about now will it work
0:40:02
that's how we're supposed to import well
0:40:05
let's let's give it a try um
0:40:09
maybe this opens that girl and see
0:40:34
i need to create a function apparently
0:40:44
why can't you just
0:40:50
i mean this has like five thousand
0:40:52
uploads it's probably right yes
0:41:03
facebook watches one right there
0:41:07
using package store just then in modules
0:41:16
right i need to call it in this way
0:41:22
maybe so i should stop shaping my screen
0:41:26
and code that one in there hey converse
0:41:37
always again export
0:41:40
function hello function
0:42:19
and then i need to
0:42:27
and what comes in i just return
0:42:43
i mean yeah you can just call the
0:42:44
function as well that's true
0:42:49
now what i need to do is i need to
0:42:58
import that one goes in there
0:43:16
value is hello right okay
0:43:20
so i need to do api do it that can name
0:43:29
oh man get if he's just fixing up the
0:43:32
um in v file so that
0:43:35
the function returns
0:43:52
yeah it's an energy file
0:43:56
and we got spammed by the endpoint
0:44:00
not sure how we feel about that
0:44:04
and this is how we react
0:44:10
oh remember i asked my employer to get
0:44:16
oh fantastic yeah how do you feel
0:44:20
it's like normal email it's just that's
0:44:24
that's all so you don't have any
0:44:28
i mean i can just register i normally do
0:44:32
essay vouchers so i'm excited for that
0:44:35
yeah ah yeah that's basically what i was
0:44:38
talking about yeah
0:44:40
or i'm gonna come back and share my
0:44:51
euros that one perfect hide this
0:44:55
uh why are you going away
0:44:58
all right let's see if we get the same
0:45:14
same thing cannot use
0:45:17
import statement outside a module
0:45:24
if it didn't go wrong then
0:45:28
that's not the case
0:45:33
let's just go with
0:45:34
this and see what ray comes up with
0:45:41
here's my code type module
0:45:47
so he did exactly as apparently i did it
0:45:57
i got this here because i forgot to add
0:46:01
oh so it's not supposed to be done in
0:46:09
what if it's supposed to be done in html
0:46:13
no looking at that i got this here
0:46:15
because i forgot to do inside the script
0:46:21
so that means that we need to import the
0:46:26
file in the home door html is it
0:46:33
all right let's try that as well
0:46:41
uh middleweight don't do yes
0:46:50
uh this should be environment
0:46:57
if i get rid of this one
0:47:05
this isn't supposed to work
0:47:13
keep that there um
0:47:16
maybe let's just try it um
0:47:27
and just make sure i save them
0:47:43
of course it's not defined
0:47:51
yeah this is not defined here
0:48:13
we need to import one
0:48:18
js file into another i'm pretty sure
0:48:21
that's how it's supposed to do it
0:48:28
ah come on not yet
0:48:31
oh yeah go away i'm busy
0:48:44
in another just file
0:49:04
use that explain import statement
0:49:17
in the other file we need to
0:49:23
the function as well
0:49:27
i'm just gonna delete my uh stop sharing
0:49:31
my screen again and work on that
0:49:37
so if we do export function yeah i am
0:49:45
maybe i can do in that way
0:49:48
and then export it
0:50:04
and because i've exported a hair
0:50:08
now i can do is import in the other one
0:50:25
yeah i feel like i'm talking to myself
0:50:31
i was working on oranges
0:50:34
um to see if it actually works
0:50:43
excuse me one sec i'll share my screen
0:50:46
to other people until you do that
0:50:54
i hope nothing big enough guys support
0:51:00
right right right right right
0:51:37
right let's try this if this works
0:51:42
don't really need this hair
0:51:45
that doesn't really make any sense
0:51:59
can on cannot use impossibleness i don't
0:52:42
i'm not looking for any other picture
0:52:48
yeah tori says that i'm trying to learn
0:52:51
jazz in the background
0:53:04
okay i'm gonna come back and share my
0:53:07
screen if you're not doing okay yo
0:53:12
that's the main focus
0:53:16
so i'm just trying to find out what am i
0:53:35
no i just want the syntax actually let
0:53:43
brings me anything any joy
0:53:49
environment environment
0:53:55
um can you try this
0:54:02
see my screen i won't send it to you
0:54:03
there else people can see the link
0:54:08
just give me two seconds
0:54:11
and that's a figure of speech by the way
0:54:16
before you actually take it one two
0:54:27
yes i'm seeing your screen now
0:54:31
yeah you are um yeah look at this one
0:54:34
it's not big enough
0:54:38
so i think it's only specific to vanilla
0:54:49
i'll send this code to you um don't
0:54:51
share your screen yet
0:54:54
first copy the code
0:55:08
otherwise what are you yeah
0:55:10
we're not using anything to bundle yet
0:55:14
um and that's why all the module answers
0:55:20
um we probably need to make a class out
0:55:24
um just do export plus
0:55:30
after an export function
0:55:33
now so you need to export
0:55:37
it doesn't make sense
0:55:42
but that that's a class component then
0:55:47
you can see my screen
0:55:51
so you kind of need to like inherit it
0:56:00
right okay so i'll do that in that way
0:56:03
then don't shave my screen i'll go into
0:56:07
the thing and do export um
0:56:12
over there expo class
0:56:33
extends i'm not going to need to write
0:56:36
it in any extent yeah
0:56:38
don't need to write extents just open
0:56:53
close everything from there uh get the
0:56:56
cause modifiers only can only be used in
0:57:00
typescript files uh
0:57:07
it's not allowing me to do either so
0:57:11
yeah sure doesn't matter
0:57:14
no ah i need to add a construction of
0:57:19
oh yeah it's a class
0:57:24
what do we put in the constructed do you
0:57:28
um yeah just make a constructor
0:57:31
right right constructor
0:57:33
like where you've done that
0:57:36
open the bracket and write url
0:57:42
um open the parenthesis
0:57:45
open the parenthesis
0:57:51
no no just close that particular okay
0:57:55
round bracket open that
0:58:03
you don't need to super just write this
0:58:24
in the global variable right to var url
0:58:30
but why are we using the url in the
0:58:36
because you need to construct it
0:58:44
okay i'll just go yeah this is that
0:58:47
here i'm not entirely sure
0:58:49
what's happening here at the moment but
0:59:01
that url in global inside the class but
0:59:05
not inside the constructor yeah yeah
0:59:18
no just valuable semicolon that's it
0:59:24
and inside the constructor right this
0:59:26
dot url is equal to url
0:59:29
why is causing a problem
0:59:33
a constructive method to assess all
0:59:35
property as expected
0:59:43
hang on hang on hang on a minute i will
0:59:49
share my screen review uh but i don't
0:59:54
on that anymore can you share my screen
0:59:57
please yeah this is easier
1:00:02
this is how i've done it
1:00:16
remove our url from outside yeah that's
1:00:20
it um now go ahead just write any
1:00:23
yeah just leave it right one there
1:00:27
desired one there yeah that's fine save
1:00:33
yep go to our middleware
1:00:43
the class what do you name the class
1:00:50
yeah so the import
1:01:02
semicolon after that
1:01:07
thanks for pointing that one out yep um
1:01:12
one second seven seven sec
1:01:17
i don't wanna use no no no no go on line
1:01:27
or whatever you want to name it just
1:01:28
anything right now so it works
1:01:44
right okay that's fine
1:01:46
yeah just write um new environment e
1:01:59
go to environment again
1:02:03
raman.js environment
1:02:05
remove url from the constructor please
1:02:10
yep make a function
1:02:20
oh inside the class
1:02:42
i expect this as a property was expected
1:02:45
function euro word
1:02:51
quantities try to turn
1:03:05
no it doesn't work
1:03:07
i think the cons modified okay forget
1:03:21
ah come on js come on mate
1:03:27
declare function in the class
1:03:38
we need to learn these things
1:03:43
well you don't need to write you need to
1:03:45
you don't need to write function in
1:03:50
that's where i was going wrong
1:03:55
right right right and don't need to make
1:04:01
yeah no no yeah why not
1:04:05
i don't think so that's how class
1:04:10
i didn't know that
1:04:12
that's a learning for me
1:04:15
yeah did you return
1:04:18
whatever the url is just return one two
1:04:32
no it's not a global variable only yeah
1:04:37
string one two three
1:04:52
yeah now you made an object
1:04:57
dot get url please
1:05:29
that's what java teaches you to read
1:05:40
okay that one is there
1:05:45
um where was i yeah zero point zero
1:05:51
um come on don't come over there
1:05:58
it's something to do that it's not able
1:06:00
to use the import statement not
1:06:02
that it's not able to import it
1:06:05
because it's always coming online number
1:06:09
i think it's because it's this part here
1:06:12
hang on however if i do this environment
1:06:15
or death because then this
1:06:24
es6 modules something to do with the
1:06:36
try opening this in the safari for me
1:06:44
four three two one seconds call
1:06:46
um you won't have a go safari no i don't
1:06:52
oh yeah i have safari
1:06:57
you have man you can't get rid of
1:07:07
just copy and paste it
1:07:15
wow this is taking long
1:07:18
i hope you have dev tools enabled
1:07:22
i hope you have def tools enabled
1:07:27
i never used safari at all all right
1:07:33
oh that's all good oh first let's let it
1:07:38
all right click and see if you can
1:07:40
inspect or i'll tell you how to do the
1:07:43
desktop no i can't
1:07:54
select advanced tab
1:08:00
you know show dev to last one
1:08:07
oh one sec one more thing we need to do
1:08:16
there's one more thing you need to do
1:08:22
go to develop close this
1:08:29
option there is no
1:08:36
click on it and show javascript console
1:08:43
console yeah you got the console
1:08:56
this is interesting
1:08:59
this isn't throwing the arrow
1:09:02
i was reloading it
1:09:12
this is not throwing the error i think
1:09:14
it's something to do with it
1:09:31
how do we get the bundle then
1:09:37
but like you're not using any load
1:09:42
thing i'm not sure
1:09:49
um is this how we also
1:09:57
okay so he says get parcel bundler
1:10:01
um probably to come back to that
1:10:09
it's just fine um all right
1:10:24
a learning curve already
1:10:26
yeah for sure i mean it will take a day
1:10:28
or two to settle down in the
1:10:39
my my schedule has changed a bit so i
1:10:43
get up every day at half four in the
1:10:51
how do you do that
1:10:59
well it took me say three months to to
1:11:09
to there i just can't go back to sleep
1:11:13
but why did you do that no
1:11:16
why it was because i want to pray
1:11:20
all right nice get up pray listen to my
1:11:23
podcast read a book and that's
1:11:27
meditate a bit that's kind of my
1:11:34
two hours every day
1:11:37
that's that's so good that's pretty cool
1:11:44
yeah so thanks a lot guys for um
1:11:48
tuning in really good to have
1:11:51
you and learning from you guys too
1:11:55
i just want to point out it's always
1:12:01
yeah in the afternoon it helps me
1:12:10
but yeah thanks guys thanks for joining
1:12:12
um surely we'll come back tomorrow it's
1:12:16
uh come back on sunday
1:12:20
um jail will be really
1:12:24
fueled up uh taking
1:12:34
on sunday if you guys can and we'll see
1:12:38
you then at the same time
1:12:48
yeah technically at the same time
1:12:51
right geezers have a good night yeah
1:12:53
good night cheers everyone cheers