1
00:00:06,120 --> 00:00:09,320
You know, we used to always say 
on our podcast, welcome back 

2
00:00:09,320 --> 00:00:11,640
perfect peeps. 
We need a new saying Brittany 

3
00:00:11,680 --> 00:00:14,440
like. 
Yeah, I was just thinking that. 

4
00:00:14,440 --> 00:00:17,240
I was like, what am I going to 
say when splash is done? 

5
00:00:17,920 --> 00:00:21,080
Like hey all you crazy coders, 
welcome to code with. 

6
00:00:21,080 --> 00:00:24,440
Crazy cat coders. 
Hey, cool cats. 

7
00:00:24,640 --> 00:00:25,520
Oh. 
Cool cats I. 

8
00:00:25,640 --> 00:00:27,480
Think I have that in a promo 
somewhere. 

9
00:00:27,480 --> 00:00:29,840
Hey, cool cats. 
Nice, yeah. 

10
00:00:30,240 --> 00:00:33,840
So if you can't tell, this is 
our very first live coding. 

11
00:00:33,840 --> 00:00:38,160
We're trying to do it through 
Cream Yard and I unfortunately 

12
00:00:38,160 --> 00:00:42,560
am down to a single monitor, so 
we might have to bear with me on

13
00:00:42,800 --> 00:00:46,760
how the code looks and things 
like that, but we promise we 

14
00:00:46,760 --> 00:00:49,400
will improve as we go along 
here. 

15
00:00:50,120 --> 00:00:53,560
And we're also trying to get 
everything installed and running

16
00:00:53,920 --> 00:00:57,720
in the background. 
So we're a little behind, but 

17
00:00:58,000 --> 00:00:59,880
hopefully we'll catch up very 
quickly. 

18
00:00:59,880 --> 00:01:04,640
So Brittany's going to kind of 
show me, teach me a little bit 

19
00:01:04,720 --> 00:01:08,120
of Svelte Kit and why I'd say a 
little bit like just teach me 

20
00:01:08,760 --> 00:01:10,760
everything you know, 'cause 
you're awesome. 

21
00:01:11,360 --> 00:01:17,520
And hopefully, if we get enough 
time, we'll hook up some Notion 

22
00:01:17,680 --> 00:01:22,880
back end to Svelte Kit and make 
some pages some. 

23
00:01:23,960 --> 00:01:26,640
Yes that sounds great. 
I just realized that stream yard

24
00:01:26,640 --> 00:01:29,800
posts to everything. 
All the things. 

25
00:01:30,360 --> 00:01:35,280
On all the things, James has got
a yo look at that love the love 

26
00:01:35,280 --> 00:01:36,880
the Twitch. 
We'll have to we'll have to 

27
00:01:36,880 --> 00:01:41,920
check out Twitch some more all 
right, so First things first. 

28
00:01:41,920 --> 00:01:46,320
Like I said, this is a little 
rough, but here is kind of how 

29
00:01:46,320 --> 00:01:48,960
I'm thinking we can do our 
screen share for now. 

30
00:01:49,120 --> 00:01:52,200
At moments I might go full 
screen, but then I can't see 

31
00:01:52,320 --> 00:01:55,120
like Brittany talking to me. 
So it'll be a little more 

32
00:01:55,120 --> 00:01:58,240
difficult, but I think we'll I 
think we'll manage. 

33
00:01:58,240 --> 00:02:06,600
So Brittany told me the first 
thing I need to do is to do MPM 

34
00:02:06,600 --> 00:02:12,680
and hit spelt. 
Spelt at next and name your 

35
00:02:12,680 --> 00:02:15,240
project should. 
We call this like. 

36
00:02:15,920 --> 00:02:17,840
Where should we create your 
project? 

37
00:02:18,320 --> 00:02:27,000
Yeah, that works. 
We want a skeleton project just 

38
00:02:27,000 --> 00:02:30,360
to get a base thing in there, 
and I'm going to let you choose 

39
00:02:30,360 --> 00:02:33,960
to pick TypeScript or not. 
Oh, you know me. 

40
00:02:34,320 --> 00:02:37,800
I know. 
And then obviously we want you a

41
00:02:37,800 --> 00:02:40,160
slant and prettier probably for 
ours. 

42
00:02:41,160 --> 00:02:44,720
And then they have this new 
playwright browser testing so. 

43
00:02:45,000 --> 00:02:46,920
Playwright. 
I mean, we don't. 

44
00:02:46,920 --> 00:02:49,560
It configures it for you. 
You don't have to use it. 

45
00:02:49,880 --> 00:02:52,560
OK, let's do it. 
But it sets everything up so and

46
00:02:52,560 --> 00:02:54,920
now. 
Be useful for when we go into 

47
00:02:54,920 --> 00:02:58,800
like our more advanced svelt 
course that we're going to 

48
00:02:58,800 --> 00:03:02,040
create. 
I'm not doing the testing part 

49
00:03:02,040 --> 00:03:05,320
of it, you can jump on that. 
I knew you'd say that. 

50
00:03:06,520 --> 00:03:10,960
Awesome. 
OK, so CD into CCD. 

51
00:03:11,080 --> 00:03:13,120
Oops. 
No, that's our main one. 

52
00:03:13,520 --> 00:03:14,800
That's the. 
Wrong thing. 

53
00:03:14,800 --> 00:03:18,520
Up, up. 
That's spelled. 

54
00:03:18,960 --> 00:03:21,920
Spelled Kit. 
We have a lot of coding cat dove

55
00:03:22,240 --> 00:03:24,840
repos in there. 
Wait, two-minute. 

56
00:03:26,760 --> 00:03:30,560
I was going through my Firebase 
projects and because I was 

57
00:03:30,560 --> 00:03:34,360
writing a project to manage fire
race projects, I could create 

58
00:03:34,360 --> 00:03:37,400
them on the fly. 
And I have like, it's 

59
00:03:37,400 --> 00:03:39,360
ridiculous. 
Like so many. 

60
00:03:42,280 --> 00:03:45,640
OK, so I did that thing. 
I did this thing. 

61
00:03:46,280 --> 00:03:50,560
Looks like you have to do this 
separately like you can't. 

62
00:03:51,680 --> 00:03:53,120
I mean, you don't have to do 
that. 

63
00:03:53,120 --> 00:03:55,360
That just goes ahead and sets up
your. 

64
00:03:55,360 --> 00:03:59,320
You need an extra quote there on
the end that sets up your get 

65
00:03:59,320 --> 00:04:03,920
Annette for you and your, adds 
your first initial commit and 

66
00:04:03,920 --> 00:04:05,240
gets all that set up. 
But you did. 

67
00:04:06,440 --> 00:04:10,120
We ever like decide as a like 
development community that we 

68
00:04:10,120 --> 00:04:12,000
need something more than an 
initial commit. 

69
00:04:13,320 --> 00:04:16,560
I don't know, but I just 
realized that you you're in a 

70
00:04:16,560 --> 00:04:20,839
mono repo, right? 
Well, this is hang on, let me, 

71
00:04:20,839 --> 00:04:24,280
let me do this. 
Are you is that web folder, is 

72
00:04:24,280 --> 00:04:28,600
that our main CCD or what is? 
We're just we're just going to 

73
00:04:28,600 --> 00:04:31,120
hang out directly in this new 
spell kit project. 

74
00:04:31,120 --> 00:04:36,640
OK, so so that was totally fine.
OK, so we initiated the new get 

75
00:04:36,640 --> 00:04:38,960
thing, we just don't have it on 
GitHub yet. 

76
00:04:39,640 --> 00:04:41,600
Correct. 
Not pushed to the cloud. 

77
00:04:41,880 --> 00:04:44,440
We can do that though with our 
cool command line. 

78
00:04:45,240 --> 00:04:48,640
GH repo create. 
Oh, it's a repo? 

79
00:04:48,640 --> 00:04:49,800
How? 
It's, I know it. 

80
00:04:49,800 --> 00:04:52,200
I always get it backwards too. 
I think I'm starting to get the 

81
00:04:52,200 --> 00:04:52,840
hang of it. 
It's. 

82
00:04:53,480 --> 00:04:57,160
Kit, is there more to it? 
I feel like you don't even have 

83
00:04:57,160 --> 00:04:59,040
to do that part. 
It'll prompt you. 

84
00:04:59,040 --> 00:05:03,520
But there's some things that you
can like do, and so you want to 

85
00:05:03,520 --> 00:05:08,040
push an existing local 
repository and that's the path 

86
00:05:08,440 --> 00:05:21,760
and that's the repository name. 
Coding Cat, Devon Spelka Yep, we

87
00:05:21,760 --> 00:05:25,880
always learn in public, right 
folks? 

88
00:05:26,600 --> 00:05:28,880
And you probably want to add 
your remote to that. 

89
00:05:28,880 --> 00:05:32,480
That'll go ahead and set up your
remote origin and call it origin

90
00:05:32,480 --> 00:05:35,120
in the next step. 
Sweet. 

91
00:05:38,920 --> 00:05:45,600
Hey Mac, how's it going? 
At what a Mac in the house? 

92
00:05:45,600 --> 00:05:50,280
I like it. 
Thanks go to. 

93
00:05:50,360 --> 00:05:53,040
How are we going to do our like 
without obs? 

94
00:05:53,320 --> 00:05:55,240
How are we going to have boops 
and stuff? 

95
00:05:55,560 --> 00:05:58,240
No, that's I, I don't know how 
we're going to get it into 

96
00:05:58,240 --> 00:06:00,240
stream yard, but we're going to 
have to figure out like a 

97
00:06:00,240 --> 00:06:01,880
routing thing. 
And that's what I want to work 

98
00:06:01,880 --> 00:06:03,640
on. 
One of these streams is like 

99
00:06:03,640 --> 00:06:05,040
doing. 
Yeah. 

100
00:06:05,440 --> 00:06:09,600
Overlay stream to OBS to stream 
yard. 

101
00:06:10,040 --> 00:06:13,000
We can do that. 
I'm pretty sure we can do it. 

102
00:06:13,000 --> 00:06:16,400
I don't know how the audio pipes
through yet, that's the problem.

103
00:06:16,680 --> 00:06:20,840
I think it'll be fine because 
RTMPI think allows but yeah, 

104
00:06:20,840 --> 00:06:23,600
another day that'll be. 
Fun yeah Mac, we don't have any 

105
00:06:23,600 --> 00:06:25,960
Twitch chat redemptions yet 
that's what we were just talking

106
00:06:25,960 --> 00:06:28,640
about is we're going to try to 
do this Twitch thing more often 

107
00:06:28,640 --> 00:06:32,360
and try to get our Twitch stream
set up too but first we're 

108
00:06:32,360 --> 00:06:36,160
working with Felt Kit today so. 
Interesting little bug by the 

109
00:06:36,160 --> 00:06:37,760
way, on stream yard. 
We should let him know. 

110
00:06:37,760 --> 00:06:39,480
I can't see this last comment 
down here. 

111
00:06:39,880 --> 00:06:44,200
Oh that's interesting. 
I can but I'm on a 4K monitor 

112
00:06:44,200 --> 00:06:48,000
so. 
I got here if I do that well. 

113
00:06:48,000 --> 00:06:49,840
Yeah. 
Oh, Inception. 

114
00:06:51,720 --> 00:06:54,560
I was, I was like gonna promise 
I wouldn't do that, but sorry, 

115
00:06:54,560 --> 00:06:57,680
folks. 
OK, so we've made it into 

116
00:06:57,680 --> 00:07:00,080
creating our svelt kit. 
Tell me what's going on. 

117
00:07:00,080 --> 00:07:03,240
This looks like any other thing 
I've done for the most part. 

118
00:07:03,240 --> 00:07:04,960
It's got a source folder. 
It's. 

119
00:07:05,400 --> 00:07:06,200
Got. 
En route. 

120
00:07:07,880 --> 00:07:14,200
Newer framework like Next JS or 
Next or I mean even Solid and 

121
00:07:14,200 --> 00:07:16,960
quick have a similar layout 
where we have a source folder 

122
00:07:16,960 --> 00:07:19,800
and then in that source folder 
we have a routes folder. 

123
00:07:20,120 --> 00:07:23,360
And the routes folder is similar
to Next JS's pages folder, which

124
00:07:23,360 --> 00:07:26,400
I know coding cat is on Next JS 
so you're going to be familiar 

125
00:07:26,400 --> 00:07:28,440
with that. 
So anything you create in the 

126
00:07:28,440 --> 00:07:33,880
routes directory is a route. 
So next JS just released like 

127
00:07:33,880 --> 00:07:38,480
this kind of inception like app 
version of that instead of 

128
00:07:38,480 --> 00:07:41,080
pages. 
Is that a thing where I have to 

129
00:07:41,080 --> 00:07:43,400
worry about like nested routes 
and things like that or? 

130
00:07:43,600 --> 00:07:47,480
So it's it's a call for 
comments. 

131
00:07:47,480 --> 00:07:51,560
What's the proposal thing right 
now on Sveltkit to do that? 

132
00:07:52,120 --> 00:07:56,600
I'm kind of against it, but you 
may go and voice your opinion on

133
00:07:56,600 --> 00:07:59,720
the matter if you want nested. 
So we have nested layouts. 

134
00:07:59,720 --> 00:08:03,920
It's maybe I'm misspeaking about
that because we have nested 

135
00:08:03,920 --> 00:08:09,920
layouts, but there's this new 
proposal to do routing where I 

136
00:08:09,920 --> 00:08:12,800
don't even understand it. 
It's like making it more 

137
00:08:12,800 --> 00:08:15,120
explicit. 
So you have to have a folder and

138
00:08:15,120 --> 00:08:17,680
you can't do like the index dot 
spell file for the folder 

139
00:08:17,680 --> 00:08:18,960
anymore. 
It has to be like named 

140
00:08:18,960 --> 00:08:22,440
appropriately. 
But there it's a proposal that 

141
00:08:22,440 --> 00:08:25,160
they got from Next and they're 
talking about adding it to spell

142
00:08:25,160 --> 00:08:26,880
kit. 
But we do have nested layout. 

143
00:08:26,880 --> 00:08:29,520
Sorry, I misunderstood what? 
You're no, no, you, you covered 

144
00:08:29,520 --> 00:08:30,760
exactly what I was asking 
that's. 

145
00:08:30,760 --> 00:08:33,679
Awesome, so we do have nested 
layouts though. 

146
00:08:33,679 --> 00:08:36,679
So you could create a layout 
file that would wrap that index 

147
00:08:36,679 --> 00:08:38,039
dot spell file. 
Do you want me to show you how 

148
00:08:38,039 --> 00:08:41,360
to do that? 
Maybe let's let's finish like 

149
00:08:41,360 --> 00:08:45,000
talking about like index and at 
least bring up what the heck 

150
00:08:45,040 --> 00:08:50,280
does it look like so. 
Let's do MPM run dev get our 

151
00:08:50,280 --> 00:08:53,040
server running we. 
Got Localos 3000. 

152
00:08:53,240 --> 00:08:56,520
Yeah, that, that is a very, very
basic local. 

153
00:08:56,600 --> 00:09:00,200
This is the skeleton project, so
we started with absolutely 

154
00:09:00,200 --> 00:09:03,600
nothing and if you wanted we 
could have done the demo project

155
00:09:03,600 --> 00:09:06,480
and we would have see a little 
bit more stuff here. 

156
00:09:06,800 --> 00:09:08,120
Oh, it's all good. 
I like it. 

157
00:09:10,040 --> 00:09:13,080
Feel free folks. 
If was this House of dispersed 

158
00:09:13,200 --> 00:09:17,920
because I. 
Yeah, James has some redemptions

159
00:09:17,920 --> 00:09:22,680
where you can change his VS Code
theme so he has the hot dog 

160
00:09:22,680 --> 00:09:23,920
theme. 
Have you seen this? 

