Template
1
0
Fork 0
A template using Go + Templates + HTMX
Find a file Use this template
2024-11-03 17:01:48 -06:00
.github/workflows Fly fix 2024-10-19 22:24:02 -06: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 Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
pages Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
public Proper pre-loading and deps 2024-10-30 23:50:34 -06:00
.air.toml Re-did homepage styling 2024-08-06 14:37:52 -06:00
.dockerignore Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
.gitattributes Init 2024-02-15 09:07:09 -07:00
.gitignore Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
docker-compose.dev.yml Fixed workflow 2024-09-20 01:25:09 -06:00
Dockerfile Docker optimizations and cleanup 2024-11-03 16:06:21 -06:00
fly.toml Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
go.mod Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
go.sum Removed image dependency 2024-10-31 11:37:31 -06:00
main.go Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00
README.md Re-wrote based on my personal site 2024-11-03 17:01:48 -06:00

GOTH Stack

A modern web application stack combining:

  • Go (Backend)
  • HTMX (Frontend Interactivity)
  • Tailwind CSS (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