Skip to content

nico-amsterdam/go-htmx-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go HTMX CRUD

About this project

Rebuild of this Vue CRUD Nuxt application with HTMX and Go. There is a demo on https://vue-crud-nuxt.nuxt.dev/.

You can use this project for learning purposes and demo's. Download, clone or fork the source from https://github.com/nico-amsterdam/go-htmx-crud.

It is deliberately kept simple, without abstractions, and all logic in main.go. The shared state is not thread-safe.

A more structured example of HTMX with GO in a bigger project can be found here

Recommended HTMX reading material: Following up "Mother of all htmx demos"

Instructions

  • install golang
  • install air. air will automatically recompile changes
    • go install github.com/air-verse/air@latest
    • or with asdf: asdf install air latest
  • git clone this repostory, or download the source from github
  • cd go-htmx-crud
  • compile and start:
    • during development: air
    • or run: go run cmd/main.go
  • open the browser

About

HTMX CRUD simple application with Go backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors