first service · beginner · 10 min
Add a backend resource
Add your first backend service to the project and see Flisk pick it up.
HANDS-ON LAB · YOU RUN IT ON YOUR MACHINE · 2 STEPS
-
Add a backend called api
A resource is one service. Flisk writes its service.json for you, so you never hand-write container files.
Run this to check
flisk resource api --type backend --stack pre-alpha --path services/pre-alpha/api --yesYou pass when
Flisk says the api resource was created, and services/pre-alpha/api holds a service.json.
-
Check that Flisk sees it
Run this to check
flisk statusYou pass when
Stacks shows pre-alpha: 1 resource. Services stay stopped until you run flisk up pre-alpha.
No transcript here on purpose. This page does not show terminal output, because model answers differ from run to run. Each step says what a pass looks like; your own terminal is the proof.