All labs · Lab 03 · beginner · 10 min

Add a backend resource

Add your first backend service to the project and see Flisk pick it up.

You build: An api service in services/pre-alpha/api, counted in flisk status.

  • The project from Lab 02
  1. 01Add a backend called api

    A resource is one service. Flisk writes its service.json for you, so you never hand-write container files.

    flisk resource api --type backend --stack pre-alpha --path services/pre-alpha/api --yes

    You pass when: Flisk says the api resource was created, and services/pre-alpha/api holds a service.json.

  2. 02Check that Flisk sees it

    flisk status

    You pass when: Stacks shows pre-alpha: 1 resource. Services stay stopped until you run flisk up pre-alpha.

The check runs on the computer, not on your word: a step passes when its command exits with 0 there.

Your computer · Fleet · off

Computers are not set up on this site yet. Run each command on your own machine and compare with "You pass when".