Local development runs two processes side by side. The Base44 dev server handles your backend, and your usual frontend dev server runs the UI. Your frontend talks to the local backend through the SDK.Documentation Index
Fetch the complete documentation index at: https://docs.base44.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
If your project has backend functions, you need to install Deno to run them locally.Configure your frontend client
If your project has a frontend that uses the SDK, you need to tell it where to send requests. By default, the SDK sends requests to Base44’s hosted backend. To use the local dev server instead, passserverUrl to your client configuration when running in development mode. In production, omit serverUrl so the SDK uses its default.
The approach is to detect whether your code is running in a development environment, then conditionally set serverUrl to point at the local dev server. Most frameworks provide a built-in way to check this.
Run the dev servers
Each time you develop locally, you need two terminals running side by side.Start the backend
In one terminal, run This starts the local backend on
dev from your project directory:http://localhost:4400.See also
- Local development overview: What runs locally, what’s forwarded, and how it works
dev: CLI command reference with flagsserverUrl: SDK client configuration

