/metrix

Learning HTMX+Go

Primary LanguageGo

metrix

This project is an exercise to learn HTMX+Go. The goal was to build a modern web app without having to write a single line of Javascript.

The project uses:

  • PicoCSS for basic styling
  • HTMX as the presentation layer
  • Go as the backend technology
  • templ as the HTML template engine
  • sqlite for the persistence layer
  • Playwright for integration testing (Go version of the framework)

To run locally:

go run main.go db migrate
go run main.go serve

To run the containerised version:

make run-prod