161
00:09:24,240 --> 00:09:26,880
I haven't seen the hot dog one. 
Though oh, it's really bad. 

162
00:09:27,680 --> 00:09:29,960
Please don't add it. 
It's it's really, really bad. 

163
00:09:30,720 --> 00:09:36,120
I like fun theme. 
So basically once we got this 

164
00:09:36,160 --> 00:09:41,280
kind of spell kit area going, 
now I need to almost immediately

165
00:09:41,280 --> 00:09:44,280
like in my head, I'm going 
coding cat already and I'm like 

166
00:09:44,600 --> 00:09:47,560
our main coding cat page. 
And maybe it's worthwhile to 

167
00:09:47,560 --> 00:09:51,560
actually like bring it up too 
recent. 

168
00:09:52,640 --> 00:09:56,320
This is the problem with coding 
is that your brain goes to the 

169
00:09:56,320 --> 00:09:58,000
biggest project possible right 
away. 

170
00:09:58,000 --> 00:09:59,040
It's. 
Always, always. 

171
00:09:59,560 --> 00:10:02,000
Done. 
I mean anybody, any developer 

172
00:10:02,000 --> 00:10:06,000
that I know it just and it's 
like what should I do to scale 

173
00:10:06,000 --> 00:10:08,400
this app? 
Like how many things do I need 

174
00:10:08,400 --> 00:10:11,760
and just build it, add in things
as you need. 

175
00:10:11,760 --> 00:10:14,640
It's jam stack philosophy. 
Yeah, I'm done with that. 

176
00:10:15,520 --> 00:10:19,160
So if we if we start to compare 
those, so I have an app folder, 

177
00:10:19,560 --> 00:10:23,520
there's an app that HTML here. 
So that kind of is the head 

178
00:10:23,560 --> 00:10:26,960
piece. 
So the app dot HTML is just kind

179
00:10:26,960 --> 00:10:29,680
of the base bones of your 
application. 

180
00:10:29,680 --> 00:10:31,960
So that's felt. 
Kit Head is where our head 

181
00:10:31,960 --> 00:10:36,720
component in felt gets injected 
and then that body's where the 

182
00:10:36,720 --> 00:10:39,160
rest of your spelt components 
get injected. 

183
00:10:39,320 --> 00:10:41,640
Cool. 
Is this very common with the? 

184
00:10:42,000 --> 00:10:44,640
Is this the sugar syntax I keep 
reading about or no? 

185
00:10:44,960 --> 00:10:47,520
No, this is not. 
This is just like this is 

186
00:10:47,520 --> 00:10:50,720
literally a template file just 
to inject the stuff, and you 

187
00:10:50,720 --> 00:10:53,640
barely touch this file unless 
you're maybe adding some links 

188
00:10:53,640 --> 00:10:57,000
or meta tags up in the top there
that you want completely on 

189
00:10:57,000 --> 00:11:01,000
every page. 
So I can also add a spelt's head

190
00:11:01,000 --> 00:11:03,880
somewhere else if I want to do 
SEO in pages. 

191
00:11:04,200 --> 00:11:05,720
Yes you could. 
Sweet. 

192
00:11:06,320 --> 00:11:12,640
So let's let's jump back here. 
So my immediate curiosity is if 

193
00:11:12,640 --> 00:11:17,880
I wanted to pull not our index 
file necessarily, but if I 

194
00:11:17,880 --> 00:11:23,280
wanted to start to create either
pages or like our podcast, our 

195
00:11:23,280 --> 00:11:26,880
pod page. 
So for reference people to 

196
00:11:27,160 --> 00:11:29,720
coding cat, so this is our main 
page. 

197
00:11:29,720 --> 00:11:33,920
We could like mock this out, but
I, I kind of want to understand 

198
00:11:33,920 --> 00:11:38,840
if I wanted pages like our 
podcast has pages and then or a 

199
00:11:38,840 --> 00:11:42,600
listing and then within that it 
has its own pages like this. 

200
00:11:42,800 --> 00:11:45,400
Yes. 
So what you're asking for is 

201
00:11:45,400 --> 00:11:48,160
dynamic routing. 
And I know you're gonna even go 

202
00:11:48,160 --> 00:11:51,680
even farther with this permalink
thing that we have and do that, 

203
00:11:51,680 --> 00:11:54,200
which you can also do like with 
the. 

204
00:11:54,480 --> 00:11:55,880
Start easy though, I'm down 
with. 

205
00:11:55,960 --> 00:11:58,720
Yeah, OK. 
So if we wanted to create just a

206
00:11:58,720 --> 00:12:01,000
podcast route, we can create a 
folder. 

207
00:12:01,600 --> 00:12:03,520
OK. 
Just call podcast. 

208
00:12:04,000 --> 00:12:08,280
Podcast and that will be your 
top level slash. 

209
00:12:08,360 --> 00:12:11,320
So whatever you name that and 
then the index dot spelt file 

210
00:12:11,320 --> 00:12:14,200
inside of that is going to hit 
that podcast route. 

211
00:12:15,600 --> 00:12:18,920
Now it's probably worth me 
asking, is it always a spelt 

212
00:12:18,920 --> 00:12:25,240
file or so? 
A dot spelt file is your spelt 

213
00:12:25,240 --> 00:12:28,520
markup. 
If you created a JS or TS file 

214
00:12:28,520 --> 00:12:30,800
inside of that routes directory,
it's an endpoint. 

215
00:12:31,360 --> 00:12:35,400
Oh, OK, nice. 
So it's still a route, but it's 

216
00:12:35,400 --> 00:12:39,000
an endpoint rather than an 
actual page you can see. 

217
00:12:39,360 --> 00:12:41,600
And when you say endpoint like 
API endpoint. 

218
00:12:41,880 --> 00:12:43,240
Yes. 
OK, cool. 

219
00:12:43,680 --> 00:12:46,280
That's interesting. 
That's a that's that's a very 

220
00:12:46,280 --> 00:12:48,880
interesting way to do that. 
Yeah. 

221
00:12:49,000 --> 00:12:52,400
We'll have to think about that 
one as we build out this page. 

222
00:12:53,280 --> 00:12:57,400
OK, so basically this would be 
our podcast listing at this 

223
00:12:57,400 --> 00:13:01,160
point. 
So how do I go about fetching 

224
00:13:01,160 --> 00:13:03,640
data? 
Is there a get static props? 

225
00:13:03,640 --> 00:13:07,200
What does that look like? 
So you would just create a 

226
00:13:07,200 --> 00:13:09,480
script tag. 
OK. 

227
00:13:09,960 --> 00:13:14,960
And and help kit you. 
Yeah. 

228
00:13:14,960 --> 00:13:19,080
So this is the interesting part.
So if you want to fetch 

229
00:13:19,080 --> 00:13:22,200
something on the server, you do 
it in an endpoint. 

230
00:13:22,200 --> 00:13:25,240
So we would create an index dot 
JS or TS file. 

231
00:13:25,560 --> 00:13:28,480
But if you wanted to fetch it on
the client, we could do it in a 

232
00:13:28,560 --> 00:13:32,040
script context module inside of 
the index dot spell file. 

233
00:13:32,040 --> 00:13:33,280
So we can do it either I love to
do. 

234
00:13:33,560 --> 00:13:37,120
It on the server side just 
because of our keys and things. 

235
00:13:37,120 --> 00:13:41,640
Yep. 
OK, so we need an index dot JS 

236
00:13:41,640 --> 00:13:46,160
file or TS. 
I'm sorry TS, you read my mind. 

237
00:13:47,360 --> 00:13:53,440
Yeah, so the the one mind was 
saying that page endpoints are 

238
00:13:53,440 --> 00:13:55,720
wonderful and just learned 
yesterday how to use them. 

239
00:13:55,720 --> 00:13:58,520
And I love the term shadow 
endpoints, which is what they 

240
00:13:58,520 --> 00:14:01,720
were called in the request for 
comments and. 

241
00:14:01,840 --> 00:14:04,520
Rich talked about that, right? 
Yeah, we did. 

242
00:14:04,520 --> 00:14:09,040
So page endpoints are when the 
endpoint corresponds to the name

243
00:14:09,040 --> 00:14:11,520
of your route. 
So you have an index dot spelt 

244
00:14:11,520 --> 00:14:15,440
file and an index dot TS file. 
So auto magically under the 

245
00:14:15,440 --> 00:14:19,120
scenes, whatever this index dot 
TS file returns is going to be 

246
00:14:19,120 --> 00:14:22,560
imported into the props of the 
index dot spelt file without you

247
00:14:22,560 --> 00:14:28,200
doing anything. 
Cool, so basically I need to do 

248
00:14:28,200 --> 00:14:31,600
something like this. 
Interesting. 

249
00:14:31,600 --> 00:14:33,840
What is this Lib? 
Is this like a? 

250
00:14:35,440 --> 00:14:39,280
If rich hates it, I mean I'm 
sorry I can be anti rich for a 

251
00:14:39,280 --> 00:14:40,120
minute. 
Can I? 

252
00:14:40,120 --> 00:14:41,920
Could I? 
Can I have my own opinion? 

253
00:14:42,280 --> 00:14:43,880
You're going to get fired from 
spell. 

254
00:14:44,360 --> 00:14:46,840
Oh, no, I'm going to get 
cancelled, right? 

255
00:14:46,840 --> 00:14:48,200
Yeah, if. 
You're going to get cancelled. 

256
00:14:49,120 --> 00:14:51,320
Cancel culture. 
Please don't cry, everybody. 

257
00:14:51,320 --> 00:14:56,240
We're a little giddy. 
So what's this lip thing all 

258
00:14:56,240 --> 00:14:59,800
about? 
So these are aliases in spell 

259
00:14:59,800 --> 00:15:03,680
kit, so these come the dollar 
sign Lib comes by default, but 

260
00:15:03,680 --> 00:15:06,720
you can configure your own 
aliases, which I do in my repos.

261
00:15:06,720 --> 00:15:10,600
I set it as an AT because I like
the readability of AT Lib. 

262
00:15:11,040 --> 00:15:15,040
So this is the equivalent of us 
doing things like that with 

263
00:15:15,040 --> 00:15:17,800
that. 
Exactly, and I even take that 

264
00:15:17,800 --> 00:15:21,320
slash out. 
So I do like at Lib slash and 

265
00:15:21,320 --> 00:15:22,360
then what type of? 
Thing. 

266
00:15:23,440 --> 00:15:26,760
You would do that in your spell 
config, and they just made this 

267
00:15:26,760 --> 00:15:29,520
top level. 
So I believe under the kit 

268
00:15:30,040 --> 00:15:36,440
property there you can put a 
comma under adapter and then 

269
00:15:36,560 --> 00:15:39,320
alias. 
And I don't know, they just 

270
00:15:39,320 --> 00:15:40,800
changed this, so I'm going to 
have to leave this up. 

271
00:15:42,240 --> 00:15:44,760
Yeah, because I wrote a whole 
blog post on this. 

272
00:15:44,760 --> 00:15:49,360
That's how I remember this one. 
There's components and you can 

273
00:15:49,360 --> 00:15:53,800
do it. 
It dot scope dot dev is where 

274
00:15:53,800 --> 00:15:59,040
I'm looking docs and need to 
find alias I think. 

275
00:15:59,840 --> 00:16:03,360
It's I think it's right here on 
the screen, so it looks like 

276
00:16:03,360 --> 00:16:03,840
instead. 
Of. 

277
00:16:04,080 --> 00:16:07,600
Doing utility or something I 
could do like at. 

278
00:16:07,720 --> 00:16:10,600
An AT symbol and you might have 
to put it in quotes for the 

279
00:16:10,600 --> 00:16:17,040
Jason to Yep. 
And then you do that and 

280
00:16:17,040 --> 00:16:19,120
sometimes VS Code freaks out on 
you. 

281
00:16:19,160 --> 00:16:22,240
If VS Code freaks out on you, 
then you add it to your TS 

282
00:16:22,240 --> 00:16:24,520
config. 
But I wouldn't even bother right

283
00:16:24,520 --> 00:16:28,400
now unless it just keeps yelling
at you that these files don't 

284
00:16:28,400 --> 00:16:34,680
exist. 
So the reason that Lib is there 

285
00:16:34,680 --> 00:16:37,800
is because Lib is kind of a 
convention in spell kit. 

286
00:16:37,840 --> 00:16:40,480
It's not something that you have
to use, but Lib is kind of where

287
00:16:40,480 --> 00:16:43,920
everything lives, like utils, 
components. 

288
00:16:44,440 --> 00:16:46,800
If you started up the demo app, 
that's where. 

289
00:16:47,120 --> 00:16:50,120
Should should I do it that way 
so people don't get confused? 

290
00:16:50,440 --> 00:16:53,360
It's a personal preference. 
It's not a you must do it this 

291
00:16:53,360 --> 00:16:56,120
way. 
It's just a convention that OK. 

292
00:16:57,080 --> 00:17:02,200
Hey, just FYI, everyone watching
just want to know, gosh, you, 

293
00:17:02,200 --> 00:17:06,520
you guys are on it today. 
I if you're having a hard time 

294
00:17:06,520 --> 00:17:08,599
seeing the code, let me know. 
I'll go full screen. 

295
00:17:08,599 --> 00:17:10,480
I just like talking with a 
person. 

296
00:17:10,480 --> 00:17:12,040
So Brittany's kind of over here 
in my life. 

297
00:17:12,040 --> 00:17:15,160
I'm gonna pick out my window 
'cause I hear excavators. 

298
00:17:16,240 --> 00:17:20,079
I I was warned that Brittany's 
got a pool going in and she 

299
00:17:20,079 --> 00:17:22,560
might have to bounce out to to 
yell at somebody though. 

300
00:17:23,560 --> 00:17:25,720
Yeah, there's excavators in my 
backyard. 

301
00:17:25,720 --> 00:17:29,440
So do you do? 
Can I help you get something up 

302
00:17:29,440 --> 00:17:31,600
on dock so I can run outside 
real quick? 

303
00:17:32,120 --> 00:17:35,560
The only thing I'm kind of 
wondering if if I call services 

304
00:17:35,560 --> 00:17:37,680
from here, I'll figure it out, 
no. 

305
00:17:38,120 --> 00:17:40,480
No, no, hang on. 
So I need to tell you something.

306
00:17:40,480 --> 00:17:43,560
So in those endpoints, those are
Http://methods. 

307
00:17:43,560 --> 00:17:46,760
So you have git POST, DELETE, 
update. 

308
00:17:46,760 --> 00:17:49,960
I don't remember all of them, 
but those are export 

309
00:17:50,600 --> 00:17:53,240
construction git for a git 
request. 

310
00:17:53,760 --> 00:17:58,360
So in your endpoint so it says 
like export async function get 

311
00:17:58,360 --> 00:18:00,680
right there in the endpoint 
stock that you're on. 

312
00:18:00,880 --> 00:18:03,840
Am I going to then like fetch 
that in? 

313
00:18:03,840 --> 00:18:07,280
Here, yes, in inside there. 
So you're doing a GET request 

314
00:18:07,280 --> 00:18:09,000
and you're going to fetch inside
of that. 

315
00:18:09,200 --> 00:18:12,600
So I don't write server side 
code in that spell. 

316
00:18:12,840 --> 00:18:14,040
Later, Anthony All. 
In here. 

317
00:18:14,880 --> 00:18:18,120
You do it all in the endpoint if
you want it to be server side. 

318
00:18:18,520 --> 00:18:22,960
And OK, there may be some more 
that we have to do with that, 

319
00:18:22,960 --> 00:18:25,120
but I'll have to look into that 
in just a minute. 

320
00:18:25,320 --> 00:18:26,720
OK. 
But yeah, go. 

321
00:18:26,720 --> 00:18:28,200
I'll be right back. 
We'll see you in a minute. 

322
00:18:28,200 --> 00:18:33,360
OK, All right, folks. 
So I'm, I'm really scared now. 

