---
title: "ArkAPI"
description: "Your HarmonyOS app and its backend, in one project."
---

# ArkAPI

Write the backend as TypeScript functions next to your ArkTS screens. The screen calls them like local functions through a generated, typed client, and `bunx arkapi deploy` puts them online.

The same feature built with a Spring Boot backend and a hand-written ArkTS client took 435 lines in 13 files; with ArkAPI it took 64 lines in 2 files. A field renamed on the backend breaks the ArkAPI build instead of shipping a blank screen.

Includes typed calls and argument validation, live data, SQLite, file storage, HTTP routes, scheduled jobs, logs, environment variables and rollback.

```sh
bun add -d git+ssh://git@github.com/emincanozcan/arkapi.git
bunx arkapi init
```

[Start building](/docs/quickstart.md) · [Documentation index](/llms.txt) · [All docs](/llms-full.txt)
