Frontend

Frontends are written in golang and served by the golang http server. You will also need node as a dev depedency for tailwind. HTMX is used to make the app interactive. Apps are server side rendered, Go will serve all the HTML and CSS required to render the page. The HTML is generated from Go using templ. The CSS is generated from Tailwind.

  • templ for rendering the html fragments
  • htmx for AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML
  • air for building on code change
  • Tailwind for styling, and Prettier for formatting.
  • Make for making our lives simpler

Why not ReactJS or Angular or something similar?

Go

Thanks to Angelo Fallaria for this wonderful image