Building out UI components using Go and HTMX with a touch of Client-side javascript.
Using Alpine JS, Sweet Alerts, and Vanilla JS for client-side interactivity.
Goals
Make a Frontend App whose state is driven by the server and uses HTMX for data fetching.
Building out cool type-safe components using gol goodness.
Presenting an Application Scaffolding that is scalable and can be used for larger projects.
Todos
Replace in-memory data store with turso.
Add loading states to data grids and iron out form components.
Build out other cool components, infinite scroll feature next.
Instructions
Dev Command: npm run start: I know using npm sucks for a Go project, but I sometimes work out of a Windows laptop (sigh) so it's a pain using make. Plus I don't know how to run concurrent processes using make. This command builds your tailwind styles, generates the template files using Go Templ, and runs air, so great HMR setup.