Lowdefy is an open-source, low-code framework for building web applications and server-side APIs primarily through declarative YAML or JSON configuration. It abstracts much of the underlying JavaScript, TypeScript, and UI component boilerplate, allowing developers to define application logic, UI layouts (leveraging Ant Design), and data connections efficiently. The `lowdefy` npm package provides the Command Line Interface (CLI) tool essential for initializing projects, running a development server, and building applications. As of version 5.1.0, Lowdefy maintains an active release cadence, with frequent updates delivering new features like Ant Design v6 integration, enhanced theme token management, and improved dark mode support. Its key differentiators include its strong emphasis on YAML-driven configuration, deep integration with the Ant Design ecosystem, and comprehensive support for full-stack application development, including server-side APIs and user authentication, without extensive custom coding.
npm install lowdefyVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize a new Lowdefy project, install its dependencies, and launch the local development server. It includes an example `lowdefy.yaml` to show basic page and block configuration, illustrating how to display text and link to external resources.
Globally find and replace `_moment` with `_dayjs` in your YAML configuration files. Consider running `lowdefy upgrade` CLI for automated migration.
Rewrite custom styles using CSS-in-JS with Tailwind classes or apply them via `theme.antd.token` and `style: { .key }` properties. Migrate Less variables to Ant Design v6 theme tokens.Rename `lowdefy.config.yaml` to `lowdefy.yaml` in your project root.
Remove deprecated theme properties. For styling specific parts of blocks, use the new `style: { .key: {...} }` syntax. Dark mode is now automatic via CSS variables.Refactor applications using the `Comment` block to compose functionality with `Card`, `Flex`, `Avatar`, and `Paragraph` blocks instead.
Ensure your development environment and deployment targets use Node.js `v18` or newer. Upgrade Node.js if necessary.
Install `pnpm` globally (`npm install -g pnpm`) and use `pnpm install` for project dependencies. Enable Corepack (`corepack enable`) for easier `pnpm` management.
Execute `npx lowdefy@latest init` in an empty directory, or remove the existing `lowdefy.yaml` file if you intend to overwrite it.
Upgrade Lowdefy to version `v4.7.2` or newer, which includes a fix for this dev server hang. Review `_ref` usage for circular dependencies. (Found in release notes, no specific cite for problem, but fix in v4.7.2)
Upgrade Lowdefy and its related `@lowdefy/*` packages to `v4.5.2` or newer to resolve this bug. (Found in release notes, no specific cite for problem, but fix in v4.5.2)
Ensure `.env` variables for database URIs are correctly formatted and accessible. For payload size issues, especially when migrating from v3 to v4, use the `payload` property explicitly in requests to control what data is sent to the server. The `_payload` operator should then be used server-side to access this data.