Back to Templ

CRUD

examples/crud/README.md

0.3.1001381 B
Original Source

CRUD

This example demonstrates how to implement a simple CRUD (Create, Read, Update, Delete) application showing:

  • Dependency injection in Go applications
  • Example code structure
  • Server-side form validation
  • Use of htmx to carry out in-place HTML updates

Tasks

run

interactive: true

bash
templ generate -watch -proxy http://localhost:8080 -cmd "go run ."