go install github.com/a-h/templ/cmd/templ@latest
go install github.com/cosmtrek/air@latest
- Create
.env
, similar toexample.env
go mod tidy
air
- In another window:
curl localhost:3000
- The database connector is currently libsql, if using a different db, you will need to replace the connector.