gofiber-templ-htmx
Go/Fiberπ§¬+</>Templ to-do list app with user login and HTMx-powered frontend.
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.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
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/emarifer/gofiber-templ-htmx
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd gofiber-templ-htmx
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Go
λ³΄ν΅ μΆμ²μ¬μ μ€λΉλ¬Ό
$ go build -ldflags="-s -w" -o ./bin/main . # ./bin/main to run the application / Ctrl + C to stop the application
Go νλ‘κ·Έλ¨μ μ»΄νμΌν΄ μ€ν νμΌμ λ§λλλ€.
$ go install github.com/a-h/templ/cmd/templ@latest
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
λΉλκ° μλ¬ μμ΄ λλλ©΄ μ±κ³΅μ
λλ€. go run . μ μΌλ€λ©΄ ν°λ―Έλ μΆλ ₯μ νμΈνμΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
