Skip to content

Templates

A template is a starting point for an app that uses VAIF Studio. The CLI writes it into a folder: a client already set up with your project’s variables, starter files for the features you pick, and a README with the setup steps.

Terminal window
vaif templates # list the templates
vaif init --template <template> # write one into the current folder
TemplateStackWhat it gives youClient
Next.js appNext.jsA Next.js app with a browser client, a server client and optional sign-in pages, connected to your project.React SDK
React single-page appReact + ViteA React app built with Vite, with the client and its provider set up and optional sign-in pages.React SDK
Expo mobile appExpo / React NativeAn Expo Router app for iOS and Android with the Expo SDK's provider set up, a session kept on the device and optional sign-in screens.Expo SDK
Todo appReact StarterTyped helpers that list, add, check off and delete a signed-in user's todos, to add to a React app.React SDK
Realtime chatReact + RealtimeSend and load chat messages, and a React hook that keeps a channel's messages live, to add to a React app.React SDK
SaaS starterNext.js SaaSServer-side helpers for teams, members and roles in a Next.js app, with the tables they use.React SDK
Store with product imagesNext.js E-commerceServer-side helpers that upload, list, sign and delete product images in a storage bucket, for a Next.js store.JavaScript SDK
Python FastAPI backendPython / FastAPIA FastAPI server with the Python client set up from the environment, and optional sign-in checks, file routes and function routes.Python SDK
Go backendGoA Go HTTP server that sets up the Go client from the environment, with optional sign-in middleware, file handlers and models.Go SDK
Flutter appFlutter / DartA Flutter app that sets up the Dart client from a .env file, with an optional sign-in screen, table models and a functions service.Dart / Flutter SDK
iOS app in SwiftSwift / iOSA Swift class that sets up the Swift client for an iOS or macOS app, with sign-in and table helpers.Swift SDK

Each template’s page lists the files it writes, the packages it needs and the variables it reads. The templates for Python, Go, Flutter and iOS use a client for that language. Their pages show whether that client can be installed yet; until it can, call the REST API from that language.