Skip to content

gca3020/goth-ex

Repository files navigation

Go Templ Htmx Example

Example Web Application in Go using HTMX, Templ, and PostgreSQL

Getting Started

  1. Install Task:

    brew install go-task
  2. Initialize Dependencies and Tools:

    task init
  3. Run the Development Server:

    task dev

Tools and Technologies

  • Go
  • Chi - Lightweight, idiomatic, composable Go router
  • Task - Declarative syntax for build and deploy tasks
  • Air - Live build and reload for Go servers
  • Templ - Strongly-typed HTML Templating for Go
  • HTMX - High-power tools for HTML
  • PicoCSS - Minimalist CSS starter kit
  • PostgreSQL - Relational Database
  • sqlc - Generates type-safe Go from SQL Queries