Create Varity App is a command-line interface (CLI) tool designed to bootstrap production-ready web applications with integrated authentication, database, storage, and payment capabilities. Functioning as an 'all-in-one' platform, Varity aims to significantly reduce development and deployment time, boasting '60-second deploys' and claiming 60-80% cost savings compared to traditional cloud setups like AWS. It achieves this through a 'zero-configuration' approach for core services, leveraging internal packages such as `@varity-labs/sdk` for backend interactions and `@varity-labs/ui-kit` for frontend components. The package is currently in a beta state, version `2.0.0-beta.22`, indicating active development and a rapid release cadence for new features and improvements. It targets developers building SaaS products, dashboards, or any web application requiring robust foundational features without extensive manual setup. Key differentiators include its unified platform experience, emphasis on developer experience with React and TypeScript, and a marketplace for monetization.
npm install create-varity-appVerified import paths — ran on the pinned version, not inferred.
Initializes a new Varity application, installs dependencies, starts the development server, and demonstrates basic database interaction and UI authentication components within the generated project structure.
Regularly consult the official Varity documentation and GitHub repository for updates and potential migration guides between beta releases. Pin dependencies to specific beta versions to ensure stability.
Verify the current status of payments functionality in the latest Varity documentation before building critical payment-dependent features. Plan for alternative payment integrations if Varity's built-in solution is not yet stable or feature-complete for your needs.
Be clear about which CLI tool is appropriate for each task. `create-varity-app` is for scaffolding new projects, while `varitykit` handles deployment and potentially other platform-level operations. Ensure Python and its package manager (`pip`) are correctly set up if using `varitykit`.
Always use `npx create-varity-app my-app` to execute the package, which downloads and runs the latest version without global installation.
Ensure the application is running within the Varity-generated project structure and that all necessary environment variables or configurations are in place as expected by the SDK's 'zero-config' setup. Check Varity documentation for explicit initialization steps if running outside a typical Varity app.
Verify that your Varity project is correctly configured on the Varity platform. Check console logs for network errors or specific authentication error messages. Ensure that the `AuthProvider` wraps your application's components as per documentation.