Skip to content
/ todo-mpa Public

A TodoMVC clone in 0 lines of JavaScript written with Go and HTMX

Notifications You must be signed in to change notification settings

3v0k4/todo-mpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TodoMPA

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.

Additional Notes

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?

Run

# install go
BASE_PATH="$(pwd)" go run src/main.go

# create database
curl -X POST http://127.0.0.1:3000/reset

About

A TodoMVC clone in 0 lines of JavaScript written with Go and HTMX

Topics

Resources

Stars

Watchers

Forks