In this video we’ll build a small todo app using Go, HTMX and
We’ll show how to convert backend data for use in an Alpine component on the client, and will use HTMX to build a small piece of interactivity into the app.
Playlist ▶️:
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
04:22 Return JSON data to Go template
06:07 Creating Alpine component with data
11:42 Add todo form
13:44 Adding handler for form submission
16:32 Returning HTML fragment after form submission
19:49 Adding HTMX to project
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog:
👾 Github:
🐦 Twitter:
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Go html/template package:
HTMX: #installing
:
#golang #webdevelopment #htmx