Getting Started

Example Vary programs

Download small complete Vary programs as source zips. The first package is the examples/echo Via app.

Download: Download echo.zip

Echo API example source zip.

Echo API example

echo.zip contains a complete Vary API app with source, tests, project metadata, and a Via app manifest.

Source path: examples/echo.

To check the download:

printf '%s  %s\n' \
  '6af0c6c1d675f36a29324ea6b31c251d6ab5ec45ade6d20cc9be177704e8d93c' \
  'echo.zip' | sha256sum -c -

After downloading:

unzip echo.zip
cd examples/echo
vary test tests/test_echo.vary

To deploy it on Via, use the app manifest in the archive:

vary app preflight echo --workdir . --apply-manifest --fix --approve
vary app deploy echo --workdir . --apply-manifest
vary app smoke echo
← Project layout
FAQ: Frequently asked questions →