Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2025-01-04 21:24:45 -07:00
api Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
content Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
docs Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
lib Fixed binaries 2025-01-04 21:24:45 -07:00
pages Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
public Fixed binaries 2025-01-04 21:24:45 -07:00
.dockerignore ignore 2024-12-19 02:26:29 -06:00
.gitattributes Init 2024-02-15 09:07:09 -07:00
.gitignore Fixed binaries 2025-01-04 21:24:45 -07:00
docker-compose.dev.yml Fixed workflow 2024-09-20 01:25:09 -06:00
docker-compose.yml Makefile! 2024-12-18 23:21:12 -06:00
Dockerfile Makefile! 2024-12-18 23:21:12 -06:00
go.mod Deps 2024-12-18 22:30:31 -06:00
go.sum Deps 2024-12-18 22:30:31 -06:00
main.go Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
Makefile Fixed binaries 2025-01-04 21:24:45 -07:00
README.md Reduced the number of executables 2024-11-03 17:20:39 -06:00

GOTH Stack

A modern web application stack combining:

  • Go (Backend)
  • HTMX (Frontend Interactivity)
  • Tailwind CSS + DaisyUI (Styling)

Features

  • Server-Side Rendering
  • Real-time capabilities with SSE
  • Built-in tools and utilities
  • API documentation with Swagger
  • Modern responsive design
  • Zero client-side JavaScript (optional)

Getting Started

  1. Clone this repository
  2. Copy .env.example to .env
  3. Run go mod download
  4. Start the server: go run main.go

API Documentation

  1. Install swag by running go install github.com/swaggo/swag/cmd/swag@latest
  2. Visit /api/swagger/index.html after starting the server

Example Posts

Check out the /posts route for blogging examples

License

MIT