go-web-boilerplate

module
v0.0.0-...-254d885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2025 License: GPL-3.0

README

go-web-boilerplate

A simple, modern stack for building fast web applications.

  • Go - An open-source programming language supported by Google
  • SQLC - SQL compiled to type-safe code
  • Echo - High performance, extensible, minimalist Go web framework
  • Templ - A language for writing HTML user interfaces in Go
  • Tailwind - Rapidly build modern websites without ever leaving your HTML
  • HTMX - High power tools for HTML

Technologies

Tailwind

To generate the Tailwind style sheet, we use the Tailwind binary. To get started with TailWind CSS, make sure you have the correct binary in the root directory. follow the instructions in this guide. Make sure you download the correct binary for your operating system. https://tailwindcss.com/blog/standalone-cli

Templ

https://templ.guide/

Air

Air is required for hot reloading used in make dev https://github.com/cosmtrek/air

SQLC

https://sqlc.dev/

Directories

Path Synopsis
cmd
app command
logfmt command
This program takes the structured log output and makes it readable.
This program takes the structured log output and makes it readable.
internal
debug
Package debug provides handler support for the debugging endpoints.
Package debug provides handler support for the debugging endpoints.
web
pkg
logger
Package logger provides support for initializing the log system.
Package logger provides support for initializing the log system.
securepass
Encrypt and check passwords using the argon2 algorithm.
Encrypt and check passwords using the argon2 algorithm.
tag

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL