Navidrome UI with HATEOAS, go, templ, htmx, hyperscript
Go to file
2024-10-07 20:02:54 -05:00
db fix: jenkins, pt5? 2024-10-06 21:50:00 -05:00
public feat: login screen 2024-10-07 19:37:20 -05:00
src feat: redirects 2024-10-07 20:02:54 -05:00
.air.toml Init 2024-10-06 20:21:13 -05:00
.env.example Init 2024-10-06 20:21:13 -05:00
.gitignore fix: jenkins, pt5? 2024-10-06 21:50:00 -05:00
docker-compose.yml fix: jenkins 2024-10-06 21:59:20 -05:00
Dockerfile fix: jenkins, pt 4 2024-10-06 21:36:59 -05:00
go.mod feat: login screen 2024-10-07 19:37:20 -05:00
go.sum feat: login screen 2024-10-07 19:37:20 -05:00
Jenkinsfile fix: add static files to jenkins pipeline 2024-10-07 06:45:58 -05:00
main.go Init 2024-10-06 20:21:13 -05:00
package.json fix: add static files to jenkins pipeline 2024-10-07 06:45:58 -05:00
pnpm-lock.yaml Init 2024-10-06 20:21:13 -05:00
README.md Init 2024-10-06 20:21:13 -05:00
tailwind.config.cjs feat: login screen 2024-10-07 19:37:20 -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