Navidrome UI with HATEOAS, go, templ, htmx, hyperscript
Go to file
2024-10-27 18:17:22 -05:00
db
public feat: dark theme 2024-10-27 17:44:51 -05:00
src fix: attempt to use jenkins to build templ templates 2024-10-27 17:55:34 -05:00
.air.toml
.env.example
.gitignore feat: dark theme 2024-10-27 17:44:51 -05:00
docker-compose.yml fix: remove unused db from docker compose file 2024-10-27 18:06:43 -05:00
Dockerfile fix: return to alpine 2024-10-27 18:17:22 -05:00
go.mod
go.sum
Jenkinsfile fix: return to alpine 2024-10-27 18:17:22 -05:00
main.go
package.json feat: search albums 2024-10-18 21:51:45 -05:00
pnpm-lock.yaml
README.md
tailwind.config.cjs feat: dark theme 2024-10-27 17:44:51 -05:00

Go fullstack template

Installation & Set Up

  1. Install the Go Programming Language
  2. Install Air by running:
go install github.com/air-verse/air@latest
  1. Install Templ by running:
go install github.com/a-h/templ/cmd/templ@latest
  1. Install Node.js
  2. Install Go deps with go mod tidy
  3. Install Node deps with npm install

VSCode setup

To best use this template install Go & Templ LSPs:

Neovim setup

You can install gopls and templ with Mason.

Running

Just run:

npm run dev

This will start 3 processes:

  • Tailwind watch
  • Air
  • Templ watch

Building

Compile the Go binary:

go build main.go

And ship it along the public folder