-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtranscript.txt
1701 lines (1022 loc) · 39.7 KB
/
transcript.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Meeting
30 Min Meeting between Ellis Crosby and Michael Taylor
Michael Taylor,Ellis Crosby
## Transcript
WEBVTT
1
00:01.080 --> 00:03.838
<v Ellis Crosby>At least showing you how the auth works.
2
00:04.014 --> 00:13.130
<v Ellis Crosby>So the key, I mean yeah, the main structure is it's fast API basically as you said, fast API serving
3
00:13.590 --> 00:22.462
<v Ellis Crosby>HTMX and I think Alpine J's or to, honestly the J's kind of diverges between alpine.
4
00:22.526 --> 00:26.870
<v Michael Taylor>Yeah, yeah. I found that. I've been using Alpine for some things and then HTMX for others.
5
00:26.910 --> 00:32.066
<v Ellis Crosby>Yeah, yeah. And like as long as the AI knows what's going on I just let it slide.
6
00:32.138 --> 00:33.234
<v Michael Taylor>Yeah. Just yellow.
7
00:33.282 --> 00:37.402
<v Ellis Crosby>Yeah. So I have all my templates in here.
8
00:37.426 --> 00:44.842
<v Ellis Crosby>I have my roots in this one and the top level I have this auth and this database, actually know
9
00:44.866 --> 00:48.830
<v Ellis Crosby>the database which at the moment I have auth main and models.
10
00:50.090 --> 00:56.814
<v Ellis Crosby>This is, this is the part I just usually drop into any of the pocket based projects.
11
00:56.942 --> 01:04.130
<v Ellis Crosby>It looks a bit gnarly but yeah, you don't need to worry about too much. It's very reusable.
12
01:06.270 --> 01:08.050
<v Ellis Crosby>So basically in here there's
13
01:11.150 --> 01:19.370
<v Ellis Crosby>register user loginuser register users which is a case of adding a.
14
01:21.100 --> 01:24.876
<v Michael Taylor>Yeah, this is a bit weird. This is what it recommended.
15
01:24.948 --> 01:27.548
<v Michael Taylor>And I was like wait, why are we not hashing the password?
16
01:27.684 --> 01:30.220
<v Michael Taylor>And apparently it does hash it on the other side.
17
01:30.260 --> 01:36.000
<v Ellis Crosby>Right, exactly. Yeah. Similar with, you can set up like Oauth.
18
01:36.420 --> 01:42.440
<v Ellis Crosby>I haven't really used it too much in the past but you can also do oauth which is a different
19
01:43.340 --> 01:49.420
<v Ellis Crosby>function. And then with logging in it's a similar kind of thing that you get this,
20
01:54.480 --> 01:59.816
<v Ellis Crosby>you have this like token, you get the user and then you have like a token that you can drop
21
01:59.848 --> 02:02.700
<v Ellis Crosby>into the cookies to.
22
02:03.400 --> 02:11.740
<v Michael Taylor>And it uses like server based, like cookies basically. That's the best on the request. That's the best.
23
02:16.850 --> 02:18.670
<v Ellis Crosby>I don't think it's the best. It's good enough.
24
02:19.290 --> 02:22.030
<v Michael Taylor>Yeah. What I mean is it works. It's fine.
25
02:22.410 --> 02:27.870
<v Ellis Crosby>Yeah, it works. So I haven't found any reason to change it.
26
02:29.130 --> 02:38.802
<v Ellis Crosby>And then I also have to sort of like make sure that all of the different functions or use it.
27
02:38.826 --> 02:41.390
<v Ellis Crosby>I dropped that into, well I have like the,
28
02:45.090 --> 02:49.898
<v Ellis Crosby>the pocket base client as sort of part of the app just like it.
29
02:49.954 --> 02:51.426
<v Michael Taylor>Oh cool, okay. Yeah.
30
02:51.458 --> 02:53.202
<v Ellis Crosby>Interesting. Yeah.
31
02:53.386 --> 02:56.630
<v Michael Taylor>So that we've, you don't need to like import it I guess.
32
02:58.050 --> 03:04.453
<v Ellis Crosby>Exactly. It just for the. Um, for registering, I just re initialize it here.
33
03:04.533 --> 03:09.837
<v Ellis Crosby>Um, doesn't really make too much of a difference, but with the like, as the user's moving to the app,
34
03:09.965 --> 03:16.789
<v Ellis Crosby>you just basically like um, have the request going into every function and then from that request you can grab
35
03:16.821 --> 03:20.693
<v Ellis Crosby>the app and then grab the database through there.
36
03:20.773 --> 03:27.213
<v Ellis Crosby>And then you just sort of assist it a little bit more. Makes it a bit easier to, to handle.
37
03:27.333 --> 03:29.713
<v Ellis Crosby>Otherwise you end up with getting locked out.
38
03:31.133 --> 03:35.493
<v Michael Taylor>Yeah, because I'm running into a bug at the minute with mine, but yeah.
39
03:35.533 --> 03:37.673
<v Michael Taylor>I wonder if it's maybe because I didn't do this.
40
03:39.253 --> 03:47.033
<v Ellis Crosby>Yeah, I mean this, I also had something, I only put this in fairly recently and before that there was
41
03:47.493 --> 03:51.713
<v Ellis Crosby>a few cases where the user just get logged out or I just couldn't find the user.
42
03:52.943 --> 03:56.535
<v Ellis Crosby>Yeah, I don't know, it just. Cool.
43
03:56.719 --> 04:06.543
<v Ellis Crosby>But yeah, this key part and then this getuser function of most of the routes.
44
04:06.583 --> 04:12.983
<v Ellis Crosby>So just checking which users, checking if a user is logged in and then if they are grabbing all associated
45
04:13.023 --> 04:20.755
<v Ellis Crosby>things with that user. Bear with me. I just realized I have this. If you have the same thing.
46
04:20.779 --> 04:27.023
<v Ellis Crosby>I have this weird thing whenever I have a fast API.
47
04:28.563 --> 04:35.811
<v Ellis Crosby>If I shut down the app, the address stays sort of reserved for a little bit and I have to
48
04:35.827 --> 04:37.627
<v Ellis Crosby>use this little thing to.
49
04:37.715 --> 04:40.223
<v Michael Taylor>Oh really? Yeah, no, no, I haven't had that issue.
50
04:41.003 --> 04:49.203
<v Ellis Crosby>Yeah, it's happened recently on my laptop. The plot gets sort of held after like close them.
51
04:50.023 --> 04:54.683
<v Ellis Crosby>Yeah, I'll say that. Yeah. There's no, there's no real functionality in the app at the moment.
52
04:55.103 --> 05:03.363
<v Ellis Crosby>This one, the idea was it would be like an AI, like database Ui for non technical people.
53
05:04.303 --> 05:07.683
<v Michael Taylor>Oh nice. So you can just chat to your database basically.
54
05:08.223 --> 05:08.791
<v Ellis Crosby>Yeah.
55
05:08.887 --> 05:13.940
<v Ellis Crosby>Like I had a client that was annoying me about something, so I was trying to build this just so
56
05:13.956 --> 05:21.992
<v Ellis Crosby>they could do things themselves. But yeah, it has at least the auth part working. So yeah,
57
05:28.252 --> 05:32.912
<v Ellis Crosby>currently I don't have any of the email service set up.
58
05:33.932 --> 05:35.732
<v Michael Taylor>I was wondering how that works.
59
05:35.812 --> 05:46.551
<v Ellis Crosby>Yeah, I'll show you the marketplace. It's pretty easy to set them up.
60
05:46.607 --> 05:49.215
<v Ellis Crosby>Like sort of similar to superbase, to be honest.
61
05:49.319 --> 05:50.039
<v Michael Taylor>Yeah.
62
05:50.231 --> 05:54.719
<v Michael Taylor>So when you just, you just registered a user and then you went to log in and then log that
63
05:54.751 --> 06:00.023
<v Michael Taylor>user in. That was the bug I was having actually, is when I register, I tried to.
64
06:01.103 --> 06:04.153
<v Michael Taylor>Authenticate the user then as well, but it doesn't seem to work.
65
06:07.693 --> 06:09.253
<v Ellis Crosby>So, like, that directly.
66
06:09.413 --> 06:10.141
<v Michael Taylor>Yeah, so what?
67
06:10.157 --> 06:16.593
<v Michael Taylor>I mean, normally when you register for an app, it would log you straight in, if that makes sense.
68
06:16.893 --> 06:23.473
<v Michael Taylor>And that was the. It didn't work with this setup.
69
06:25.813 --> 06:27.999
<v Ellis Crosby>Yeah, yeah.
70
06:28.111 --> 06:34.203
<v Ellis Crosby>I've actually never added that, but I wonder if it would just be a case of, like, just
71
06:35.623 --> 06:37.687
<v Michael Taylor>running, like, login user afterwards or something.
72
06:37.735 --> 06:41.003
<v Ellis Crosby>Yeah, yeah. I mean, I guess you already have the password they put in.
73
06:44.623 --> 06:48.923
<v Ellis Crosby>Yeah, let me double check on the.
74
06:57.593 --> 07:03.253
<v Ellis Crosby>I mean, to be honest. Yeah, I guess you probably could see if that would work, actually,
75
07:07.193 --> 07:12.753
<v Michael Taylor>because I can imagine people getting confused if they register and then they're like, oh, wait, now I'm not, like,
76
07:12.833 --> 07:15.773
<v Michael Taylor>logged in yet, or they have to log in again.
77
07:17.973 --> 07:18.753
<v Ellis Crosby>Yeah.
78
07:22.093 --> 07:22.485
<v Ellis Crosby>Okay.
79
07:22.509 --> 07:26.553
<v Michael Taylor>I mean, yeah, don't worry about that right now, but I'll dig into it.
80
07:27.253 --> 07:32.633
<v Ellis Crosby>Yeah, I guess if you can sort of potentially push that back to the login post.
81
07:35.093 --> 07:40.913
<v Ellis Crosby>I don't know if this is that interesting. It looks pretty standard on the way that I'm saying the cookies.
82
07:42.893 --> 07:46.811
<v Ellis Crosby>I don't know if that was anything we having any problems with as well, but I just sort of dropped
83
07:46.827 --> 07:48.303
<v Ellis Crosby>the token into this PBR.
84
07:52.923 --> 07:56.583
<v Michael Taylor>Yeah, I think that's how it's working on my one as well. That called it for me.
85
07:58.443 --> 08:05.943
<v Ellis Crosby>Yeah, exactly. Yeah. Can't explain too much about this one, but, yes, that's.
86
08:06.563 --> 08:08.907
<v Ellis Crosby>I mean, I can send you this as well. Like, this isn't.
87
08:09.035 --> 08:09.851
<v Michael Taylor>Yeah, that'd be great. Yeah.
88
08:09.867 --> 08:10.743
<v Ellis Crosby>If you don't mind
89
08:14.733 --> 08:17.513
<v Ellis Crosby>the dream that everyone has of building a boilerplate.
90
08:19.173 --> 08:21.013
<v Michael Taylor>I know, I know. Yeah.
91
08:21.093 --> 08:29.869
<v Michael Taylor>It's probably just me procrastinating, but I do find that not having a boilerplate is really limiting me in terms
92
08:29.901 --> 08:33.193
<v Michael Taylor>of. It's giving me an excuse not to ship stuff.
93
08:33.773 --> 08:41.305
<v Ellis Crosby>Yeah. Yeah. I mean, it takes so long to go through all the process. Yeah.
94
08:41.409 --> 08:52.653
<v Ellis Crosby>So I'll send you the code. There's nothing particularly interesting going on here, I don't think. Yeah, there's a refresh.
95
08:53.393 --> 08:59.073
<v Ellis Crosby>I'll send you more detail, but, yeah, basically they log in various.
96
09:01.553 --> 09:11.935
<v Ellis Crosby>Routes for the pages, the actual app, we just try and call out the user function in auth if it
97
09:11.959 --> 09:15.447
<v Ellis Crosby>exists, and then use that in queries.
98
09:15.495 --> 09:25.903
<v Ellis Crosby>Like use write id using bucket based queries, like pulling in projects that they have information associated with that.
99
09:25.943 --> 09:29.523
<v Michael Taylor>Yeah. Do you, is there anything special you have to do?
100
09:29.603 --> 09:37.171
<v Michael Taylor>So like if I'm, if I'm, if I'm like, say, if you're adding a new project for a client or
101
09:37.187 --> 09:43.715
<v Michael Taylor>whatever, like say not just the user collection, but like if you make your own collection, do you have to
102
09:43.739 --> 09:46.275
<v Michael Taylor>create it in pocket space first or.
103
09:46.459 --> 09:51.707
<v Michael Taylor>That was the other bug I ran into just before this call was like, I tried to send something off,
104
09:51.755 --> 09:54.219
<v Michael Taylor>like add it. For me, it was like a testimonials app.
105
09:54.251 --> 09:59.391
<v Michael Taylor>So I add a testimonial, but it ended up like it rejected it.
106
09:59.407 --> 10:01.563
<v Michael Taylor>So I haven't had a chance to look into it yet.
107
10:02.343 --> 10:09.807
<v Ellis Crosby>Yeah, so it's, yeah, so I'm not sure if you use superbase too much, but it's a similar kind of
108
10:09.815 --> 10:15.443
<v Ellis Crosby>setup where you have to add rules to the tables as to who can do what.
109
10:15.943 --> 10:21.043
<v Ellis Crosby>So if I jump into the interface for that one.
110
10:21.543 --> 10:28.543
<v Ellis Crosby>So within each collection, if you hit edits, there's these API rules as a default.
111
10:28.583 --> 10:37.199
<v Ellis Crosby>I think they, I think they just show us like, I think they just show us like locks for everything.
112
10:37.271 --> 10:41.683
<v Ellis Crosby>So basically no one can do anything at the start.
113
10:42.063 --> 10:48.123
<v Ellis Crosby>So you have to add in the rules of list, view, creates, et cetera.
114
10:49.143 --> 10:56.259
<v Michael Taylor>Okay, so if that basically means like if there, if they are that user, they can see, they can list
115
10:56.291 --> 10:57.103
<v Michael Taylor>or search.
116
10:57.803 --> 10:58.315
<v Ellis Crosby>Exactly.
117
10:58.339 --> 11:05.955
<v Ellis Crosby>So this is just like there has to be a user and the user has to use the id, has
118
11:05.979 --> 11:15.543
<v Ellis Crosby>to match the user's user column. So to be honest, I just packed the info. All of them.
119
11:16.283 --> 11:22.953
<v Ellis Crosby>Yeah, I guess if it was like a testimonials app, you probably have a different rule for viewing.
120
11:24.613 --> 11:28.349
<v Ellis Crosby>Yeah, if you leave it empty. Yeah, everyone can view those.
121
11:28.541 --> 11:32.473
<v Ellis Crosby>That's the part that usually trips me up on super bass.
122
11:32.813 --> 11:40.821
<v Ellis Crosby>I think they have an error message that is a bit clearer on why you can't add the row, but
123
11:40.837 --> 11:47.693
<v Ellis Crosby>with pocket base, it'll just sort of reject that. Yeah. The logs themselves are usually a bit more helpful.
124
11:50.433 --> 11:56.257
<v Ellis Crosby>The API response probably won't say much, but if you go in here, you can sometimes see like, yeah, this
125
11:56.385 --> 11:56.697
<v Ellis Crosby>one.
126
11:56.745 --> 12:04.642
<v Michael Taylor>Oh yeah, yeah. This one says the resource wasn't found. Yeah, yeah, that's pretty good.
127
12:04.834 --> 12:07.366
<v Michael Taylor>No rows and the result set.
128
12:08.466 --> 12:14.486
<v Ellis Crosby>Yeah. Or like if you don't set up the rules correctly, then only admins can.
129
12:15.826 --> 12:19.282
<v Michael Taylor>Yeah. Cool. Yeah, I really like the logs actually. It's good.
130
12:19.474 --> 12:22.746
<v Ellis Crosby>Yeah, the logs are a lot better than super basic
131
12:22.786 --> 12:31.646
<v Michael Taylor>logs and miles better than Google cloud. Yeah, that's a low bar.
132
12:37.066 --> 12:38.098
<v Michael Taylor>So when you make that.
133
12:38.162 --> 12:44.266
<v Michael Taylor>So with that collection, do you just make the API call just like in your app?
134
12:44.306 --> 12:47.954
<v Michael Taylor>Like you just code it and then it just creates the columns and everything?
135
12:48.010 --> 12:52.566
<v Michael Taylor>Or do you have to go and create the collection first?
136
12:53.996 --> 13:00.096
<v Ellis Crosby>So I always just create the collection. I don't know if there's an easier way of handling migrations.
137
13:00.596 --> 13:10.172
<v Ellis Crosby>I did have a go at making just, if you have admin access, if you're authenticated with an admin account,
138
13:10.244 --> 13:18.468
<v Ellis Crosby>you can make tables through the API. So I was trying to build a script of just seeing it.
139
13:18.532 --> 13:24.490
<v Ellis Crosby>I have the models in here anyway, so trying to make a script that just goes through this, checks if
140
13:24.498 --> 13:32.434
<v Ellis Crosby>the tables exist and then embrace them if not, which never really worked out that well and I couldn't go
141
13:32.450 --> 13:34.498
<v Ellis Crosby>through all of the error messages to figure it out.
142
13:34.642 --> 13:39.450
<v Ellis Crosby>Yeah, so far I just, I just go in here and create a table manual.
143
13:39.498 --> 13:45.602
<v Ellis Crosby>But it would be possible to do that. You can also like import collections from a JSON.
144
13:45.674 --> 13:51.412
<v Ellis Crosby>So if you wanted to do a fast way, you could probably just grab all of the things in here,
145
13:51.524 --> 13:57.572
<v Ellis Crosby>get cloud to convert that to a JSON and then import it. Let's get closer.
146
13:57.764 --> 13:59.980
<v Michael Taylor>Cool. Okay. Yeah. Interesting.
147
14:00.028 --> 14:04.776
<v Michael Taylor>Oh, I guess this is good for like if you wanted to like switch to a new pocket base.
148
14:05.956 --> 14:13.530
<v Ellis Crosby>Yeah, yeah, yeah, I do that quite a bit sometimes. That set up in the right railway project.
149
14:13.578 --> 14:21.566
<v Ellis Crosby>But yeah, it's very easy to copy this. And then database migrations.
150
14:23.066 --> 14:31.166
<v Ellis Crosby>I just usually query all of the tables and then inside the backup. But yes, it's a pretty easy process.
151
14:31.866 --> 14:32.646
<v Michael Taylor>Cool.
152
14:32.946 --> 14:37.646
<v Ellis Crosby>Yeah, that's interesting. What else is there?
153
14:38.826 --> 14:44.406
<v Ellis Crosby>Is there anything else that you have a question on or anything like that?
154
14:46.266 --> 14:47.858
<v Michael Taylor>I guess so.
155
14:48.002 --> 14:56.226
<v Michael Taylor>If I understand your flow correctly, you would are using pocket base locally or are you just setting up railway
156
14:56.266 --> 14:57.086
<v Michael Taylor>straight away?
157
14:58.986 --> 15:00.226
<v Ellis Crosby>I set it up on railway straight away.
158
15:03.950 --> 15:14.360
<v Ellis Crosby>Just to ask. Just because it's so easy to do that. Even like my dev instances is up there. Yeah.
159
15:14.820 --> 15:21.188
<v Ellis Crosby>Like I've tried the local one but I don't know, I never really found much like need to do it
160
15:21.204 --> 15:30.324
<v Ellis Crosby>that way. Like I'm always online anyway, so. Yeah, I'm not sure if you've tried unreal way yet, but.
161
15:30.412 --> 15:31.480
<v Michael Taylor>No, not yet.
162
15:33.820 --> 15:35.560
<v Ellis Crosby>It really is like a one click
163
15:38.780 --> 15:41.960
<v Ellis Crosby>sort of thing. Like they have a template.
164
15:51.900 --> 16:01.774
<v Ellis Crosby>They have a templates. If you search for, it's this one here with like 965 installs.
165
16:01.942 --> 16:13.038
<v Ellis Crosby>Yeah, just click it, it deploys and once it's deployed you can grab like the pocket base.
166
16:13.054 --> 16:23.552
<v Ellis Crosby>All you need at the start is the public URL, which I think will happen in a second once it's
167
16:23.576 --> 16:38.420
<v Ellis Crosby>deployed. Yeah, basically you copy that URL. And then that's just like something you can dump into the environment variables.
168
16:40.200 --> 16:47.610
<v Ellis Crosby>There will be actually show you something on a different project. It's a different stack, but it is still a.
169
16:48.750 --> 16:52.570
<v Ellis Crosby>This is one where it's sveltekit front end and a
170
16:55.950 --> 17:00.410
<v Ellis Crosby>fast API backend. With this one I did,
171
17:05.030 --> 17:06.690
<v Ellis Crosby>I needed to have a.
172
17:11.810 --> 17:14.530
<v Ellis Crosby>Actually, sorry. I was going to show you how I was authenticating it.
173
17:14.610 --> 17:20.390
<v Ellis Crosby>I thought I was doing as an admin. I think I'm not.
174
17:22.650 --> 17:32.490
<v Ellis Crosby>Okay, actually I think I probably just have this project with no limits on the table, which is a bit
175
17:32.530 --> 17:40.262
<v Ellis Crosby>dodgy, but yeah. Anyway, so what I should have done is authenticating as an admin. Yeah.
176
17:40.326 --> 17:47.890
<v Ellis Crosby>Which I did a lot with super base, but it's basically like a separate, separate function that is.
177
17:50.190 --> 17:59.730
<v Michael Taylor>Yeah, there's. Isn't there a URL you can visit that to create like an admin account?
178
18:00.630 --> 18:01.950
<v Ellis Crosby>Yeah. So the first time.
179
18:03.466 --> 18:11.116
<v Ellis Crosby>The first time you deploy it, you need to go into the interface to create your admin account.
180
18:12.216 --> 18:14.224
<v Ellis Crosby>To get to the interface.
181
18:14.400 --> 18:17.240
<v Michael Taylor>Yeah, I think it's just that it's an underscore afterwards, isn't it?
182
18:17.248 --> 18:18.736
<v Ellis Crosby>Yeah, yeah.
183
18:18.896 --> 18:27.792
<v Ellis Crosby>And like the first time, wait, actually deploys, but first time you run it, you go through this like setup
184
18:27.824 --> 18:28.396
<v Ellis Crosby>process.
185
18:29.986 --> 18:31.206
<v Michael Taylor>And then after that,
186
18:36.866 --> 18:41.794
<v Michael Taylor>how much does it cost on the railway? So you said like it was like an empty setup.
187
18:41.850 --> 18:43.686
<v Michael Taylor>Because I haven't used railway yet, actually.
188
18:47.026 --> 18:47.634
<v Ellis Crosby>It's.
189
18:47.730 --> 18:57.016
<v Ellis Crosby>You pay, you pay only usage, to be honest, for these ones, I have no idea what the actual cost
190
18:57.096 --> 19:02.836
<v Ellis Crosby>is. The things that cost a lot on railway are like big databases.
191
19:10.216 --> 19:11.636
<v Michael Taylor>So it's pretty cheap then.
192
19:12.296 --> 19:17.416
<v Ellis Crosby>Yes, this is one with, this is actually a pretty big database.
193
19:17.456 --> 19:26.748
<v Ellis Crosby>I think it has 500 log articles with images as well. And that's about $13 a month.
194
19:26.932 --> 19:27.736
<v Michael Taylor>Yeah.
195
19:28.356 --> 19:36.892
<v Ellis Crosby>Okay, cool. Yeah, it's mostly just the, like, the app itself doesn't cost that much. It's just the database. So.
196
19:36.964 --> 19:41.256
<v Ellis Crosby>Yeah. You can also probably plug that into a database somewhere else.
197
19:42.836 --> 19:50.736
<v Michael Taylor>Yeah. And then you're also launching your fast API app on a railway as well.
198
19:51.156 --> 20:04.216
<v Ellis Crosby>Yeah, exactly. And again, that's a pretty, pretty easy thing. Like you need to drop a piece of profile.
199
20:10.356 --> 20:17.661