This repository is inspired by TodoMVC, but comes with a twist: you won't find even one line of JavaScript here.
What's wild is that TodoMVC was created to highlight how frontend frameworks enable interactivity. However, this repo shows there's no need to pick such a framework to achieve the same level of app-iness™️.
TodoMPA is written in Go and, most importantly, HTMX.
Coded with ❤️ and 🤯 by Riccardo Odone.
You'll find two branches in this repository, where I explored the following question in HTMX:
I need to update other content on the screen. How do I do this?
main
explores Solution 3: Triggering Eventsoob
explores Solution 2: Out of Band Responses
# install go
BASE_PATH="$(pwd)" go run src/main.go
# create database
curl -X POST http://127.0.0.1:3000/reset