Skip to content

A basic Golang + Echo + htmx + templ template / example repo

Notifications You must be signed in to change notification settings

danawoodman/go-echo-htmx-templ

Repository files navigation

go-echo-htmx-templ

A basic started template for a Go web app with Echo, htmx, TailwindCSS and Alpine.js and some other goodies

Tools:

Setup

Install the latest version of Go and run the following commands:

# download go dependencies
go mod download

# install templ CLI if you don't already have it
go install github.com/a-h/templ/cmd/templ@latest

# install tailwind + other deps
npm install

Download a binary of cng and put it on your path for file watching

Development

Now you can run the dev server with make or make dev and open http://localhost:7878 in your browser.

Build the binary with make build and run it with ./bin/server.

License

MIT

About

A basic Golang + Echo + htmx + templ template / example repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published