template

module
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT

README

LeapKit Template

logo

This is the LeapKit template for building web applications with Go, HTMX and Tailwind CSS. It integrates useful features such as hot code reload and css recompiling.

Getting started

Install dependencies:

go mod download
go run ./cmd/setup

Building the application

# Building TailwindCSS with tailo
> go run github.com/paganotoni/tailo/cmd/build@v1.0.8

# Building the app
> go build -tags osusergo,netgo -buildvcs=false -o bin/app ./cmd/app

Running the application

To run the application in development mode execute:

> kit dev

And open http://localhost:3000 in your browser.

Generating a migration

> kit g migration [name]

Directories

Path Synopsis
cmd
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL