Flisk.sh 101: One service.json, Then a Health URL
Part 4 of Goose lang and Flisk.sh 101. Use the Go backend. Do not pass --language goose . Flisk turns service.json into a local Docker and Tilt stack. You own the manifest. The CLI owns .autogenerated/ , including the Dockerfiles it writes beside the service. Editing those to "add Goose" is how the next flisk up deletes your work. Install Node.js 22.12 or newer. node -v npm install -g…
Flisk.sh is a service creation tool that converts a service.json file into a Docker and Tilt stack. It requires Node.js 22.12 or newer. To install Flisk, run "npm install -g @flisk-sh/flisk". Flisk can be configured via environment variables such as TDK_HTTP_PORT, TDK_HTTPS_PORT, TDK_POSTGRES_PORT, and TDK_BIND_ADDRESS. Docker and Tilt are required to start a stack but are not necessary for a dry run.
To start a project and create a service, run "flisk project --yes", then "flisk resource --help", "flisk resource <resource-name> --type backend --language go --stack <stack-name>". The --language go option is chosen for this tutorial because the generated process is a long-running HTTP server. If --language go is omitted, the default is Bun and Hono.
The command "flisk doctor --no-ping" checks the Flisk installation, "flisk config verify" verifies the configuration, and "flisk up <stack-name> --dry-run" prints the services and health URLs without starting anything. The health URL is where the live URL checks can be accessed. Ports can be customized, and Dev ports bind to 127.0.0.1 unless TDK_BIND_ADDRESS is set.
After the first boot, Tilt is the inner loop. Flisk up <stack-name> starts the stack, and there is no local Kubernetes cluster in this tutorial. To stop the stack, use the command listed with "flisk up <stack-name> --help". Files such as service.json, Go source files, .autogenerated/ Dockerfiles, and hello.goose and total.goose can be edited. Flisk doctor also checks if backends have a /health route, and if not, it can be added manually.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.