323
00:18:33,360 --> 00:18:36,720
I hope she comes back. 
So it looks like we have source 

324
00:18:36,720 --> 00:18:41,200
item, source routes, items ID 
for this example. 

325
00:18:41,200 --> 00:18:44,880
So that's kind of interesting, 
but I don't think I need that. 

326
00:18:44,880 --> 00:18:48,120
So let's do this. 
Copy that. 

327
00:18:48,720 --> 00:18:53,160
It looks like we're going to do 
at services. 

328
00:18:55,120 --> 00:18:59,520
Maybe not. 
Let's go back here. 

329
00:18:59,800 --> 00:19:04,200
Might have to restart, maybe 
source services. 

330
00:19:04,240 --> 00:19:10,920
Source services like restart 
maybe have a feeling we're going

331
00:19:10,920 --> 00:19:14,840
to run into TypeScript issues, 
but that's just me being crazy. 

332
00:19:14,840 --> 00:19:19,800
We'll see. 
I've got Notion now if I come 

333
00:19:19,800 --> 00:19:24,800
back into my index, I'm thinking
this should be Notion. 

334
00:19:24,800 --> 00:19:26,520
Oh, it did work. 
I'm crazy. 

335
00:19:26,520 --> 00:19:35,080
OK, So I think what we can do, 
because I have all of our all of

336
00:19:35,080 --> 00:19:40,680
our Notion stuff kind of done 
already for our podcast, I think

337
00:19:40,680 --> 00:19:44,960
I can pull that over. 
So if I go to our services 

338
00:19:44,960 --> 00:19:48,480
folder, I have this notion 
service file already created 

339
00:19:48,520 --> 00:19:52,880
which is cool. 
Should be able to drop that in. 

340
00:20:05,290 --> 00:20:09,090
Definitely doesn't like that 
from services. 

341
00:20:09,170 --> 00:20:14,330
Maybe it doesn't like the dot. 
It's interesting, OK. 

342
00:20:20,680 --> 00:20:22,840
Oh, no, I see what I'm doing. 
My bad. 

343
00:20:30,240 --> 00:20:33,520
But it doesn't like this this. 
OK, now we're in business. 

344
00:20:34,200 --> 00:20:37,520
So it sounds like for from an 
endpoint perspective. 

345
00:20:39,000 --> 00:20:41,520
Oh, man, I've had to use 
TypeScript on a recent work 

346
00:20:41,520 --> 00:20:43,680
project. 
I've managed to avoid it. 

347
00:20:44,240 --> 00:20:48,120
So that, that is funny, Anthony.
I love TypeScript. 

348
00:20:48,120 --> 00:20:52,240
It saves my behind often. 
But I know there's a love hate 

349
00:20:52,240 --> 00:20:55,720
for me and I am not shy to throw
the any in. 

350
00:20:55,720 --> 00:20:58,040
Whereas there's so many people 
that would hate me right now in 

351
00:20:58,040 --> 00:21:00,680
the TypeScript world 'cause I'm 
like, I just need to get it 

352
00:21:00,680 --> 00:21:03,400
done. 
But most of the time I try to 

353
00:21:03,480 --> 00:21:06,680
try to stick with strict until I
just hit a wall. 

354
00:21:08,240 --> 00:21:13,720
OK so I'm trying to figure out 
from a route standpoint if I do 

355
00:21:13,720 --> 00:21:20,320
a page endpoint and instead of 
like this set up I just want to 

356
00:21:20,320 --> 00:21:23,760
list items on a page. 
I I think I can still just use a

357
00:21:23,760 --> 00:21:25,720
git like this so I guess we'll 
see. 

358
00:21:27,280 --> 00:21:30,000
I wish there was typing in here 
but it doesn't look like there 

359
00:21:30,000 --> 00:21:32,480
is. 
So I'm just like I said I'm I'm 

360
00:21:32,680 --> 00:21:36,040
going to cheat anyways and just 
do this for now. 

361
00:21:36,160 --> 00:21:45,360
So prams, I guess pipes request 
handler. 

362
00:21:46,480 --> 00:21:48,880
Is that maybe a thing? 
Let's see here. 

363
00:21:51,120 --> 00:21:53,920
Oh no, I see what? 
What's going on there? 

364
00:21:55,720 --> 00:22:01,320
That's interesting. 
Gotta love live coding. 

365
00:22:02,480 --> 00:22:09,000
Let's see here to the page 
props. 

366
00:22:09,000 --> 00:22:13,120
OK, that's cool. 
I like that's gonna pass that 

367
00:22:13,120 --> 00:22:15,560
into the page. 
It's interesting working in a 

368
00:22:15,560 --> 00:22:19,320
separate file to do this stuff. 
I'm like next. 

369
00:22:19,320 --> 00:22:24,000
So I've gotten too used to that.
So what I'm going to do for this

370
00:22:24,000 --> 00:22:28,800
one at our Notion side, I'm 
gonna have to clean some things 

371
00:22:28,800 --> 00:22:32,200
up over here too. 
But for now, let's see if we can

372
00:22:32,200 --> 00:22:35,040
get just some of our pages 
going. 

373
00:22:36,360 --> 00:22:45,880
So basically I need to get. 
I don't remember the name of 

374
00:22:45,880 --> 00:22:50,080
that format posts everybody 
published. 

375
00:22:50,320 --> 00:22:52,880
This is what we're looking for. 
So this will give us a listing 

376
00:22:52,880 --> 00:23:00,640
of any one of our pipes. 
I'm guessing I need to do some 

377
00:23:00,640 --> 00:23:03,880
installs first. 
So because we are calling the 

378
00:23:03,880 --> 00:23:09,960
Notion API, what I'm going to do
is the NPM install. 

379
00:23:09,960 --> 00:23:14,640
I think it is Notion at Notion. 
This one. 

380
00:23:18,400 --> 00:23:21,680
Shout out to the Notion folks. 
Thank you for finally releasing 

381
00:23:21,680 --> 00:23:24,800
an API. 
It's been awesome, especially 

382
00:23:24,800 --> 00:23:27,600
since we did all of our podcasts
in Notion. 

383
00:23:27,600 --> 00:23:31,080
So just to show you a little 
behind the scenes of what our 

384
00:23:31,200 --> 00:23:36,160
our daily looks like, we often 
will sit down in the morning, 

385
00:23:36,160 --> 00:23:38,600
Britt and I and just talk about 
like what streams we have coming

386
00:23:38,600 --> 00:23:42,400
up and things like that. 
And then this is our our list 

387
00:23:42,400 --> 00:23:47,560
that we go to for people coming 
up that are scheduled, people 

388
00:23:47,560 --> 00:23:51,240
that are just about to come on. 
Like Greg, we finished 

389
00:23:51,240 --> 00:23:53,200
yesterday. 
So that should go and recorded 

390
00:23:53,760 --> 00:23:56,920
and basically anything that has 
passed recorded and we're 

391
00:23:56,920 --> 00:24:00,840
finished with and all of the 
like editing is done inside of 

392
00:24:00,840 --> 00:24:06,240
Notion on this page here. 
We will then release it and once

393
00:24:06,240 --> 00:24:10,560
it's in that published state or 
released state, we're good to 

394
00:24:10,560 --> 00:24:13,080
go. 
So actually, that brings up a 

395
00:24:13,080 --> 00:24:16,320
good point. 
I'm thinking that I copied the 

396
00:24:16,320 --> 00:24:20,120
wrong one 'cause this perfect 
dev has a little bit of sorts to

397
00:24:20,120 --> 00:24:23,000
it. 
Perfect stream by released. 

398
00:24:23,000 --> 00:24:26,440
So that's the one we need. 
So let's see here. 

399
00:24:30,600 --> 00:24:36,320
OK, so let's do that and then 
instead of our DB get prams ID, 

400
00:24:36,320 --> 00:24:40,360
what we're going to do, because 
I don't need to get a parameter 

401
00:24:41,320 --> 00:24:45,280
item return item. 
I think all I have to do is 

402
00:24:46,960 --> 00:24:53,760
that's the posts or whatever. 
I'll just call posts equals and 

403
00:24:53,920 --> 00:24:58,120
we're going to give it a page. 
Size of it doesn't matter for 

404
00:24:58,120 --> 00:25:01,080
this, so let's just do 10,000. 
We'll get them all. 

405
00:25:01,200 --> 00:25:04,640
See how this goes. 
We're gonna await that. 

406
00:25:09,480 --> 00:25:15,240
Then I think what it's saying is
I can return an entire list of 

407
00:25:15,280 --> 00:25:21,480
items. 
So if posts return posts, I 

408
00:25:21,480 --> 00:25:24,280
think that's the long and short 
of it. 

409
00:25:26,000 --> 00:25:28,400
I don't know how to do 
environment variables. 

410
00:25:28,400 --> 00:25:34,360
So if anyone, I see Ben Myers, 
if anyone knows how to do 

411
00:25:34,360 --> 00:25:36,840
environment variables, we'll 
definitely throw me a comment, 

412
00:25:36,840 --> 00:25:38,640
but in the meantime I will look 
it up. 

413
00:25:44,670 --> 00:25:46,310
How do I use environment 
variables? 

414
00:25:46,310 --> 00:25:51,190
That is a great question. 
Let's see. 

415
00:25:51,670 --> 00:26:04,320
Beat uses dot N forgot we're 
using veat, So that's 

416
00:26:04,320 --> 00:26:07,280
interesting. 
I wonder if the veat under score

417
00:26:07,280 --> 00:26:12,480
actually means it's only exposed
publicly like the next public. 

418
00:26:20,410 --> 00:26:23,490
Oh, let's see Anthony. 
Thank you. 

419
00:26:25,690 --> 00:26:29,210
Yes, OK, let's see here dot M 
process. 

420
00:26:30,880 --> 00:26:35,480
Oh, do we need to use dot MV? 
Is that a package? 

421
00:26:35,480 --> 00:26:37,920
I know dot MV is a a package 
that is used. 

422
00:26:37,920 --> 00:26:52,280
So process that environment. 
Hello, hello. 

423
00:27:00,200 --> 00:27:02,920
Let's see yarn Ed. 
Yeah, OK, that's that's what I 

424
00:27:02,920 --> 00:27:05,240
was thinking. 
So let's do that. 

425
00:27:05,480 --> 00:27:08,640
I'm not going to use yarn. 
You can kill me later, but NPM 

426
00:27:08,680 --> 00:27:18,800
installed SD dot N OK, and then 
it looks like we just need 

427
00:27:18,920 --> 00:27:24,960
process and variable. 
So let's do that is gonna have 

428
00:27:24,960 --> 00:27:29,160
to go in here so we have way too
much clean up because I have all

429
00:27:29,160 --> 00:27:32,760
kinds of types. 
We didn't move over with this so

430
00:27:32,760 --> 00:27:36,600
we might have to ignore some 
things and start from scratch. 

431
00:27:37,560 --> 00:27:41,360
Let me find this and hopefully 
we can get close. 

432
00:27:46,640 --> 00:27:58,160
I want to leave posts and so I 
want format posts and format 

433
00:27:58,160 --> 00:28:00,640
posts. 
I think those are going to be 

434
00:28:00,640 --> 00:28:08,240
the the big ones for us. 
There, there it is. 

435
00:28:08,480 --> 00:28:22,000
All right, format posts. 
I think I can delete almost all 

436
00:28:22,000 --> 00:28:24,800
the rest of this typing stuff 
for now. 

437
00:28:25,000 --> 00:28:30,400
So we got format post just to 
get it in the right format. 

438
00:28:31,280 --> 00:28:37,800
Format all our posts and now we 
have query by released and I'm 

439
00:28:37,800 --> 00:28:42,800
going to go down and oh, I hear 
Brittany, I'm going to click up.

440
00:28:42,800 --> 00:28:43,320
But I. 
Can't hear? 

441
00:28:44,280 --> 00:28:45,760
Anything, all the rest of this 
up. 

442
00:28:48,200 --> 00:28:50,720
So I'm fighting with the 
TypeScript at the moment, if you

443
00:28:50,840 --> 00:29:05,790
can hear me OK. 
Spotify just started playing 

444
00:29:05,790 --> 00:29:07,510
music. 
I was like, what is happening? 

445
00:29:08,110 --> 00:29:11,470
OK, so how far did you get? 
Not super far. 

446
00:29:11,470 --> 00:29:13,550
I was trying to clean up our 
notion file. 

447
00:29:13,550 --> 00:29:19,240
What I what I came up to was 
calling our notion to get to get

448
00:29:19,240 --> 00:29:21,280
some posts. 
I think I passed those posts 

449
00:29:21,280 --> 00:29:24,200
into the body and that's that's 
as far as I've gotten. 

450
00:29:25,240 --> 00:29:28,400
So right now we were talking 
about how the heck do I get 

451
00:29:29,360 --> 00:29:35,200
environment variables. 
OK, so environment variables are

452
00:29:35,760 --> 00:29:38,760
from V, but those will be 
exposed to the client. 

453
00:29:38,760 --> 00:29:41,320
So if you want to do something 
that's not exposed to the 

454
00:29:41,320 --> 00:29:43,680
client, which we were talking 
about earlier, you're gonna do 

455
00:29:43,680 --> 00:29:53,400
dot in the OR another package. 
I think dot M plus oops plus 

456
00:29:53,800 --> 00:30:02,760
process can't type and then 
whatever it was, I'm going to 

457
00:30:02,760 --> 00:30:08,160
bounce off screen for one second
to drop in our super secret 

458
00:30:09,480 --> 00:30:20,960
codes. 
You happen to know if that dot M

459
00:30:21,040 --> 00:30:25,000
can go anywhere at the root? 
Probably, I hope. 

460
00:30:26,240 --> 00:30:28,920
Anywhere yeah dot MV would go at
your root. 

461
00:30:29,760 --> 00:30:31,760
The dot MV file, is that what 
you're? 

462
00:30:32,080 --> 00:30:34,240
Yeah, yeah. 
That goes into your root. 

463
00:30:34,840 --> 00:30:38,440
One SEC let me find. 
Oh, James is saying that he 

464
00:30:38,440 --> 00:30:41,320
hasn't gotten dot EMV to work 
with private variables. 

465
00:30:41,840 --> 00:30:45,280
No, that's not it goes through. 
I hope not. 

466
00:30:45,280 --> 00:30:50,320
I'm going to start. 
Let's let's check out it looks 

467
00:30:50,320 --> 00:30:52,440
like Anthony has a example of 
it. 

468
00:30:52,520 --> 00:30:55,440
Oh. 
Yes, look Anthony for the win. 

469
00:30:57,960 --> 00:31:06,960
Why can I not copy that comment?
That's frustrating Stepson, I 

470
00:31:07,000 --> 00:31:08,560
think. 
I think you have seen this 

471
00:31:08,560 --> 00:31:09,960
example. 
Now he says that I'll. 

472
00:31:11,000 --> 00:31:18,960
Be right back. 
Again, Stepson Dev examples, 

473
00:31:21,760 --> 00:31:31,560
examples with spelt kit with SSS
can't spell. 

474
00:31:31,560 --> 00:31:35,480
All right, spelt kit, here's 
your dot EMV. 

475
00:31:35,600 --> 00:31:40,920
Cool, that's what we have. 
And then I think what he's 

476
00:31:40,920 --> 00:31:46,720
saying is maybe one. 
Nope, it's not going to be in 

477
00:31:46,720 --> 00:31:53,280
there dot JS dot JS. 
Maybe Jason has one. 

478
00:31:54,240 --> 00:32:03,080
Yes cool, this looks awesome. 
Import dot NV process M were are

479
00:32:03,080 --> 00:32:07,880
you actually using? 
Maybe? 

480
00:32:07,880 --> 00:32:20,320
Maybe this is all I need. 
Well, actually I think that 

481
00:32:20,320 --> 00:32:22,680
would be the same. 
Then what is this complaining 

482
00:32:22,680 --> 00:32:24,400
about object? 
It's possible. 

