Examples repository for the Kiruna project.
To run the fullstack minimal example, run the following commands:
cd fullstack-minimal
go mod tidy
make dev
Then open your browser to http://localhost:8080
. You should see a styled html entry page.
- To test the instant CSS hot reloading, try editing any stylesheet in the
styles
folder. - To test the browser refresh when you edit a Go template, try editing
static/private/templates/index.go.html
. - To test the browser refresh when you rebuild your Go binary, edit any
.go
file in thefullstack-minimal
directory (e.g.,kiruna.config.go
orcmd/app/main.go
).
To run the backend minimal example, run the following commands:
cd backend-minimal
go mod tidy
make dev
Then open your browser to http://localhost:8080
. You'll see the "Hello, World!" response.