Golang + HTMX Project Structure | How I’ve Structured My HTMX Go App

Опубликовано: 31 Октябрь 2024
на канале: samvcodes
8,055
204

DISCORD SERVER:   / discord  

In this video, I review the structure of a Golang + HTMX web application. I discuss how I've set up my HTML template files to best use HTMX and the Go templating engine. I cover how you can set up routes for HTMX so that you only render partials within specific routes.

On top of templating, I also cover the use of Hexagonal Architecture, so that your core business logic is away from the UI and the API endpoints.

Overall this video should give you a pretty good idea as to how you can structure your Golang application for HTMX and a frontend.

Looking to build Start Ups using Nextjs? Use ShipFast: https://shipfa.st/?via=samvcodes

Twitter:   / samvcodes  
Github: https://github.com/samverrall