483
00:32:24,720 --> 00:32:29,280
All right, let's just do the 
little cheat here and see how 

484
00:32:29,280 --> 00:32:30,720
this goes. 
So. 

485
00:32:31,280 --> 00:32:34,880
I'm so sorry, Phil. 
Today has been interesting. 

486
00:32:36,120 --> 00:32:43,040
And do this plus that what am I 
doing I want to do? 

487
00:32:43,440 --> 00:32:45,560
I can't see what you're doing, 
so I don't know if you're or 

488
00:32:45,560 --> 00:32:48,560
your. 
Environment coming back coming 

489
00:32:48,600 --> 00:32:49,360
back here we. 
Go. 

490
00:32:49,360 --> 00:32:50,760
There we go. 
OK. 

491
00:32:52,000 --> 00:32:55,200
So let's see here. 
I wanna do that or something. 

492
00:32:55,200 --> 00:33:00,280
So what am I trying to do? 
I wanna do this. 

493
00:33:01,280 --> 00:33:03,160
I was trying to get the live 
share to work. 

494
00:33:03,200 --> 00:33:06,200
Is that link still active? 
Let's do that for now. 

495
00:33:08,880 --> 00:33:14,600
Let me check live share. 
Let me send it over to you. 

496
00:33:16,080 --> 00:33:19,520
Anyone else that wants to 
completely mess with us I could 

497
00:33:19,520 --> 00:33:22,040
send you the live share link. 
Just let me know is that. 

498
00:33:23,200 --> 00:33:29,720
It in the chat now? 
Or is that the old one OK? 

499
00:33:33,280 --> 00:33:36,320
OK, so I do have this notion to 
mark down. 

500
00:33:36,320 --> 00:33:39,840
I don't know that we need that 
at the moment, so I'm going to 

501
00:33:39,840 --> 00:33:44,960
delete that too. 
Oh, lots of, lots of complaints.

502
00:33:45,320 --> 00:33:49,440
Do I trust this workspace? 
No, I wouldn't. 

503
00:33:53,640 --> 00:33:56,280
I do. 
I think I'm I still don't see 

504
00:33:56,280 --> 00:33:58,640
anything. 
This thing is being all finicky.

505
00:34:00,640 --> 00:34:03,320
We're just we're just going fast
and furious here, folks. 

506
00:34:03,320 --> 00:34:05,880
Let's see. 
Oh, boy. 

507
00:34:06,160 --> 00:34:08,360
All right. 
I should just make this. 

508
00:34:09,080 --> 00:34:10,360
Let's see how many of these I 
have. 

509
00:34:10,600 --> 00:34:14,320
Oh yeah, let me just pull that 
over from our old one. 

510
00:34:18,679 --> 00:34:21,480
You know, the only thing I don't
like about doing this kind of 

511
00:34:21,480 --> 00:34:25,480
setup is I guarantee I'm going 
to show one of our public keys 

512
00:34:25,480 --> 00:34:26,040
soon. 
Really. 

513
00:34:26,719 --> 00:34:32,840
Oh yeah, I can't get into the 
public link either, so I don't 

514
00:34:32,840 --> 00:34:33,600
know what's going on. 
Yeah. 

515
00:34:34,960 --> 00:34:37,440
That's a bummer. 
We'll have to work on that for 

516
00:34:37,440 --> 00:34:37,960
next time. 
Oh. 

517
00:34:38,440 --> 00:34:42,440
That that worked. 
Just oh, there you go. 

518
00:34:42,920 --> 00:34:45,159
Oh, I like the face. 
I could work with that. 

519
00:34:45,760 --> 00:34:52,440
I love that. 
See what am I looking for? 

520
00:34:52,840 --> 00:35:00,320
Post type? 
There we go, this should help us

521
00:35:03,560 --> 00:35:08,520
here. 
I'm looking back and forth like 

522
00:35:08,520 --> 00:35:10,160
at your screen and then at my 
screen. 

523
00:35:10,920 --> 00:35:14,840
Is it freaking you out? 
It is, and it's so fast. 

524
00:35:14,920 --> 00:35:22,400
Doing that always freaks me out.
It said Alex, another Alex. 

525
00:35:22,440 --> 00:35:25,080
We have so many Alex. 
Send it. 

526
00:35:25,080 --> 00:35:27,400
Everything will be fine. 
Just send it. 

527
00:35:27,560 --> 00:35:31,240
It's fine. 
Just send it. 

528
00:35:32,000 --> 00:35:35,040
Sure I can make that a constant.
So complaining. 

529
00:35:35,240 --> 00:35:38,440
Come on. 
You want to TypeScript, you're 

530
00:35:38,440 --> 00:35:40,760
going to get some red lines 
angry at you. 

531
00:35:42,600 --> 00:35:45,480
I don't get the whole unsafe 
chaining, but whatever. 

532
00:35:45,480 --> 00:35:47,840
Oh, you know what? 
Put the little ones like this. 

533
00:35:48,000 --> 00:35:51,040
Yeah, yeah. 
And it wouldn't work. 

534
00:35:54,040 --> 00:35:55,680
What does it say when you hover 
over it? 

535
00:35:56,280 --> 00:35:59,000
Oh, I guess I can too. 
Let's say if uses of optional 

536
00:35:59,000 --> 00:36:04,600
chaining if it's short circuits 
with undefined, yeah, OK, that's

537
00:36:04,600 --> 00:36:07,760
probably because if you were to 
do this, you would then have to 

538
00:36:07,760 --> 00:36:11,960
do or that, right? 
Yep. 

539
00:36:13,440 --> 00:36:16,520
Oh, Alex. 
So that's silly. 

540
00:36:20,960 --> 00:36:24,800
Cool getting there. 
A lot of warnings. 

541
00:36:25,200 --> 00:36:29,520
Probably another cons really 
adamant about using construction

542
00:36:29,520 --> 00:36:34,760
these days. 
And you better not put any's in 

543
00:36:34,760 --> 00:36:37,320
there. 
Oh I know I already, I already 

544
00:36:37,600 --> 00:36:40,160
tried to say everyone type 
scripts. 

545
00:36:40,160 --> 00:36:43,520
I'm sorry. 
This is like for real. 

546
00:36:43,520 --> 00:36:46,400
If you're using TypeScript, 
prepare for cipher code and 

547
00:36:46,400 --> 00:36:48,800
squiggly lines. 
Lots of squiggly lines. 

548
00:36:50,120 --> 00:36:53,120
Do you like the squiggles? 
It will save you in production. 

549
00:36:53,120 --> 00:36:58,920
Just FYI, I don't even need this
section. 

550
00:36:59,000 --> 00:37:03,200
We're not gonna do courses right
now, so let's just. 

551
00:37:03,320 --> 00:37:07,840
You have got so much code in 
like the minute that I was, well

552
00:37:08,120 --> 00:37:10,400
it felt like a minute. 
Oh, I dumped this all in from 

553
00:37:10,440 --> 00:37:14,520
Coding Cats. 
So I did write this all this 

554
00:37:14,520 --> 00:37:19,520
week though, which has been fun.
Let's see here. 

555
00:37:20,200 --> 00:37:24,080
So this actually comes from 
Notion, so we should be OK 

556
00:37:24,080 --> 00:37:27,200
there. 
Use any everywhere. 

557
00:37:27,760 --> 00:37:29,960
Everywhere. 
Just use it everywhere. 

558
00:37:31,480 --> 00:37:33,160
I'm just going to use it right 
here too. 

559
00:37:34,080 --> 00:37:37,000
I do love String yard because 
it's so easy to just put a 

560
00:37:37,000 --> 00:37:41,720
comment up. 
Use any wait, I've tried any 

561
00:37:41,720 --> 00:37:44,840
anywhere. 
How do you any every? 

562
00:37:44,880 --> 00:37:46,840
No, it's not work. 
Just kidding. 

563
00:37:48,240 --> 00:37:49,640
Bad jokes. 
It's a Friday. 

564
00:37:52,560 --> 00:38:00,000
I feel like I'm getting close. 
Fix all auto fixable dumb thing.

565
00:38:01,640 --> 00:38:06,600
OK, one more config thing. 
So the utilities plan, I can use

566
00:38:06,600 --> 00:38:08,360
that for everything right? 
So. 

567
00:38:08,480 --> 00:38:12,600
It is called notion dot server 
dot TS. 

568
00:38:12,640 --> 00:38:15,000
I'm very confused about what 
you're creating here. 

569
00:38:15,720 --> 00:38:18,920
Is. 
This like a utility thing to 

570
00:38:18,920 --> 00:38:21,160
help OK. 
Yep, and I'm about to do an 

571
00:38:21,160 --> 00:38:25,320
actual utility class or a config
class as well 'cause I like that

572
00:38:25,320 --> 00:38:27,520
so I'm going to be. 
I'm getting confused with your 

573
00:38:27,520 --> 00:38:30,400
folder structure. 
It it sucks, we'll talk about 

574
00:38:30,440 --> 00:38:32,760
it. 
Give me one more 2nd and I think

575
00:38:32,760 --> 00:38:35,120
we'll be really really close to 
being there. 

576
00:38:37,440 --> 00:38:40,920
So at U did I say config? 
Config. 

577
00:38:42,520 --> 00:38:46,640
There's a missing eye in there. 
Oh my goodness, this is what 

578
00:38:46,640 --> 00:38:49,560
pair programming I think should 
have been a really big thing, 

579
00:38:49,600 --> 00:38:52,800
don't you? 
Yeah, yeah, I think it's gonna 

580
00:38:52,800 --> 00:38:53,960
be in the future. 
I. 

581
00:38:54,480 --> 00:38:57,640
Don't know it costs too much 
people say, but I think it saved

582
00:38:57,640 --> 00:39:00,360
a lot of production bugs 
personally. 

583
00:39:01,360 --> 00:39:04,040
I think it made us produce 
things faster at Grainger. 

584
00:39:04,040 --> 00:39:06,720
Like we pair programmed on the 
last few components that we did 

585
00:39:06,720 --> 00:39:09,960
and I feel like it just made, I 
don't know, you can think 

586
00:39:09,960 --> 00:39:12,280
through things and rubber duck 
faster. 

587
00:39:12,960 --> 00:39:14,080
Yeah. 
I mean, especially with this 

588
00:39:14,080 --> 00:39:16,320
remote first work environment 
we're in now. 

589
00:39:16,960 --> 00:39:20,360
Yeah, for sure. 
I forgot what I was looking for.

590
00:39:21,160 --> 00:39:24,720
Oh yeah, config. 
So I have a config file 

591
00:39:24,720 --> 00:39:29,360
somewhere, Notion suite, a lot 
of things in there. 

592
00:39:31,440 --> 00:39:32,400
Config. 
Config. 

593
00:39:33,600 --> 00:39:36,960
Oh my gosh, happy paste. 
Why would I paste? 

594
00:39:42,600 --> 00:39:46,440
Thanks there. 
All right, so for those who are 

595
00:39:46,440 --> 00:39:49,040
completely lost, basically I'm 
just trying to get to the point 

596
00:39:49,040 --> 00:39:53,120
where we are able to call Notion
pretty easily and we can talk 

597
00:39:53,120 --> 00:39:55,080
about like what is happening in 
it. 

598
00:39:55,200 --> 00:39:57,840
So we just don't waste a ton of 
time doing that. 

599
00:39:58,520 --> 00:40:02,040
And then Brittany will get me 
back to Sveltiness and hopefully

600
00:40:02,040 --> 00:40:07,400
we can we can build off that. 
Looks like I have this right 

601
00:40:07,400 --> 00:40:10,840
here is what we are looking for.
So I need to import. 

602
00:40:12,360 --> 00:40:25,360
Config from at config notion. 
Why doesn't it so? 

603
00:40:25,400 --> 00:40:27,840
Because you named it notion dot 
server. 

604
00:40:30,280 --> 00:40:37,600
Where is the spelled config 
again config. 

605
00:40:38,080 --> 00:40:41,240
That's right, that's not the 
problem, it's that notion dot 

606
00:40:41,240 --> 00:40:44,360
server dot TS file. 
So do you need like the dot 

607
00:40:44,360 --> 00:40:48,600
server? 
No, this so that that part's 

608
00:40:48,600 --> 00:40:50,200
good. 
We're we're already using the 

609
00:40:50,240 --> 00:40:53,440
notion piece. 
Why is it mad at you? 

610
00:40:53,600 --> 00:40:55,360
Let's hover over that and. 
Yes. 

611
00:40:55,840 --> 00:40:59,200
Cannot find module or its 
corresponding type declarations.

612
00:40:59,200 --> 00:41:02,200
This is. 
Do you have these felt VS Code 

613
00:41:02,600 --> 00:41:07,560
extension? 
Probably not this one. 

614
00:41:08,000 --> 00:41:11,440
Looks like you do, yeah. 
Sometimes this gets a little 

615
00:41:11,440 --> 00:41:15,480
buggy for me honestly and it's 
just it yells at you and it's 

616
00:41:15,480 --> 00:41:17,720
fine. 
So I would just ignore it for 

617
00:41:17,720 --> 00:41:20,680
now. 
I'll you can try to reload your 

618
00:41:20,680 --> 00:41:23,000
window too and sometimes that 
fixes it. 

619
00:41:25,360 --> 00:41:29,000
Up first and then. 
It's reload window I. 

620
00:41:29,080 --> 00:41:31,720
Don't know if I reload the 
window if it'll lose you but. 

621
00:41:32,680 --> 00:41:37,200
Oh, maybe go TypeScript server? 
Yeah, maybe. 

622
00:41:37,960 --> 00:41:39,280
I did that. 
That didn't work. 

623
00:41:40,800 --> 00:41:44,280
Reload is the word I'm looking 
for. 

624
00:41:44,600 --> 00:41:48,040
Yeah, it did end my session, but
that's fine, I can work this way

625
00:41:48,080 --> 00:41:50,400
today. 
Erasure, but either way. 

626
00:41:52,200 --> 00:41:56,280
So I had this working because it
works within here. 

627
00:41:57,200 --> 00:42:00,920
So this works like when I pull 
in services file. 

628
00:42:00,920 --> 00:42:06,640
You know what I mean? 
It works inside of TS. 

629
00:42:07,120 --> 00:42:10,680
That's it, Yeah, save it and 
it's not working. 

630
00:42:10,680 --> 00:42:11,800
Is that what you're saying in 
the? 

631
00:42:12,280 --> 00:42:17,520
It won't work inside of this. 
It's almost like because this 

632
00:42:17,520 --> 00:42:20,760
isn't in the spelt area. 
I don't know, that's weird. 

633
00:42:20,880 --> 00:42:24,680
No, it's still fine because it's
in the SRC folder and the path 

634
00:42:24,680 --> 00:42:27,880
is right, isn't it? 
So it's slash. 

635
00:42:29,480 --> 00:42:33,840
The path in your spelt config 
file was slash SRC slash config,

636
00:42:33,840 --> 00:42:37,640
right? 
Let me open it back up. 

637
00:42:42,120 --> 00:42:44,200
Yeah, I mean, it's the same as 
this one. 

638
00:42:47,480 --> 00:42:52,000
Am I crazy at services at 
config? 

639
00:42:53,000 --> 00:42:57,160
Maybe we should just use Lib. 
If you ain't too high env in the

640
00:42:57,160 --> 00:43:01,160
Explorer, there's setting. 
Oh yes, that is a good call. 

641
00:43:01,560 --> 00:43:04,000
We should do that. 
Oh, there is, yeah. 

642
00:43:04,000 --> 00:43:07,920
I've heard that there's like an 
extension or something you can 

643
00:43:07,920 --> 00:43:10,520
use too that will. 
I guess just directly a setting 

644
00:43:10,520 --> 00:43:13,000
in VS Code, but I could be I 
could be right. 

645
00:43:13,000 --> 00:43:18,400
Integrate it. 
Right, this is annoying so I'm 

