the software store_

Your first app

Tutorial · Updated 2026-11-01

“It's alive! It's alive!”
— Henry Frankenstein, Frankenstein (1931)

An app is a repository with a tss-app.jsonc at its root. The file says what to build, how each service runs, and what it needs (a database, a bucket). The same file runs it on your machine and in every environment.

Make a repository

Create one from Repositories → New repository, or push an existing one. Either way it lives in your workspace, next to its builds, environments and pull requests.

Describe the app

A small web service with a database:

{
  "version": "v0.1",
  "services": {
    "web": {
      "build": { "context": ".", "dockerfile": "Dockerfile" },
      "ports": [8080],
      "health": { "port": 8080, "path": "/healthz" },
      "resources": ["db"]
    }
  },
  "resources": {
    "db": { "type": "postgres" }
  }
}

Push

Push to main. We build it, run its checks, and deploy it to stage. The next page covers getting it from stage to prod.

Run it locally first with tss run: see The command line tool.