Loading video player...
We continue our deep dive into SvelteKit Remote Functions, by using the `form` Remote Function to Delete 🗑️ records form our Database! And, because we’re so cool, we’ll actually be “soft deleting”, allowing users to undo their mistakes and recover a record they didn’t mean to lose ↩️ Our Pokémon app, DrawMon, is about “drawing” a random Pokémon for you to… draw 🖌️ and improve your art! We’ve previously shown how to READ, CREATE & UPDATE records from the DB, and now it’s time for the final piece of the CRUD operations puzzle 🙂 🚀 Click around the app yourself: https://drawmon.app/ 💻 See the code (private repo 😱): https://github.com/johnnify & https://github.com/johnnify/drawmon 📺 Playlist with all our “DrawMon” livestreams: https://www.youtube.com/watch?v=e4s8uU6ZVG8&list=PLD9qSm-W5DLoJZhKLCtoVaXPNnt63LaaB&index=1 Check around the channel for more playlists and increasingly complicated tech stack choices 🙌 — JOHNNIFY PREMIUM — Get this repository AND MORE with Johnnify Premium: https://johnnify.com/premium — 🙌🙌🙌 — — COMMUNITY — Our DISCORD SERVER 👾: https://discord.gg/eR5Q52Sfm3 — 🥳🥳🥳 — — AGENDA — [ ] What’s “soft delete” anyway 🤖 Current app demo: DrawMon! https://drawmon.app/ [ ] `softDelete` 🗑️ a record with SvelteKit Remote Functions `form` [ ] `undo` with a Svelte Sonner Toast Notification! — BONUS — [ ] Cron job to clean up stale soft deleted records! [ ] Fancy chart with d3 & layerchart https://www.shadcn-svelte.com/charts/radial#charts [ ] What happens when you’re NOT logged-in?! 🔐 Pop-up to login [ ] UPDATE a draw date with a 📅 fancy calendar: https://www.shadcn-svelte.com/blocks/calendar [ ] Let’s use a fancy Data Table, with TanStack Table! https://www.shadcn-svelte.com/docs/components/data-table [ ] Final 🥳 DEMO + LIKE 💜 SUBSCRIBE — HAVE FUN — No affiliations whatsoever: if I show something, you know you're hearing my unfiltered thoughts 😄 — Highlighted software — SvelteKit: https://svelte.dev/ Tailwind: https://tailwindcss.com/ shadcn-svelte: https://www.shadcn-svelte.com/ Cloudflare: https://developers.cloudflare.com/ Playwright: https://playwright.dev/ My own website: https://magrippis.com/ And, of course, remember: Get this repository AND MORE with Johnnify Premium! https://johnnify.com/premium Search for `@jmagrippis` to find me on socials like Instagram & Threads! And I’m most active in our DISCORD SERVER 😉: https://discord.gg/eR5Q52Sfm3 Between the comment section and the socials, let me know **somewhere** what you’d like me to cover next 🙌 Stream number 153!