Local development
Prerequisites
- Node.js v22+ environment with
npm - Databricks CLI (v1.0.0 or higher): install and configure it according to the official tutorial.
- A new Databricks app with AppKit installed. See Bootstrap a new Databricks app for more details.
Once your app is bootstrapped according to the Manual quick start guide, you can start the development server with hot reload for both UI and backend code.
In the application root directory, run the following command to start the development server:
npm run devThis command will start the development server with hot reload for both UI and backend code. Open the displayed URL in your browser to see the app. Modify the code in the src/ directory to see the changes reflected in the browser.
Hot reload doesn't type-check. If your package.json has a typecheck script, the development server runs it in the background at startup and after each TypeScript change, and logs any type errors. Deployment validation runs the same script, so fix these errors before you deploy.
To see the other available commands, read the README.md file in the application root directory.