gofiber-templ-htmx
Go/Fiberπ§¬+</>Templ to-do list app with user login and HTMx-powered frontend.
File Explorer
Download Latest Version (.zip)- styles.css
- gopher-svgrepo-com.svg
- screenshot-1.png
- screenshot-2.png
- screenshot-3.png
- screenshot-4.png
- screenshot-5.png
- screenshot-6.png
- auth_handlers.go
- routes.go
- todo_handlers.go
- db.go
- todo_model.go
- user_model.go
- login.templ
- register.templ
- flashmessages_partial.templ
- navbar_partial.templ
- create.templ
- todo.list.templ
- update.templ
- base_layout.templ
- error_404.templ
- error_500.templ
- home.templ
- .air.toml
- .gitignore
- go.mod
- go.sum
- LICENSE
- main.go
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/emarifer/gofiber-templ-htmx
Downloads the entire project code from GitHub to your computer.
cd gofiber-templ-htmx
Moves into the project folder you just downloaded.
2. Go
Medium RecommendedPrerequisites
$ go build -ldflags="-s -w" -o ./bin/main . # ./bin/main to run the application / Ctrl + C to stop the application
Compiles the Go program into an executable.
$ go install github.com/a-h/templ/cmd/templ@latest
Type this command into your terminal and run it.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