646
00:43:18,400 --> 00:43:24,040
just going to grab this and I 
think it'll do the same thing. 

647
00:43:27,640 --> 00:43:30,800
Or actually we could even put it
in the services file, I guess 

648
00:43:35,120 --> 00:43:42,760
for sake of time. 
And just do a dot slash I mean. 

649
00:43:45,160 --> 00:43:47,400
OK. 
That works. 

650
00:43:47,400 --> 00:43:51,080
Only thing I haven't done is 
this dot env but on a Mac I 

651
00:43:51,080 --> 00:43:53,280
don't think I need to do that 
for all these. 

652
00:43:53,280 --> 00:43:56,720
So all your Windows folks need 
dot env. 

653
00:43:56,800 --> 00:44:05,520
Not this guy. 
I'm not talking about there. 

654
00:44:05,520 --> 00:44:09,680
We're going to do this because 
Alex, the other Alex or the 

655
00:44:09,680 --> 00:44:12,960
other other Alex is suggesting 
it and I like that. 

656
00:44:13,560 --> 00:44:16,440
So let's go into. 
I'll do it on my user settings 

657
00:44:16,440 --> 00:44:32,560
for now. 
Files exclude star dot EMB Think

658
00:44:33,440 --> 00:44:34,320
yeah. 
That's sure. 

659
00:44:37,560 --> 00:44:40,560
Oh, a star at that. 
You have a star at the end? 

660
00:44:40,560 --> 00:44:41,680
Yeah. 
For the local, Yep. 

661
00:44:42,200 --> 00:44:43,240
Look at that. 
Gone. 

662
00:44:44,000 --> 00:44:47,600
I still will probably somehow go
like this and find it. 

663
00:44:47,680 --> 00:44:50,600
Oh, touch. 
It oh oh, it doesn't even find 

664
00:44:50,600 --> 00:44:52,720
it in the. 
I like that. 

665
00:44:52,720 --> 00:44:55,120
I'm going to do that for node 
modules next. 

666
00:44:56,240 --> 00:45:01,400
We have 15 minutes. 
Oh, no, no, 45 minutes 40. 5. 

667
00:45:01,840 --> 00:45:06,760
Minutes. 90 minutes. 
Oh then I gotta go in 15, maybe 

668
00:45:06,760 --> 00:45:11,600
in like 10 minutes. 
OK, so basically we have gotten 

669
00:45:11,600 --> 00:45:16,560
nowhere except showing off how 
to get this started. 

670
00:45:16,560 --> 00:45:21,160
So I what I really want to get 
to is now that I think we are 

671
00:45:21,160 --> 00:45:25,440
able to get posts, I think 
because everything's checking 

672
00:45:25,440 --> 00:45:29,480
out so far, sure. 
Because we can't see. 

673
00:45:29,480 --> 00:45:31,480
So maybe we should get it 
imported. 

674
00:45:31,480 --> 00:45:33,480
Maybe I should tell you this 
felt stuff before. 

675
00:45:33,480 --> 00:45:36,840
I yeah, exactly how do how do I,
I'm gonna pull that in. 

676
00:45:37,320 --> 00:45:40,040
So let's go back to local host 
3000 there. 

677
00:45:40,800 --> 00:45:46,560
OK, I got actually running. 
Your other screen, oh, it's not 

678
00:45:46,560 --> 00:45:48,800
running, I see. 
Oh. 

679
00:45:49,440 --> 00:45:54,480
Tab OK, so that is your main 
index dot spelt file in the 

680
00:45:54,480 --> 00:45:58,040
routes directory, but we need 
the podcast, so we need to go to

681
00:45:58,040 --> 00:46:04,320
slash podcast. 
OK, so it's undefined. 

682
00:46:05,760 --> 00:46:08,920
Why is it undefined? 
I don't know. 

683
00:46:08,920 --> 00:46:12,040
OK, because you're using an 
endpoint, the index dot TS file,

684
00:46:12,040 --> 00:46:13,600
and you're not bringing anything
in. 

685
00:46:13,960 --> 00:46:18,360
So a prop and spelt. 
It uses kind of a module thing 

686
00:46:18,360 --> 00:46:23,440
where you import and export. 
So you export, let your variable

687
00:46:23,440 --> 00:46:25,720
name. 
So post is what you're bringing 

688
00:46:25,720 --> 00:46:27,480
in. 
Here I export. 

689
00:46:28,000 --> 00:46:32,000
So you're yeah. 
So that is no, those posts are 

690
00:46:32,000 --> 00:46:36,960
being returned and so you're 
going to put them into the index

691
00:46:36,960 --> 00:46:39,440
dot spell file. 
But to do that, it needs to 

692
00:46:39,440 --> 00:46:43,720
export the variable to grab it. 
So it's a prop. 

693
00:46:43,720 --> 00:46:48,640
So just think of it as a prop 
export, let post. 

694
00:46:52,200 --> 00:46:56,720
I use that module because it's 
like exporting allows other 

695
00:46:56,720 --> 00:47:00,360
things to access it. 
So right now that endpoint is 

696
00:47:00,360 --> 00:47:06,320
accessing that prop post OK and 
it's still not coming through. 

697
00:47:06,320 --> 00:47:07,880
So now you need to console log 
it. 

698
00:47:07,880 --> 00:47:10,200
Or what about the put some 
markup? 

699
00:47:10,760 --> 00:47:16,520
Body automatically do that? 
Like do I have to say body or 

700
00:47:16,520 --> 00:47:19,280
anything like that? 
Body and then no, that's that's 

701
00:47:19,720 --> 00:47:22,320
the way that that works. 
So you put an object, return an 

702
00:47:22,320 --> 00:47:25,640
object to the body, and then 
it's post, and then post should 

703
00:47:25,640 --> 00:47:27,720
come through as. 
Oh, you know. 

704
00:47:27,760 --> 00:47:29,520
What a prop. 
This is failing on the. 

705
00:47:30,560 --> 00:47:33,880
On a different I, I figured it 
was failing somewhere else. 

706
00:47:34,360 --> 00:47:37,120
OK, I'm gonna, I'm gonna go off 
screen once is there? 

707
00:47:37,240 --> 00:47:42,040
Can you debug easily on the 
server side or no I don't know. 

708
00:47:42,680 --> 00:47:45,440
You can, I mean you can console 
log in there and it will console

709
00:47:45,680 --> 00:47:50,960
out that. 
I don't have any server side 

710
00:47:50,960 --> 00:47:53,000
rendered sites. 
I have a static site. 

711
00:47:53,800 --> 00:47:59,920
Failed request URL invalid. 
Boy I wish I had more details 

712
00:47:59,920 --> 00:48:07,400
than invalid request URL. 
At Notion HQ client request fail

713
00:48:07,400 --> 00:48:11,120
code. 
I feel like maybe the config is 

714
00:48:11,200 --> 00:48:14,120
off. 
It sounds like this part's 

715
00:48:14,120 --> 00:48:17,720
working, so maybe I do need the 
dot env, I don't know. 

716
00:48:18,200 --> 00:48:24,520
Did you not install dot env? 
I wanna yeah I did OK. 

717
00:48:25,800 --> 00:48:30,680
I kind of wondering though in 
our config if I need to put that

718
00:48:30,680 --> 00:48:36,400
on all of this. 
I also OK I'm going to go off 

719
00:48:36,400 --> 00:48:40,320
screen one SEC. 
Oh, yes, on all of those, those 

720
00:48:40,320 --> 00:48:43,480
need to use dot EMV because 
you're using V and so you have 

721
00:48:43,480 --> 00:48:47,240
to use like the Veat dot EMV 
stuff if you're exposing 

722
00:48:47,560 --> 00:48:49,120
variables. 
I thought that was the one on 

723
00:48:49,120 --> 00:48:53,960
the client side for V. 
No, it does it on both sides. 

724
00:48:54,040 --> 00:48:56,840
OK, OK. 
OK, OK. 

725
00:48:58,200 --> 00:49:00,520
We can. 
We can do this quick, hopefully.

726
00:49:01,720 --> 00:49:04,240
Yeah, James, that's what we 
think is happening is the dot 

727
00:49:04,240 --> 00:49:07,480
EMV variables are not coming in,
but he was using process dot EMV

728
00:49:07,480 --> 00:49:11,840
instead of dot EMV in that file.
So he's going to try and fix 

729
00:49:11,840 --> 00:49:14,040
that. 
Oops. 

730
00:49:18,520 --> 00:49:21,240
Vt doesn't handle the private 
ones. 

731
00:49:21,360 --> 00:49:25,440
Vt does handle them on the 
server and the client though, so

732
00:49:25,440 --> 00:49:29,480
it gets from the endpoint and 
will import that import dot meta

733
00:49:29,480 --> 00:49:34,400
dot EMV that V in. 
The thing that you have to do 

734
00:49:34,400 --> 00:49:36,800
will expose to the client 
though, even though it reads it 

735
00:49:36,800 --> 00:49:42,760
on the server. 
This or that. 

736
00:49:43,400 --> 00:49:45,240
He's saying he would have 
thought it would still be 

737
00:49:45,480 --> 00:49:53,080
processed dot EMV, yeah. 
I feel like the same. 

738
00:49:53,200 --> 00:49:57,720
So the reason I'm off screen. 
I'm going to console log the 

739
00:49:57,720 --> 00:50:01,200
config and see if it's actually 
producing anything. 

740
00:50:01,600 --> 00:50:14,680
OK, console log config. 
I didn't know we were going to 

741
00:50:14,680 --> 00:50:17,880
be going so far into the EMV and
server side stuff today. 

742
00:50:17,880 --> 00:50:19,400
I would have done a little more 
research. 

743
00:50:19,600 --> 00:50:26,280
So that came out as a object. 
Instead of an array. 

744
00:50:28,000 --> 00:50:30,760
Instead of a string. 
Actually is kind of what I was 

745
00:50:30,760 --> 00:50:38,240
expecting. 
Oh Yep, Anthony was saying V has

746
00:50:38,240 --> 00:50:42,760
the whole import dot meta thing,
but it will take your 

747
00:50:42,760 --> 00:50:45,880
environment variables from the 
server so you can use them on 

748
00:50:45,880 --> 00:50:48,040
the server, but they're also 
exposed to the client. 

749
00:50:48,040 --> 00:50:51,160
So endpoints and spelt run on 
the server and then run again on

750
00:50:51,160 --> 00:50:55,680
the client with V Somehow I 
don't really understand how all 

751
00:50:55,680 --> 00:50:58,720
that works. 
But they don't stay private is 

752
00:50:58,720 --> 00:51:00,560
the big thing that you need to 
take from that. 

753
00:51:01,720 --> 00:51:03,840
So don't use the V environment 
variables. 

754
00:51:05,600 --> 00:51:08,800
And James also scared me because
he didn't get private 

755
00:51:08,880 --> 00:51:13,600
environment variables working. 
I completely agree with that. 

756
00:51:15,000 --> 00:51:16,760
But Anthony had that link I 
didn't. 

757
00:51:16,960 --> 00:51:20,600
I need to get. 
That yeah, I have it open right 

758
00:51:20,640 --> 00:51:25,440
here. 
It's it's the same. 

759
00:51:25,600 --> 00:51:29,800
I don't know what the dot EMV 
slash config actually does 

760
00:51:29,800 --> 00:51:32,440
though. 
Maybe that's what's that's 

761
00:51:32,440 --> 00:51:39,360
what's going wrong. 
Why am I not able to? 

762
00:51:39,520 --> 00:51:43,520
OK, I'm going to show this 
without any of the console log. 

763
00:51:44,520 --> 00:51:49,160
Did you import dot EMV config? 
That's what I'm wondering, if 

764
00:51:49,240 --> 00:51:56,720
I'm importing this incorrectly. 
Things are breaking down at my 

765
00:51:56,720 --> 00:52:01,320
house. 
I'm wondering if I need to do it

766
00:52:01,360 --> 00:52:07,560
like that. 
Can you even hear like the 

767
00:52:07,560 --> 00:52:09,640
backyard stuff going on right 
now? 

768
00:52:09,720 --> 00:52:13,200
You can't. 
From some of it, not all of it. 

769
00:52:13,440 --> 00:52:16,960
I wish I could take everyone on 
a tour of my backyard right now.

770
00:52:16,960 --> 00:52:20,760
There's some excavators, some 
sand, a pool frame and a big 

771
00:52:20,760 --> 00:52:24,200
pile of dirt over there that 
they're dealing with, and I got 

772
00:52:24,200 --> 00:52:27,160
a lot of stuff going on. 
It's fun. 

773
00:52:27,320 --> 00:52:31,440
OK, let's talk through this. 
I go here, it's calling this. 

774
00:52:31,800 --> 00:52:35,640
This file should have this 
happening. 

775
00:52:38,360 --> 00:52:42,160
Import for ESM? 
Where did you see that? 

776
00:52:42,160 --> 00:52:51,600
Whoops. 
What is? 

777
00:52:52,160 --> 00:52:56,160
No really what is this whole dot
EMV? 

778
00:52:56,240 --> 00:52:59,360
I'm kind of wondering if I just 
don't use it if it would work. 

779
00:52:59,360 --> 00:53:02,320
I'm surprised it's not just 
pulling in process environment. 

780
00:53:04,880 --> 00:53:16,080
It blows my mind. 
I'm going to try pulling up that

781
00:53:16,080 --> 00:53:26,520
GitHub repo. 
I agree with the whole thing 

782
00:53:26,520 --> 00:53:30,960
with James. 
Maybe maybe we we need to write 

783
00:53:30,960 --> 00:53:33,600
up a post on how to get these 
environment variables in. 

784
00:53:33,720 --> 00:53:37,600
I thought we were doing, oh, the
Jason dot JS is that what's 

785
00:53:37,600 --> 00:53:43,000
happening is so there's this 
kind of weird convention that 

786
00:53:43,000 --> 00:53:46,000
we're kind of doing away with 
and spelt Kit to use to return 

787
00:53:46,000 --> 00:53:49,680
Jason from an endpoint. 
You had to name it dot Jason dot

788
00:53:49,880 --> 00:53:54,160
JS or dot TS. 
So is it not returning Jason? 

789
00:53:54,400 --> 00:53:57,600
We're not even, we're not even 
making the call correctly yet. 

790
00:53:57,800 --> 00:54:03,760
So we're not that far yet. 
Are you laughing because I said 

791
00:54:03,760 --> 00:54:06,240
it's kind of weird? 
It's really weird syntax. 

792
00:54:06,240 --> 00:54:10,360
I don't like it. 
Bounce off again and see if this

793
00:54:10,360 --> 00:54:18,760
console log will actually work. 
OK, so when I do that, and I'll 

794
00:54:18,880 --> 00:54:23,240
show this because it didn't 
actually work, this comes out as

795
00:54:23,240 --> 00:54:26,120
objects and that's kind of the 
next step of. 

796
00:54:26,240 --> 00:54:30,520
I need to figure that out. 
Well, that looks like that needs

797
00:54:30,680 --> 00:54:36,680
to be parsed. 
I'm wondering if that env is not

798
00:54:36,920 --> 00:54:40,480
coming in correctly if it's 
coming out with that object like

799
00:54:40,480 --> 00:54:45,080
that. 
The weird thing is, anytime I 

800
00:54:45,080 --> 00:54:49,160
like reload it doesn't console 
log every time, which I find is 

801
00:54:49,160 --> 00:54:57,550
very bizarre. 
Like hot module reloading isn't 

802
00:54:57,550 --> 00:54:59,590
working and isn't console 
logging every time. 

803
00:55:02,430 --> 00:55:04,870
No, it's just me because the 
token's undefined. 

804
00:55:04,870 --> 00:55:06,230
OK this. 
Makes more sense. 

805
00:55:06,800 --> 00:55:10,760
So it is not pulling in process 
dot env still. 

806
00:55:16,360 --> 00:55:22,120
So you're still importing wrong.
Anthony's saying import dot env 

807
00:55:22,280 --> 00:55:28,720
from with quotes dot env is for 
MJS. 

808
00:55:30,760 --> 00:55:35,800
And I tried it with config. 
So how do you do that? 

809
00:55:36,680 --> 00:55:41,320
Import dot envy from. 
With quotes. 

810
00:55:44,560 --> 00:55:47,640
Can we see the code again? 
Yeah, absolutely. 

811
00:55:54,580 --> 00:55:59,340
Import dot envy from dot envy, 
not the config I don't think. 

812
00:55:59,740 --> 00:56:02,460
I tried it and just straight up.
Oh, and it didn't work. 

813
00:56:03,660 --> 00:56:07,580
No, I'm not going to test this 
with that test with that at 

814
00:56:07,580 --> 00:56:12,880
least Lioka. 
First line. 

815
00:56:14,200 --> 00:56:17,200
I feel like we're playing that 
game first letter. 

816
00:56:18,400 --> 00:56:21,160
And it's at a delay, so it's 
super fun. 

817
00:56:22,560 --> 00:56:24,560
I love it. 
Thank you for sticking with us. 

818
00:56:25,840 --> 00:56:28,120
Change to. 
Yeah, I had it that way. 

819
00:56:28,240 --> 00:56:33,920
That's for interest. 
I might pop back on in a minute,

820
00:56:33,920 --> 00:56:36,800
but I have to run to the bus 
stop to pick my kids up from the

821
00:56:36,800 --> 00:56:38,520
last day of school. 
I have so much. 

822
00:56:38,560 --> 00:56:42,040
Going. 
No, they probably don't, but 

823
00:56:42,040 --> 00:56:45,080
they'll probably yell at me when
they get home if I don't so. 

824
00:56:45,760 --> 00:56:48,200
Oh yeah, I think by the time you
get back we might have this 

825
00:56:48,200 --> 00:56:49,560
fixed. 
OK. 

826
00:56:51,520 --> 00:56:56,440
Thank you Anthony and James for.
I agree with that, but the 

827
00:56:56,440 --> 00:56:58,480
problem at that point is 
process. 

828
00:56:58,480 --> 00:57:02,880
CNV does not come in then. 
I will be back in a few. 

829
00:57:03,600 --> 00:57:08,760
Bye. 
So the the problem, Anthony, 

830
00:57:08,760 --> 00:57:11,680
maybe I should invite you to the
stream so we could talk more 

831
00:57:11,680 --> 00:57:12,800
directly. 
What do you think? 

832
00:57:13,480 --> 00:57:15,000
Are are you available? 
Anthony? 

833
00:57:15,000 --> 00:57:18,160
If you are, I'll send you the 
stream yard link and everyone 

834
00:57:18,160 --> 00:57:21,080
can see it anyway, so feel free 
to join. 

835
00:57:21,080 --> 00:57:27,000
Apparently Britt's doing stuff. 
I'm gonna, I'm gonna take her 

836
00:57:27,000 --> 00:57:45,680
off. 
I feel like this should work no 

837
00:57:45,680 --> 00:58:38,240
matter what. 
OK, OK, let's let's start all 

838
00:58:38,240 --> 00:58:41,200
over. 
OK, so you're saying I don't 

839
00:58:41,200 --> 00:58:46,000
need what? 
So you need import dot UV. 

840
00:58:48,960 --> 00:58:51,600
Yeah, that's that's why I'm 
thinking come join me. 

841
00:58:51,920 --> 00:58:55,240
I'll I'll DM you the link or 
discord you the link. 

842
00:58:55,240 --> 00:59:03,960
I guess while I'm doing that, 
let's see let's see if I can get

843
00:59:03,960 --> 00:59:16,160
Anthony to actually join me. 
Anthony BJC haste like 

844
00:59:29,600 --> 00:59:32,040
OK, we might get some more 
joiners. 

845
00:59:32,440 --> 00:59:35,760
It looks like I I need some some
actual help from real 

846
00:59:35,760 --> 00:59:40,960
programmers. 
So at this point all we're 

847
00:59:40,960 --> 00:59:44,600
trying to do is get these 
processing these look at that. 

848
00:59:44,600 --> 00:59:50,040
There he is just like that like 
ask for help when they arrive. 

849
00:59:50,080 --> 00:59:53,680
It's amazing rock. 
So I've copy and pasted the same

850
00:59:53,680 --> 00:59:57,280
snippet like 10 times and you're
you're not actually doing it the

851
00:59:57,280 --> 01:00:01,400
way I'm writing it. 
I can't copy the darn like when 

852
01:00:01,400 --> 01:00:04,640
you write it so it says import 
and then are you just saying? 

853
01:00:04,640 --> 01:00:06,840
That's it. 
No, I'm saying don't import from

854
01:00:06,840 --> 01:00:07,680
anything. 
Yeah. 

855
01:00:08,200 --> 01:00:09,280
This. 
Yes. 

856
01:00:09,280 --> 01:00:13,120
And then get rid of dot EMV 
online for like just have the 

857
01:00:13,120 --> 01:00:16,480
process dot EMV dot Notion 
token, like you don't need any 

858
01:00:16,480 --> 01:00:25,760
of those dot Emvs in there. 
Yeah, what you could do is you 

859
01:00:25,760 --> 01:00:30,200
can set all of them to process 
dot UV, do all the tokens at 

860
01:00:30,200 --> 01:00:31,280
once. 
But let's not worry about that 

861
01:00:31,280 --> 01:00:33,840
yet. 
Let's just get this to work, All

862
01:00:33,840 --> 01:00:34,880
right? 
See what happens. 

863
01:00:35,080 --> 01:00:38,880
So this is still not like 
working when I console log just 

864
01:00:38,880 --> 01:00:43,680
even this like if I just write 
that forget this whole like 

865
01:00:43,680 --> 01:00:53,160
config thing undefined. 
OK, so go to your. 

866
01:00:53,480 --> 01:01:03,080
Package dot Jason and then your 
type. 

867
01:01:03,080 --> 01:01:39,830
Module, OK, give me one second. 
Are they actually set in your 

868
01:01:39,830 --> 01:01:44,790
dot EMV file? 
You know what does it have to be

869
01:01:44,790 --> 01:01:47,110
called? 
A dot EMV or dot EMV? 

870
01:01:47,110 --> 01:01:48,590
Yes. 
Literally needs to the file 

871
01:01:48,590 --> 01:01:51,230
needs to be dot EMV I. 
Bet you, I bet you. 

872
01:01:51,430 --> 01:01:56,470
Now that you're saying this, now
that we hid the file, it's a 

873
01:01:56,470 --> 01:02:00,270
little more challenging. 
The dot EMV dot local. 

874
01:02:00,270 --> 01:02:02,270
Yes. 
Try to change that to just dot 

875
01:02:02,310 --> 01:02:05,160
EMV. 
Oh, this rock. 

876
01:02:05,160 --> 01:02:06,120
Come on. 
Word. 

877
01:02:09,640 --> 01:02:11,840
Boom, boom. 
All right, Got. 

878
01:02:12,600 --> 01:02:15,120
It. 
You are amazing, thank you. 

879
01:02:16,360 --> 01:02:18,200
Sweet. 
Feel free to stick around. 

880
01:02:18,200 --> 01:02:19,640
I don't know when Brittany's 
coming back. 

881
01:02:19,640 --> 01:02:23,760
This whole bus stop. 
Thing How long are you shaving 

882
01:02:23,800 --> 01:02:26,720
for? 
We got another half hour ish 

883
01:02:26,720 --> 01:02:29,520
we're trying to do like 90 
minutes yes James, it worked. 

884
01:02:29,520 --> 01:02:33,000
So if if you're you're 
wondering, we renamed it to a 

885
01:02:33,000 --> 01:02:36,120
dot env file I had as dot envy 
local. 

886
01:02:36,440 --> 01:02:39,720
I don't know if you can specify 
that like further and choose 

887
01:02:39,720 --> 01:02:44,280
your dot envy name I'm. 
Going to hop off those actually.

888
01:02:44,760 --> 01:02:46,840
I'm kind of sick right now so. 
All right, bud. 

889
01:02:46,960 --> 01:02:48,320
Thanks for joining. 
Really appreciate it. 

890
01:02:48,320 --> 01:02:49,480
Yeah. 
No problem. 

891
01:02:49,680 --> 01:02:56,360
Good luck. 
So yeah, James, question was it 

892
01:02:56,360 --> 01:02:57,720
worked? 
Question. 

893
01:02:58,760 --> 01:03:03,080
So the import, we just imported 
the entire package it looks like

894
01:03:03,480 --> 01:03:06,280
directly. 
So if we take a look at that, it

895
01:03:06,280 --> 01:03:08,880
has a top level export for their
TS. 

896
01:03:08,880 --> 01:03:12,240
That's why that came in. 
We removed all the plus things 

897
01:03:12,240 --> 01:03:15,080
and then just got this. 
I don't know if that dot envy 

898
01:03:15,080 --> 01:03:18,280
will take care of Windows 'cause
I know Windows with like slashes

899
01:03:18,280 --> 01:03:21,720
and and whatnot, it hates it. 
But let me know. 

900
01:03:21,760 --> 01:03:24,640
We're going to obviously stick 
this out in the open source 

901
01:03:24,640 --> 01:03:31,840
world and we'll go from there. 
So at this point now I really 

902
01:03:31,840 --> 01:03:39,760
need Britney back because I need
to do, let's see here this, my 

903
01:03:39,760 --> 01:03:45,840
token is invalid. 
So let's go back into our index 

904
01:03:45,840 --> 01:03:52,720
podcasts check this. 
All right, So that is that 

905
01:03:52,720 --> 01:04:08,390
problem hopefully. 
So podcast has unused export 

906
01:04:08,390 --> 01:04:11,870
called post if it's for external
reference only, OK. 

907
01:04:11,870 --> 01:04:16,830
So I think at this point we can 
start to use podcast within this

908
01:04:16,830 --> 01:04:22,990
page. 
Nice. 

909
01:04:25,040 --> 01:04:30,840
Yes, definitely take a look. 
OK, so I don't know how to do 

910
01:04:30,840 --> 01:04:33,080
this part, so let's let's take a
look. 

911
01:04:33,120 --> 01:04:35,440
I don't know if I can just like 
a console log. 

912
01:04:35,440 --> 01:04:39,960
It'll probably show up. 
Oh, not up there It won't. 

913
01:04:41,520 --> 01:04:48,320
Let's do this. 
At least then we should be able 

914
01:04:48,320 --> 01:04:53,600
to see something. 
I would hope sweet. 

915
01:04:53,920 --> 01:04:58,680
All right, we've got things. 
I need to turn those things into

916
01:04:58,680 --> 01:05:05,800
cards. 
So I'd be curious how JSX is in 

917
01:05:05,800 --> 01:05:09,200
my brain right now. 
So I don't know how to do like 4

918
01:05:09,200 --> 01:05:11,840
loops and spelt. 
So let's check that out. 

919
01:05:17,680 --> 01:05:21,200
The the irony of all this, if 
you're watching this, we have a 

920
01:05:21,200 --> 01:05:25,200
new course out in coding Cat and
it's called Intro to Spell. 

921
01:05:25,560 --> 01:05:28,800
And I've been so lazy. 
I probably really need to watch 

922
01:05:28,800 --> 01:05:31,040
it because Brittany breaks all 
of this down. 

923
01:05:31,560 --> 01:05:38,080
And so the the goal is basically
to try and rewrite or like use 

924
01:05:38,080 --> 01:05:41,800
our Notion back end that we've 
been using for coding Cat for 

925
01:05:42,160 --> 01:05:46,720
just recently, because I just 
rewrote it kind of show that in 

926
01:05:46,720 --> 01:05:48,720
Svelkit. 
And maybe we'll start using 

927
01:05:48,720 --> 01:05:51,240
Svelkit in V everywhere. 
I don't know, we'll see. 

928
01:05:51,240 --> 01:05:56,040
It seems fast. 
So let's go ahead and find out. 

929
01:05:56,040 --> 01:05:58,720
So this is Svelkit. 
Let's go to Svelte. 

930
01:06:00,160 --> 01:06:03,280
And I can never remember how to 
do a for loop. 

931
01:06:04,800 --> 01:06:07,000
If. 
E What else we have 

932
01:06:19,880 --> 01:06:23,040
each each That's a thing. 
All right, cool. 

933
01:06:23,360 --> 01:06:25,680
I like that each instead of 
four. 

934
01:06:39,600 --> 01:06:43,760
Anthony is like so tired, but 
yet like still helping me out. 

935
01:06:43,800 --> 01:06:46,800
This is why I love I love the 
LBT community. 

936
01:06:46,800 --> 01:06:51,000
Learnville teach you guys rock 
anyone else? 

937
01:06:51,000 --> 01:06:54,160
You know, development is so much
fun because we can do it 

938
01:06:54,160 --> 01:06:57,760
together like this. 
So basically what Anthony was 

939
01:06:57,760 --> 01:07:05,560
saying, expression each posts as
post and we should be able to do

940
01:07:05,560 --> 01:07:11,360
stuff with it. 
I don't know, I think let's just

941
01:07:11,360 --> 01:07:13,640
start with some divisions and 
see how this goes. 

942
01:07:15,560 --> 01:07:22,120
What's that title? 
Yeah, that's fine I guess. 

943
01:07:22,920 --> 01:07:25,920
Or maybe I need to at least say 
it's a array. 

944
01:07:28,040 --> 01:07:33,320
Array. 
Oh, I don't know that you can 

945
01:07:33,320 --> 01:07:42,480
type it that way. 
Weird, I gotta get familiar with

946
01:07:42,480 --> 01:07:50,120
this whole like typing thing. 
So post as posts and then do you

947
01:07:50,120 --> 01:07:57,080
go like this or is there yeah, 
let's let's let's check that. 

948
01:08:05,900 --> 01:08:09,740
Oh, you know what? 
It's not posts, it's posts dot 

949
01:08:10,620 --> 01:08:15,860
results. 
Hey, hey, look at that. 

950
01:08:17,740 --> 01:08:20,840
We have our listing page. 
So, so far, so good. 

951
01:08:22,399 --> 01:08:25,840
Those are all of our podcasts. 
Let's see. 

952
01:08:25,840 --> 01:08:28,479
Anthony is adding some more 
suggestions here. 

953
01:08:28,479 --> 01:08:32,040
Export, let data. 
Not sure what that's in 

954
01:08:32,240 --> 01:08:35,640
reference to, but that's cool. 
Woo Hoo. 

955
01:08:35,640 --> 01:08:36,439
Yeah. 
Thank you. 

956
01:08:36,439 --> 01:08:37,840
Party hat. 
Party hat. 

957
01:08:37,960 --> 01:08:40,640
Woo, woo. 
You can't really see it, so I'll

958
01:08:40,640 --> 01:08:42,800
do this. 
Party hat. 

959
01:08:47,319 --> 01:08:50,399
OK, so we've got some things 
going on. 

960
01:08:50,680 --> 01:08:52,359
We got some divisions rolling 
in. 

961
01:08:52,439 --> 01:08:55,240
I don't know if they divisions 
will work long term, but that 

962
01:08:55,240 --> 01:08:57,880
works for us. 
Now I think what we'll do is 

963
01:08:57,880 --> 01:09:02,439
actually maybe do this and then 
do an H ref. 

964
01:09:02,479 --> 01:09:06,160
I don't know how this works 
again in SPELTS, but that would 

965
01:09:06,160 --> 01:09:09,960
be how it works in JSX. 
So let's take a look at the 

966
01:09:10,120 --> 01:09:23,000
SPELTS docs and how do you get 
expressions in like a href if 

967
01:09:23,000 --> 01:09:28,319
blah blah blah component 
directives. 

968
01:09:28,359 --> 01:09:37,560
There's some really interesting 
stuff going on here. 

