SvelteKit Authentication with PocketBase

Описание к видео SvelteKit Authentication with PocketBase

UPDATED VIDEO (PocketBase v0.8+):    • SvelteKit & PocketBase #1 - Authentic...  

If you find my content useful and want to support the channel, consider contributing a coffee ☕: https://hbyt.us/coffee

SvelteKit is a framework for building modern, high-performance, browser-based applications. It was developed by the team behind the popular Svelte framework and is powered by Svelte. Unlike other JavaScript frameworks, it doesn't use a virtual DOM or deliver a bloated and slow application. PocketBase is an open-source backend consisting of an embedded database (SQLite) with real-time subscriptions, built-in user management, convenient dashboard UI, and simple REST-ish API.

In this SvelteKit tutorial, I demonstrate how to integrate your SvelteKit application with PocketBase to enable user authentication and protected routes.

⭐ Clone Starter Code
git clone --single-branch --branch starter https://github.com/huntabyte/svelteki...

📂 Final Code
https://github.com/huntabyte/svelteki...

💽 Form Actions in SvelteKit
   • Form Actions Made Simple  

⏪ Previous Video (Layouts in SvelteKit)
   • SvelteKit Layouts Explained (Nested, ...  

📚 Resources Mentioned In This Video
- Merge Users & Profiles Issue: https://github.com/pocketbase/pocketb...
- PocketBase: https://pocketbase.io
- DaisyUI: https://daisyui.com
- TailwindCSS: https://tailwindcss.com

🚀 Become a channel member: https://hbyt.us/join
💬 Discord: https://hbyt.us/discord
🐦 Twitter: https://hbyt.us/twitter
🖥️ Setup Stuff: https://hbyt.us/gear

🔖 Chapters:
00:00 - PocketBase Setup
02:30 - PocketBase Users Overview
04:15 - SvelteKit Starter Setup
05:55 - Starter App Overview
06:20 - Install PocketBase SDK
07:00 - How the PocketBase SDK Works
11:10 - Implement handle function
13:38 - Creating/Registering Users
19:12 - Logging In Users
21:10 - Using User Data in App
24:50 - Logging Out Users
29:00 - Protecting Auth Routes

__________________________________________

(Affiliate links may be included in this description. If you choose to purchase a product from one of those links, I may receive a small commission at no cost to you. Thank you for supporting the channel!)

Комментарии

Информация по комментариям в разработке