Skip to main content
Deploy your local serverless functions to Base44. The command reads all function directories in your functions folder, validates their configurations, and deploys them to your Base44 project. Each function requires its own directory with a configuration file and code file. See Project Structure for details on function file organization and examples. The command performs a full sync operation. For each function, the action taken is determined by its state locally and remotely:
Local stateRemote stateResult
Function existsFunction existsRemote function is updated
Function existsFunction missingNew remote function is created
Function missingFunction existsRemote function is removed. See the warning below
Deleting a function removes it from Base44. Any endpoints or integrations that depend on this function will no longer work.
Before deploying, ensure your project is connected to a Base44 app. Check that your .app.jsonc file exists and contains your app ID. If not, run base44 link.

Usage

base44 functions deploy
The command will:
  1. Find all functions in your functions directory.
  2. Validate each function’s configuration.
  3. Deploy the functions to Base44.
  4. Report which functions were deployed, deleted, or had errors.

See also