969
01:09:38,080 --> 01:09:44,840
I haven't touched spell in 
probably a year, so let's see 

970
01:09:44,840 --> 01:09:57,360
what else if each await key. 
I wonder if that will just work.

971
01:09:57,360 --> 01:10:01,080
We'll find out, so if I do, 
let's see. 

972
01:10:01,760 --> 01:10:26,320
Title H ref is post at slug 
you just use variable. 

973
01:10:26,320 --> 01:10:27,400
How do you use a variable? 
It 

974
01:10:40,970 --> 01:10:44,450
says onclick on here so why is 
that not working? 

975
01:10:45,170 --> 01:10:47,530
Oh my gosh thank you so much 
folks. 

976
01:10:47,530 --> 01:10:49,410
I totally forgot to reshare the 
screen. 

977
01:10:50,760 --> 01:10:53,920
So yeah, what I'm struggling 
with right now is how to get 

978
01:10:53,920 --> 01:10:58,240
this post slug into this H ref. 
And I don't know if it's just 

979
01:10:58,240 --> 01:11:05,520
like post slug and it doesn't 
like that. 

980
01:11:08,320 --> 01:11:13,320
How do you do attributes? 
I like that spell kit as a easy 

981
01:11:13,320 --> 01:11:17,880
search tool. 
Post that slug. 

982
01:11:17,880 --> 01:11:19,240
Yep. 
I wonder. 

983
01:11:19,520 --> 01:11:21,520
I don't. 
I don't know why Typescript's 

984
01:11:21,520 --> 01:11:24,880
complaining. 
Then let's see if that worked. 

985
01:11:26,640 --> 01:11:29,000
Division attempts to close an 
element that was not. 

986
01:11:29,000 --> 01:11:33,200
Oh duh. 
Oh man, it's going to be one of 

987
01:11:33,200 --> 01:11:38,160
those days. 
OK, so let's splash a little 

988
01:11:38,160 --> 01:11:42,000
something good around here. 
I don't know if you can use 

989
01:11:42,000 --> 01:11:49,400
style like this, but I will. 
Let's just do display flex. 

990
01:11:55,400 --> 01:12:17,260
Yep, 
that's an A tag with nothing in 

991
01:12:17,260 --> 01:12:28,520
it. 
A tags worse post post post Alex

992
01:12:28,720 --> 01:12:30,960
post. 
Hey, look at all those links. 

993
01:12:31,000 --> 01:12:34,520
Beautiful. 
OK, so we have a listing now and

994
01:12:34,520 --> 01:12:37,400
now comes the tricky router 
part. 

995
01:12:37,400 --> 01:12:42,560
I guess I think if I can get 
that to work, we'll probably 

996
01:12:42,560 --> 01:12:43,640
call this. 
Good. 

997
01:12:44,520 --> 01:12:47,160
Take it RI Hope I pronounced 
that right. 

998
01:12:47,400 --> 01:12:58,640
Hello, how are you? 
OK, so let's go back to the old 

999
01:12:58,680 --> 01:13:07,960
felt kit routing and see at 
endpoint we got pages. 

1000
01:13:07,960 --> 01:13:13,120
Let's see about page index. 
I think it's just going to be 

1001
01:13:13,120 --> 01:13:16,280
this. 
So we have podcasts and then we 

1002
01:13:16,280 --> 01:13:28,920
need just a new page slug at TS.
Still don't understand this 

1003
01:13:28,920 --> 01:13:39,240
whole importing of things. 
Maybe I don't need to do that 

1004
01:13:39,440 --> 01:13:41,400
because I'm in the TS world. 
Duh. 

1005
01:13:46,840 --> 01:13:50,800
Hey Cadar, what we're doing is 
buildings Feltkit with a back 

1006
01:13:50,800 --> 01:13:53,280
end of notion. 
And I've never used Feltkit. 

1007
01:13:53,600 --> 01:13:57,120
We had our expert on, but she 
had to do some kid duty. 

1008
01:13:57,120 --> 01:13:59,080
So she might join us again here 
in a minute. 

1009
01:13:59,080 --> 01:14:02,040
But in the meantime, the 
community, the Learn, Build, 

1010
01:14:02,040 --> 01:14:05,120
teach and others are helping me 
through this. 

1011
01:14:05,120 --> 01:14:10,880
And right now we have a listing 
page for all of the podcasts, 

1012
01:14:11,680 --> 01:14:16,560
just like Coding Cat currently 
has all of our cards under 

1013
01:14:16,560 --> 01:14:21,360
podcasts just like this. 
We now have that over here. 

1014
01:14:21,640 --> 01:14:25,280
Oops. 
So this is, this is our listing,

1015
01:14:25,280 --> 01:14:28,280
essentially. 
So on the routing side of the 

1016
01:14:28,280 --> 01:14:33,000
house, what we're doing is 
trying to find this, not this 

1017
01:14:33,040 --> 01:14:37,320
maybe params, prams dot ID, 
Yeah, that is it. 

1018
01:14:37,360 --> 01:14:40,360
So I just basically need that 
thing. 

1019
01:14:40,360 --> 01:14:43,680
So we're back to this this 
thing. 

1020
01:14:55,240 --> 01:15:00,360
So prams actually if I can break
so that just get prams. 

1021
01:15:00,360 --> 01:15:04,560
Prams comes from ID. 
We actually are calling that 

1022
01:15:04,560 --> 01:15:07,400
slug. 
I don't know if I can give the 

1023
01:15:07,400 --> 01:15:18,880
type up here to prams, prams 
prams prams ID and DB dot get. 

1024
01:15:18,880 --> 01:15:22,680
OK, so we'll go back to the 
Notion server and we should be 

1025
01:15:22,680 --> 01:15:25,920
able to get an entire page of 
content this time. 

1026
01:15:27,120 --> 01:15:30,720
So it released. 
Let me jump back over to our CCD

1027
01:15:30,720 --> 01:15:33,800
side. 
So this is our our next JS side.

1028
01:15:33,800 --> 01:15:38,360
I'm just going to go look up our
Notion server over here and get 

1029
01:15:38,520 --> 01:15:48,840
by slug tag. 
Get Notion database by slug. 

1030
01:15:51,920 --> 01:15:56,760
I'm trying to remember if we 
need page by slug. 

1031
01:16:00,960 --> 01:16:08,280
Oh no, because we are doing OK, 
so we actually need by markdown 

1032
01:16:09,440 --> 01:16:15,600
S There you go, extreme page 
markdown. 

1033
01:16:15,600 --> 01:16:22,080
This is what we need, which 
means we'll also need this. 

1034
01:16:23,640 --> 01:16:27,960
So First things first, I'm going
to jump back over on this side. 

1035
01:16:27,960 --> 01:16:32,520
Let me shrink this way down. 
I'm learning full stack 

1036
01:16:32,520 --> 01:16:33,800
JavaScript. 
That's awesome. 

1037
01:16:34,320 --> 01:16:36,760
Keep up the good work on full 
stack JavaScript. 

1038
01:16:37,160 --> 01:16:40,640
Learn JavaScript first. 
Learn like using JavaScript and 

1039
01:16:40,640 --> 01:16:45,000
Node. 
And then once you kind of master

1040
01:16:45,000 --> 01:16:47,600
those, start doing the stuff 
like I'm doing and jump into 

1041
01:16:47,600 --> 01:16:49,280
like a framework and check that 
out too. 

1042
01:16:51,000 --> 01:16:55,520
OK, so essentially I didn't talk
much about our, our next JS, our

1043
01:16:55,520 --> 01:17:00,680
next JS, our our server side for
grabbing Notion data. 

1044
01:17:01,080 --> 01:17:04,480
So Notion's got a pretty cool 
JavaScript SDK. 

1045
01:17:04,720 --> 01:17:08,440
And so all we had to do was set 
up our client at first, and then

1046
01:17:08,440 --> 01:17:14,160
in order to call that, the call 
actually occurs right here. 

1047
01:17:14,600 --> 01:17:18,160
So we have Notion client 
databases and we're going to 

1048
01:17:18,160 --> 01:17:21,680
query our database for our 
podcasts. 

1049
01:17:21,680 --> 01:17:23,680
So let me bring up our podcast 
again. 

1050
01:17:24,880 --> 01:17:27,280
This might look like, oh man, 
what are these cards and stuff 

1051
01:17:27,280 --> 01:17:30,640
like that. 
What this really is is kind of 

1052
01:17:30,640 --> 01:17:33,640
this data. 
So this is all the data that 

1053
01:17:33,640 --> 01:17:36,440
actually drives those different 
podcasts. 

1054
01:17:36,440 --> 01:17:40,880
And in the Notion world, what 
this is known as is a database. 

1055
01:17:40,960 --> 01:17:45,240
And each database, when you open
a page, this is considered a 

1056
01:17:45,240 --> 01:17:48,000
page at that point. 
Shout out to Brandon. 

1057
01:17:48,000 --> 01:17:49,400
I keep showing your face 
everywhere. 

1058
01:17:51,680 --> 01:17:57,840
OK, go ahead. 
And after that, all we're doing 

1059
01:17:57,840 --> 01:18:00,520
is getting those by slugs and 
everything like that. 

1060
01:18:00,520 --> 01:18:05,120
So that's what got us to our 
listing page, our listing page. 

1061
01:18:05,120 --> 01:18:07,400
Now we can serve other pages 
from. 

1062
01:18:07,400 --> 01:18:12,200
And so we're going to say, let's
go find that page by the slug 

1063
01:18:12,200 --> 01:18:15,320
that is provided to us up here 
instead of an ID. 

1064
01:18:15,320 --> 01:18:17,520
That's kind of a nicer way to 
look at that. 

1065
01:18:19,120 --> 01:18:25,360
So we, we have that same thing. 
We have our Notion client. 

1066
01:18:25,360 --> 01:18:28,240
Again, we have databases. 
We're going to query those 

1067
01:18:28,240 --> 01:18:32,120
specifically for Slug and make 
sure that we are looking for a 

1068
01:18:32,120 --> 01:18:36,400
released episode at that point, 
which is also what we're looking

1069
01:18:36,400 --> 01:18:40,720
for up here. 
Now there's some caveats to 

1070
01:18:40,720 --> 01:18:43,320
that, like if we're doing 
previewing and things like that 

1071
01:18:43,320 --> 01:18:46,080
where we're actually like 
working on a draft post, you can

1072
01:18:46,080 --> 01:18:49,240
set that to draft and then just 
go directly after anything that 

1073
01:18:49,240 --> 01:18:51,440
isn't released. 
That's how we handle that too. 

1074
01:18:53,080 --> 01:18:57,640
OK, let's see. 
So we're going after slug. 

1075
01:18:57,640 --> 01:19:01,600
I feel like I'm missing another 
query here somewhere. 

1076
01:19:01,680 --> 01:19:07,880
We have format posts IS so I 
also need to snag. 

1077
01:19:08,720 --> 01:19:13,280
We have this mark down, so we 
actually do MDX from Notion. 

1078
01:19:15,720 --> 01:19:18,840
Let's see. 
There is a lot of stuff going on

1079
01:19:18,840 --> 01:19:24,880
here that we probably don't need
so let me jump back over the 

1080
01:19:24,880 --> 01:19:27,920
next block. 
So even though we can get a 

1081
01:19:27,920 --> 01:19:31,680
stream by slug, that will only 
get us that database level data 

1082
01:19:32,360 --> 01:19:36,600
and what we need is page data. 
So in this markdown, we actually

1083
01:19:36,600 --> 01:19:40,200
call our stream or our our slug 
function. 

1084
01:19:40,200 --> 01:19:45,200
So here we're saying, OK, go 
find the database with that slug

1085
01:19:45,200 --> 01:19:48,320
because we don't have an ID 
because we're coming at it from 

1086
01:19:48,360 --> 01:19:52,840
a top level URL. 
So we're grabbing that link from

1087
01:19:52,840 --> 01:19:55,800
the top and the slug that comes 
out of it and finding the 

1088
01:19:55,800 --> 01:19:59,480
correct post. 
And there might be a way to do 

1089
01:19:59,480 --> 01:20:01,480
this directly to a page the more
I think about it. 

1090
01:20:01,480 --> 01:20:04,720
So might have to do some updates
there, but that's OK. 

1091
01:20:05,240 --> 01:20:08,040
What I'm going to skip for now 
is our perfect pick, some 

1092
01:20:08,040 --> 01:20:10,520
perfect guests. 
We really don't need all of 

1093
01:20:10,520 --> 01:20:11,960
that. 
That's a lot of data for us. 

1094
01:20:11,960 --> 01:20:17,200
So let's start skipping some 
things we could do page to mark 

1095
01:20:17,200 --> 01:20:19,320
down. 
If anyone's out there and you 

1096
01:20:19,320 --> 01:20:22,440
have seen, and I'll ask that on 
here. 

1097
01:20:23,400 --> 01:20:30,480
Does anyone know of a mark down 
to spelt? 

1098
01:20:32,560 --> 01:20:35,720
So if we got the markdown, we 
could actually send the markdown

1099
01:20:35,720 --> 01:20:38,960
string into something like that,
but instead we'll just take a 

1100
01:20:38,960 --> 01:20:47,680
look at what blocks come out. 
So all the way down here there 

1101
01:20:47,680 --> 01:20:57,920
should be raw by slug page. 
Oops, I definitely took too much

1102
01:20:57,920 --> 01:21:09,760
off somewhere. 
Oh right, I forgot our markdown 

1103
01:21:09,760 --> 01:21:13,080
actually comes in like this. 
So OK, I will leave that. 

1104
01:21:15,360 --> 01:21:18,160
Build the markdown for the page,
let's take that out. 

1105
01:21:26,000 --> 01:21:30,320
I know I need one of those. 
Oh boy, oh boy. 

1106
01:21:32,200 --> 01:21:36,080
I've got the call and then I've 
got the page. 

1107
01:21:36,400 --> 01:21:41,520
The page ID goes into ID 
content. 

1108
01:21:41,640 --> 01:21:46,640
OK, so we don't need guests, and
this is the part that I'm 

1109
01:21:46,640 --> 01:21:51,680
missing. 
So from our page, from raw 

1110
01:21:51,680 --> 01:21:54,880
results, what we're actually 
going to do, I think this will 

1111
01:21:54,880 --> 01:22:00,320
still work, this N2M package. 
So I'm going to go, yeah, I'm 

1112
01:22:00,320 --> 01:22:02,080
gonna go install that really 
quick. 

1113
01:22:02,080 --> 01:22:05,400
Oh, what is this? 
MD's Vex. 

1114
01:22:05,400 --> 01:22:14,960
Let's check this out. 
Maybe even better spelt in 

1115
01:22:14,960 --> 01:22:16,760
markdown. 
Sweet. 

1116
01:22:20,040 --> 01:22:23,160
I love this. 
So yeah, if I guess if we 

1117
01:22:23,160 --> 01:22:27,200
convert it to Markdown, we 
should be able to process it 

1118
01:22:27,200 --> 01:22:36,040
with MD's Vex. 
It seems cool. 

1119
01:22:36,040 --> 01:22:38,840
You might have to help me do 
that. 

1120
01:22:39,080 --> 01:22:44,920
We'll check this out. 
OK, so this notion to mark down,

1121
01:22:45,560 --> 01:22:47,080
we're going to go ahead and 
install that. 

1122
01:22:47,160 --> 01:22:49,560
Here's what it looks like over 
here. 

1123
01:22:49,560 --> 01:23:03,800
That's not what it looks like. 
Wrong package, so Notion 2 

1124
01:23:03,800 --> 01:23:05,720
markdown. 
So this is what it looks like in

1125
01:23:05,720 --> 01:23:09,360
our package. 
We're going to go ahead and 

1126
01:23:09,360 --> 01:23:22,240
install that Notion two, was it 
marked down or MDMD? 

1127
01:23:30,480 --> 01:23:37,680
We also should be able to snag 
that from the import this one. 

