SvelteKit + PocketBase Integration: User Login and Registration

  Рет қаралды 17,339

Jian Codes

Jian Codes

Күн бұрын

Пікірлер: 71
@awpfade
@awpfade Жыл бұрын
Why is it always these weird no name channels that make the best guides
@mastahpiece007
@mastahpiece007 Жыл бұрын
This guy just makes me realise how long it takes me to do very basic tasks ROFL. "now we will just create a basic form" > neat looking form with 1 liners jeez very good dude
@wafflecodes
@wafflecodes Жыл бұрын
This is excellent. It's concise and succinct. It's free from the usual plagues of tutorials - "Umm"'s , "Uhhs", mistypes, rambling, etc. It's especially nice that you make the good assumption that there's some knowledge of SvelteKit and aren't going over everything in exhausting, redundant detail. Would love to see more content like this on SvelteKit and PocketBase. Subbed!
@jianyuanlee
@jianyuanlee Жыл бұрын
Wow, thank you for your kind words! I'm glad it was helpful!
@ANorseDude
@ANorseDude 10 ай бұрын
@@jianyuanlee ; Will you do and update with new sveltekit and the latest version of Pcoketbase?
@Sylonamon
@Sylonamon Ай бұрын
I love this tutorial. Please make more of this series!
@jckail
@jckail Жыл бұрын
Thank you for this video. It was very helpful and everything worked. +1 to listing installed Svelte extensions (ie auto complete) +1 to zooming out just a bit more to see more code width on screen.
@ephemeus
@ephemeus Жыл бұрын
Your pacing is good. Not too fast but not too slow either. I hope you could explain more about hooks and progressive enhancement in sveltekit. Anyway, thanks for this video, it really helps.
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you! I will keep that in mind for my future videos.
@rogerpence
@rogerpence Жыл бұрын
Thank you very much for this excellent tutorial. It seems like less than 5% of example projects work as promised--and yours worked like a charm. Also, your presentation skills are superb. A++++ all the way down the line! I very much appreciate your work on this. Thank you.
@jianyuanlee
@jianyuanlee Жыл бұрын
Great to hear!
@hakuna_matata_hakuna
@hakuna_matata_hakuna Жыл бұрын
This one was so smooth i think am sold on svelte, i just wanted to know how to do SSR login with PB and you conveyed it perfectly
@SarcevicAntonio
@SarcevicAntonio Жыл бұрын
I've used your code sample in a project before and now coded along with the video. What a great tutorial! Thanks for creating ❤
@jianyuanlee
@jianyuanlee Жыл бұрын
Awesome, thank you!
@sikandarbhide5354
@sikandarbhide5354 Жыл бұрын
This is called "Magnificent" , i love this content 🔥🔥
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you! Glad you like it!
@argonjs
@argonjs Жыл бұрын
just started learning svelte and this video really helps. thankss man! keep up the good work
@jianyuanlee
@jianyuanlee Жыл бұрын
Glad to hear it!
@karolus__
@karolus__ Жыл бұрын
Great content. Would be great to see some continuation about sveltekit
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you! I plan to release a few more videos on SvelteKit. Stay tuned!
@michaelsebastiansby6885
@michaelsebastiansby6885 Жыл бұрын
Amazing video, many thanks!
@jianyuanlee
@jianyuanlee Жыл бұрын
Glad you liked it!
@alexanderwoods4625
@alexanderwoods4625 5 ай бұрын
Fantastic demo
@ubermatchvlaad532
@ubermatchvlaad532 8 ай бұрын
Wee neeed more!!!!, great content
@etienneguerlain7147
@etienneguerlain7147 Жыл бұрын
Thank you for this great video! I'm learning SvelteKit and it helps a lot :)
@jianyuanlee
@jianyuanlee Жыл бұрын
Glad it was helpful!
@MOUNIROU60
@MOUNIROU60 Жыл бұрын
you are a master, thanks for the video
@mariogutierrez4989
@mariogutierrez4989 Жыл бұрын
Good job. You work so efficiently.
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you!
@demystifyingdev
@demystifyingdev Жыл бұрын
Excellent content and superbly presented! Hope to see more videos! How about a sample app like to do or blog, with deployment of front-end and back-end... would be great!
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you! I plan to make a video on building a fully-fledged app. Stay tuned!
@iamcherrydee
@iamcherrydee Жыл бұрын
We need more contents from you please
@salahaldinedouard5299
@salahaldinedouard5299 Жыл бұрын
Great video
@jianyuanlee
@jianyuanlee Жыл бұрын
Thanks!
@noartifice
@noartifice Жыл бұрын
Outstanding video, thanks. Instant subscription.
@jianyuanlee
@jianyuanlee Жыл бұрын
Thanks and welcome aboard!
@tech_wizzdom
@tech_wizzdom Жыл бұрын
Awesome content, so clear! 🔥
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you 🙌
@apptato
@apptato Жыл бұрын
Well explained. Thanks.
@jianyuanlee
@jianyuanlee Жыл бұрын
Glad it was helpful!
@DevneelVaidya
@DevneelVaidya 9 ай бұрын
Btw, this video has helped me so much, thank you!
@jianyuanlee
@jianyuanlee 8 ай бұрын
Glad it helped!
@sikandarbhide5354
@sikandarbhide5354 Жыл бұрын
Man u r Amazing....
@abderrahmanesmimite6137
@abderrahmanesmimite6137 Жыл бұрын
This is good, thank you! is part 2 coming soon with error management? interacting with other collections and file management for instance to have a complete tutorial ?
@jianyuanlee
@jianyuanlee Жыл бұрын
Working on it!
@RicardoCamisa
@RicardoCamisa Жыл бұрын
Thanks so much for the wonderful class. Could you teach how to generate PDF with SvelteKit?
@lyaeusv3828
@lyaeusv3828 Жыл бұрын
very clear cool vibe ! here i gift you a bar |
@tobias6361
@tobias6361 Жыл бұрын
thanks for making this video, how viable is pocketbase for production ready apps?
@jianyuanlee
@jianyuanlee Жыл бұрын
The project is under active development, but I have used it in a handful of personal projects over a few months, and it's working very well so far. There were no backward incompatibilities. If you want to take full advantage of PocketBase, you have to use it as a Go framework to build custom business logic on top of it. I plan to build a production-ready SaaS using PocketBase in an upcoming video. Stay tuned!
@kiwi-ck2yo
@kiwi-ck2yo Жыл бұрын
Hey ! I'm pretty confused about the syntax you use around 10:03 to define the Locals interface, as it's pretty different from what I can read online about typescript interfaces. My first instinct would have been to import the PocketBase object from pocketbase and write " pb : Pocketbase; " (this is, in fact, how they suggest to do it on the GitHub page for Pocketbase's JS SDK) but your syntax seems to provide more complete intellisense, so I'm guessing it must be pretty different and in term the better way. Can you direct me to some ressources on how that kind of type declaration works ?
@RobRobJuice
@RobRobJuice Жыл бұрын
I seem to have an issue with using multiple +page.server.ts files. Both login and register work if they are by themselves in the routes folder, but neither work if both are in they own folders (like in your video), nor if both are in the routes folder (can't have multiple +page.server.ts files in the same folder). I get error 405 and 500. Any suggestions? Keep up the good work!
@jianyuanlee
@jianyuanlee Жыл бұрын
The complete project is available on my GitHub: github.com/jianyuan/pocketbase-sveltekit-auth I hope that helps!
@vampirekabir
@vampirekabir Жыл бұрын
do you recommend pocketbase for a nextjs twitter like site?
@musketeer245
@musketeer245 Жыл бұрын
Very helpful tutorial! Can you also make Sveltekit + Firebase authentication next time pls?
@jianyuanlee
@jianyuanlee Жыл бұрын
Thank you! I plan to do a video on Firebase soon!
@ardinhelios5677
@ardinhelios5677 Жыл бұрын
Why are we refreshing the auth token every time the hook is called with a valid token, this isn't scalable at all, tokens are meant to be created once right, please correct me if I am wrong
@jianyuanlee
@jianyuanlee Жыл бұрын
PocketBase tokens are JWT tokens. The hook checks whether the JWT token is expired or not. It's all done without hitting PocketBase.
@diegov.b.9142
@diegov.b.9142 10 ай бұрын
I've duplicated the folder register to insert another form/collection, but it didn't work. Could make an example to create a new form?
@ubergraham
@ubergraham Жыл бұрын
I'm not ready to drive in just yet and learn Typescript; can I use the TS code for just user auth and use vanilla Javascript for everything else?
@jianyuanlee
@jianyuanlee Жыл бұрын
Yes, you can! All JavaScript is valid TypeScript too. Though, I still recommend using TypeScript for its amazing auto-completion. You can turn strict mode off to avoid build errors (set compilerOptions -> strict = false in tsconfig.json).
@mennskr
@mennskr Жыл бұрын
Which browser are you using?
@jianyuanlee
@jianyuanlee Жыл бұрын
I was using the Min browser
@TheFoxstory
@TheFoxstory Жыл бұрын
would you say this is a better approach than huntabyte's and why? his approach kzbin.info/www/bejne/rHzUiHh6YsaDg8k
SvelteKit Authentication with PocketBase
31:50
Huntabyte
Рет қаралды 33 М.
Svelte 5 Is A Triumph
22:04
Joy of Code
Рет қаралды 66 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 23 МЛН
Create a CRUD App with PocketBase and SvelteKit!
18:10
Consulting Ninja
Рет қаралды 10 М.
I Feel Bad For New Programmers
19:12
ThePrimeTime
Рет қаралды 506 М.
Better Protected Route Redirects
7:58
Huntabyte
Рет қаралды 28 М.
Getting Started with Directus and SvelteKit
10:35
Directus
Рет қаралды 2,1 М.
OAuth2 using Google, PocketBase, and SvelteKit
26:56
Consulting Ninja
Рет қаралды 8 М.
User Authentication with Pocketbase and SvelteKit | Full Auth Solution
21:05
2024 Supabase + Sveltekit Tutorial (0 to prod)
59:21
Ben Davis
Рет қаралды 14 М.