Boilerplate setup for building full stack web applications with Go, HTMX, echo, templ & tailwindcss
- Go 1.20+
- templ CLI (https://templ.guide/quick-start/installation)
- air (https://github.com/cosmtrek/air)
- Install templ (requires Go 1.20 or higher)
go install github.com/a-h/templ/cmd/templ@latest
- Install air for hot reloading server on file changes
go install github.com/cosmtrek/air@latest
air
Go to localhost:8080
This can be deployed as a normal Go application on any platform. There is a Dockerfile included for containerized deployments. A few suggestions where you can deploy this are in: