Phase 0.4: Add web dependencies (router, templating, HTMX) #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Set up the web framework dependencies for the Go web server.
Approach
net/httpwith new routing patterns (orchirouter)html/template(stdlib) ortempl(type-safe Go->HTML)net/httpsupports SSE natively (flush chunks)Tasks
go.modmain.gothat starts an HTTP serverGET /health)index.htmlto prove the stack worksAcceptance Criteria
go runstarts a web server on a configurable porthttp://localhost:8080shows a page