App backend development
Backend code is the portion of an app that:
- Runs on a computer with a copy of an iModel
- Has access to the local file system
- Can use native libraries
A backend package can be a service, an agent, or an app-specific backend.
- See the app architecture overview for how iTwin.js apps are structured.
- See iModel contents for guidance on whether a data type belongs in the iModel or should be stored in a separate repository.
- See best practices for writing backend code.
App backends require the @itwin/core-backend npm package.
The common packages will also be required. Please also note the supported platforms.
These packages provide the following functions to support backend operations:
Administration
IModelDb
Text Annotations
Working with Schemas and Elements in TypeScript
Loading and Creating Elements, ElementAspects, and Models
ECSQL
Dealing with Codes
Change Summary
Workspaces and Settings
For services and app backends:
Last Updated: 02 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.