1128
01:23:46,790 --> 01:23:52,870
So now that we're, we've got the
Notion blocks coming in and this

1129
01:23:52,870 --> 01:23:55,390
package actually, well, we don't
have the blocks, we have the 

1130
01:23:55,390 --> 01:23:58,280
correct page. 
And this package actually you 

1131
01:23:58,280 --> 01:24:02,080
can provide the page two and 
it'll go fetch the correct 

1132
01:24:02,080 --> 01:24:04,560
blocks and convert them to 
markdown. 

1133
01:24:05,120 --> 01:24:11,040
So here we've got the page with 
the page ID, these IDs for this.

1134
01:24:11,040 --> 01:24:14,000
I was actually building more 
content than we need for now. 

1135
01:24:15,520 --> 01:24:24,520
So here's our page, our results,
we send that to markdown, and 

1136
01:24:24,520 --> 01:24:29,360
then the page of blocks goes 
into markdown string and we 

1137
01:24:29,360 --> 01:24:32,360
actually get all of that content
out as a markdown string. 

1138
01:24:32,920 --> 01:24:37,120
So it sounds like we should be 
able to use this MD's VEX after 

1139
01:24:37,120 --> 01:24:39,640
that, but for now, we'll just 
console log this and check out 

1140
01:24:39,640 --> 01:24:45,240
the string that it pulls up. 
Perfect picks. 

1141
01:24:45,240 --> 01:24:55,080
We don't need any of that. 
We don't need this either, so we

1142
01:24:55,080 --> 01:25:00,800
can still call stream page 
markdown from our slug dot TS. 

1143
01:25:00,800 --> 01:25:08,120
So this will be interesting is 
about this. 

1144
01:25:10,480 --> 01:25:13,520
Add that. 
So now we're pulling our page 

1145
01:25:13,520 --> 01:25:20,280
markdown and we need to give it 
the correct slug params dot slug

1146
01:25:22,160 --> 01:25:33,820
Paramus param that slug. 
That is a crazy mess. 

1147
01:25:39,060 --> 01:25:47,740
This is an object called params 
that has a slug of string. 

1148
01:25:48,820 --> 01:26:01,400
OK, 
that's correct. 

1149
01:26:02,240 --> 01:26:09,800
So our item in this case, it's 
actually going to be a a full. 

1150
01:26:09,800 --> 01:26:14,400
So I actually concatenate the 
raw results along with the 

1151
01:26:14,400 --> 01:26:16,080
content. 
So we'll take a look at that. 

1152
01:26:16,560 --> 01:26:19,440
So I think if I'm following 
along with kind of the pattern 

1153
01:26:19,440 --> 01:26:23,840
here, we'll also need a slug 
svelt file, I think. 

1154
01:26:24,520 --> 01:26:30,360
So I'll just copy that and 
rename it to slug got svelt. 

1155
01:26:31,480 --> 01:26:37,400
So we have our slug endpoint and
then we have our slug svelt 

1156
01:26:37,400 --> 01:26:40,480
file. 
So for now what I'm going to do 

1157
01:26:40,480 --> 01:26:53,520
is try to get items and then do 
console dot log items or item. 

1158
01:26:53,520 --> 01:27:02,840
Sorry. 
All right, let's check that out.

1159
01:27:02,880 --> 01:27:10,840
So I have no idea what that's 
complaining about. 

1160
01:27:11,040 --> 01:27:18,680
Exports is not defined. 
Must have just needed a reload. 

1161
01:27:18,680 --> 01:27:24,600
OK, four O 4 not found. 
OK, So we do need more of the 

1162
01:27:24,600 --> 01:27:27,800
path in there. 
So I was thinking this would be 

1163
01:27:27,800 --> 01:27:30,440
a relative thing. 
I don't believe it is doing 

1164
01:27:30,440 --> 01:27:33,320
that. 
So instead of H ref post slug, 

1165
01:27:33,320 --> 01:27:38,800
what we'll do is go like go like
that. 

1166
01:27:38,880 --> 01:27:42,360
Actually, we can just I don't 
know how we'll do it. 

1167
01:27:42,400 --> 01:27:54,760
So we'll go podcasts slash, then
the slug name, so dollar sign 

1168
01:27:54,760 --> 01:28:04,440
for our string template back and
then that we're just adding 

1169
01:28:04,440 --> 01:28:08,680
podcasts to our slug. 
So we should get the right URL 

1170
01:28:08,680 --> 01:28:14,160
now. 
Oh, interesting. 

1171
01:28:14,160 --> 01:28:17,160
So it console logged over here, 
which is cool. 

1172
01:28:18,800 --> 01:28:21,240
So that is on the server side as
well. 

1173
01:28:21,400 --> 01:28:26,800
And then I think it will do that
on the client side as well. 

1174
01:28:27,440 --> 01:28:32,400
So now we have our content all 
in markdown coming through. 

1175
01:28:33,720 --> 01:28:37,680
And it looks like I haven't 
tried this yet, but we have this

1176
01:28:37,680 --> 01:28:42,200
MD's Vex thing. 
So let's try to follow along 

1177
01:28:42,200 --> 01:28:45,960
this and see if we can make this
whole markdown thing work coming

1178
01:28:45,960 --> 01:28:50,600
from Notion. 
Now folks, there there might be 

1179
01:28:50,800 --> 01:28:54,000
this is this is kind of the 
thing with like React packages 

1180
01:28:54,000 --> 01:28:58,280
versus like spelt because it's 
so new with spelt. 

1181
01:28:58,720 --> 01:29:01,800
There isn't like a lot of pre 
canned packages like this where 

1182
01:29:01,800 --> 01:29:07,040
it's like marked down to spelt 
or sorry, Notion to spelt 

1183
01:29:07,080 --> 01:29:08,840
blocks. 
But you could write your own 

1184
01:29:08,840 --> 01:29:11,960
where you're you're taking and 
reading each block and saying, 

1185
01:29:11,960 --> 01:29:15,320
OK, it's AH one, I'll put AH1 
tag and so on so forth. 

1186
01:29:15,920 --> 01:29:21,000
Now that I say that we probably 
could even skip the markdown 

1187
01:29:21,000 --> 01:29:26,560
piece and go Notion to HTML. 
So because of the way that spelt

1188
01:29:26,560 --> 01:29:29,920
works, I think it would allow 
the whole HTML string in there. 

1189
01:29:30,520 --> 01:29:32,040
So that's kind of an interesting
thought too. 

1190
01:29:32,040 --> 01:29:41,240
Let me do a quick Google search 
on that and see Notion to HTML. 

1191
01:30:01,600 --> 01:30:05,120
I always wonder like who else is
using this? 

1192
01:30:08,360 --> 01:30:10,400
Not a whole lot of weekly 
downloads. 

1193
01:30:10,400 --> 01:30:13,880
If anyone out there knows I'll 
I'll put in the chat. 

1194
01:30:14,200 --> 01:30:24,040
Anyone know motion HTML script 
package? 

1195
01:30:32,600 --> 01:30:37,360
Well, we might find another one 
later, but for now I think this 

1196
01:30:37,360 --> 01:30:42,120
will work. 
So we already proved that we 

1197
01:30:42,120 --> 01:30:45,840
could do the mark down side. 
What we can go back to instead 

1198
01:30:45,840 --> 01:30:51,800
of getting the mark down side, 
what we can do is let's write 

1199
01:30:51,800 --> 01:30:57,480
another function and get perfect
stream page HTML. 

1200
01:30:58,800 --> 01:31:01,640
And so it's going to all be the 
same except for when we get down

1201
01:31:01,640 --> 01:31:07,680
here, we are going to take that 
out, I believe, and then we'll 

1202
01:31:07,680 --> 01:31:12,200
install this package. 
So I'll go ahead and do that 

1203
01:31:17,080 --> 01:31:21,200
once it's installed. 
I don't know why it's a 

1204
01:31:21,200 --> 01:31:26,800
TypeScript package and we're 
using that, but let's do this. 

1205
01:31:39,520 --> 01:31:41,320
All right, so now we've got 
importing. 

1206
01:31:41,320 --> 01:31:43,400
Let's take a look at what it 
actually exports. 

1207
01:31:43,400 --> 01:31:52,960
So either way, it works. 
Now down here, instead of doing 

1208
01:31:52,960 --> 01:31:56,720
this to mark down, we'll do just
like this. 

1209
01:31:58,840 --> 01:32:03,120
Oh, interesting. 
This this actually has the page 

1210
01:32:04,360 --> 01:32:12,600
address and just import it and 
paste a public notion mute 

1211
01:32:12,960 --> 01:32:16,320
public notion page URL. 
So let's take a look. 

1212
01:32:16,320 --> 01:32:24,320
If I actually have that 
somewhere URL, OK, I do let's do

1213
01:32:24,320 --> 01:32:30,360
that. 
So let's copy this. 

1214
01:32:35,890 --> 01:32:48,160
So instead of this crazy page, 
let's do page dot RL. 

1215
01:32:48,600 --> 01:33:03,880
I think it was page dot URL. 
Yep, instead of oh, I see there,

1216
01:33:03,880 --> 01:33:24,680
I have it here, let's do that. 
Now I think we can ship over all

1217
01:33:24,680 --> 01:33:28,920
of this stuff that we want. 
Specifically, what I really want

1218
01:33:28,920 --> 01:33:33,000
is this HTML piece. 
So instead of content, we'll 

1219
01:33:33,000 --> 01:33:54,040
ship back HTML. 
Oh page, let's just do this. 

1220
01:34:01,880 --> 01:34:09,680
So if you haven't used it before
you, what you can do is you can 

1221
01:34:09,680 --> 01:34:14,680
write this like this with the 
zero. 

1222
01:34:14,680 --> 01:34:18,120
So the first item in your array 
is at 0. 

1223
01:34:18,800 --> 01:34:25,280
Or instead of doing that, you 
can actually do results and then

1224
01:34:25,280 --> 01:34:31,080
do at oops zero as well. 
So a couple different options 

1225
01:34:31,080 --> 01:34:32,800
there depending on what style 
you like. 

1226
01:34:33,360 --> 01:34:38,000
I think if I run this now, we 
should get something back out. 

1227
01:34:38,000 --> 01:34:47,720
So let's take a check. 
Interesting. 

1228
01:34:47,720 --> 01:34:50,560
Why is it still doing? 
Oh, I did not change the call, 

1229
01:34:50,560 --> 01:34:56,120
did I? 
HTML. 

1230
01:35:08,910 --> 01:35:12,150
Yeah. 
So there is actual like a full 

1231
01:35:12,150 --> 01:35:14,670
page of HTML coming out. 
That is pretty wild. 

1232
01:35:16,030 --> 01:35:20,240
We'd probably have to chop that 
up a little bit, unfortunately. 

1233
01:35:20,240 --> 01:35:24,360
So I don't know that this tool 
is going to work perfectly, but 

1234
01:35:24,520 --> 01:35:28,840
let's let's see what it does. 
So I'll go over here. 

1235
01:35:28,840 --> 01:35:34,080
We have our item. 
Let's just do item dot HTML and 

1236
01:35:34,080 --> 01:35:40,800
see what the heck happens. 
OK, I think if anyone's still 

1237
01:35:40,800 --> 01:35:43,200
watching, oh, sorry, I totally 
missed out. 

1238
01:35:43,200 --> 01:35:47,040
See. 
Oh, it's not using the APIOEZ 

1239
01:35:47,560 --> 01:35:50,000
HTML of our string, the exposed 
markup. 

1240
01:35:50,000 --> 01:35:53,320
Sweet. 
So let's check that out at HTML.

1241
01:35:56,600 --> 01:35:59,880
That's pretty wild. 
So there is our actual Notion 

1242
01:35:59,880 --> 01:36:02,040
page. 
How cool is that? 

1243
01:36:02,240 --> 01:36:03,920
And we're statically rendering 
it. 

1244
01:36:06,160 --> 01:36:12,040
That's pretty awesome. 
I we would probably have to kind

1245
01:36:12,040 --> 01:36:15,960
of hack the HTML piece of this, 
but it's pretty awesome that 

1246
01:36:15,960 --> 01:36:19,880
that's allowed. 
I'm kind of curious with like 

1247
01:36:20,720 --> 01:36:24,960
our YouTube videos and stuff. 
I'm curious if it would 

1248
01:36:24,960 --> 01:36:27,560
automatically put those in. 
So let's check that out. 

1249
01:36:28,320 --> 01:36:43,440
What I'm going to do is what is 
this one regaining gaming, and 

1250
01:36:43,440 --> 01:36:51,840
I'll drop in YouTube, YouTube, 
YouTube. 

1251
01:36:51,840 --> 01:36:54,440
There we go. 
Let's embed. 

1252
01:36:55,480 --> 01:37:02,520
Instead of this image, let's do 
embed YouTube. 

1253
01:37:02,960 --> 01:37:11,040
See what the heck happens? 
Check that out. 

1254
01:37:11,040 --> 01:37:13,880
How cool is that? 
Boom, Yep, that's right. 

1255
01:37:14,400 --> 01:37:15,240
Boom. 
I love it. 

1256
01:37:18,040 --> 01:37:21,280
So I know that was a little 
brief and a couple of hiccups, 

1257
01:37:21,280 --> 01:37:25,400
but I think unless, unless 
somebody's interested in like us

1258
01:37:25,400 --> 01:37:28,800
doing something different every 
90 minutes, I know like Jason 

1259
01:37:28,800 --> 01:37:31,680
Langstorff does that and we 
could do that too. 

1260
01:37:31,920 --> 01:37:35,040
Happy to bring someone on and 
like walk through different code

1261
01:37:35,040 --> 01:37:38,640
bits just like we did. 
But that was simply just getting

1262
01:37:38,640 --> 01:37:42,960
up and running with Svelkit, 
calling it a back end by Notion.

1263
01:37:42,960 --> 01:37:47,040
We did markdown from your Notion
back end into Svelt. 

1264
01:37:47,320 --> 01:37:50,760
We didn't actually put that to 
the page, but we could have it 

1265
01:37:50,800 --> 01:37:54,680
looks like using MD's Vex. 
And then we actually used 

1266
01:37:54,680 --> 01:38:00,000
another package that is just 
designed to spit out HTML and we

1267
01:38:00,160 --> 01:38:03,840
we're able to do that. 
So we have kind of this fully 

1268
01:38:03,840 --> 01:38:06,040
functioning. 
Well, somewhat. 

1269
01:38:06,560 --> 01:38:09,760
If we put a I'll I'll put the 
link on here. 

1270
01:38:11,120 --> 01:38:16,640
So let's do this on our main 
index page out at the front. 

1271
01:38:17,600 --> 01:38:27,200
I'm going to just put a link 
that says I'll get by coding Cat

1272
01:38:35,520 --> 01:38:38,760
and maybe we'll just throw this 
in for a good measure. 

1273
01:39:00,420 --> 01:39:28,010
See our podcasts in L Kit. 
Let's move that down page. 

1274
01:39:38,970 --> 01:39:42,490
There's all kinds of CSS that 
myself or Brittany will throw 

1275
01:39:42,490 --> 01:39:46,410
around on this thing. 
But for now, we can now go to 

1276
01:39:46,410 --> 01:39:51,690
podcast. 
We can pick a podcast maybe and 

1277
01:39:51,690 --> 01:39:56,280
it will show HTML. 
So that's that's how the whole 

1278
01:39:56,280 --> 01:40:00,360
thing works from soup to nuts. 
It was great learning experience

1279
01:40:00,440 --> 01:40:02,320
for myself. 
I hope you enjoyed it. 

1280
01:40:02,880 --> 01:40:05,280
Check out coding CAD dot dev. 
We'll keep adding more spell 

1281
01:40:05,280 --> 01:40:08,360
courses and everything else, but
for now, that's our 90 minutes 

1282
01:40:08,360 --> 01:40:10,520
and we'll see you next time. 
Thanks so much.

