A template using Go + Templates + HTMX
.github/workflows | ||
.vscode | ||
api | ||
content | ||
lib | ||
pages | ||
public | ||
stylegen | ||
webhooks | ||
.air.toml | ||
.dockerignore | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
fly.toml | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
atri.dad
This is my personal website!
Stack:
- Backend: Golang + Echo
- Rendering: Golang templates
- Style: TailwindCSS + DaisyUI (No JS Needed)
- Content format: Markdown
Requirements:
- Golang 1.22.0
Instructions:
- Run go get
- Duplicate the .env.example file and call it .env
- Fill out the .env values
- Run
go install github.com/cosmtrek/air@latest
to download Air for live reload - Run
air
to start the dev server
Tests
Without Coverage: go test atri.dad/lib
With Coverage: go test atri.dad/lib -cover