Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.71 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.71 KB

GoTH Stack

Tech Stack
GO Backend
Htmx Frontend
Turso Database

We use templ for templating and tailwindcss for styles. So it is technically more like the GoTTTH stack...

Building + Running

The nix flake has four derivations:

  • #default: this produces the webserver binary
  • #container: docker image containing the webserver binary
  • #uploader: simple CLI to upload my markdown blogs
  • #blob: a WIP blob storage service I plan to use for my images

Developing

The make file in root is setup for running air w/ livereload. It will run tailwindcss, templ, and air. Simply run make live.

Tip

You can also locally deploy the docker image using make docker.

The webserver port is set in the flake. You also need a dotenv file. It should contain:

  • TURSO_DATABASE_URL
  • TURSO_AUTH_TOKEN