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.
vaif templates # list the templatesvaif init --template <template> # write one into the current folder| Template | Stack | What it gives you | Client |
|---|---|---|---|
| Next.js app | Next.js | A Next.js app with a browser client, a server client and optional sign-in pages, connected to your project. | React SDK |
| React single-page app | React + Vite | A React app built with Vite, with the client and its provider set up and optional sign-in pages. | React SDK |
| Expo mobile app | Expo / React Native | An 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 app | React Starter | Typed helpers that list, add, check off and delete a signed-in user's todos, to add to a React app. | React SDK |
| Realtime chat | React + Realtime | Send and load chat messages, and a React hook that keeps a channel's messages live, to add to a React app. | React SDK |
| SaaS starter | Next.js SaaS | Server-side helpers for teams, members and roles in a Next.js app, with the tables they use. | React SDK |
| Store with product images | Next.js E-commerce | Server-side helpers that upload, list, sign and delete product images in a storage bucket, for a Next.js store. | JavaScript SDK |
| Python FastAPI backend | Python / FastAPI | A FastAPI server with the Python client set up from the environment, and optional sign-in checks, file routes and function routes. | Python SDK |
| Go backend | Go | A Go HTTP server that sets up the Go client from the environment, with optional sign-in middleware, file handlers and models. | Go SDK |
| Flutter app | Flutter / Dart | A 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 Swift | Swift / iOS | A 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.