Skip to content

B87/go-htmx-template

Repository files navigation

Codacy Badge

Go web template

Base for a simple web project.

Stack

  • gin: Gin is a web framework written in Go (Golang)
  • htmx: htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML.
  • sqlx: sqlx is a library which provides a set of extensions on go's standard database/sql library.
  • postgreSQL: SQL database

Dev-Tools

  • air: Live-reloading command line utility for developing Go applications.
  • docker: Run the app as a container
  • golang-migrate/migrate: PostgreSQL migrations.
  • pre-commit: Standard golang, html, css, and js pre-commit requirements.
  • semver: Semantic version generation based on git commmits.
  • migrate: Database migration management.

## Install depenencies

  • go
  • docker
  • npm
  • nodejs
  • pre-commit
  • golang-migrate/migrate. See installation instructions here
  • make
  • air