Skip to main content
Version: v5

Harper v5 Reference

Complete technical reference for Harper v5. Each section covers a core feature or subsystem — configuration options, APIs, and operational details.

For concept introductions, tutorials, and guides, see the Learn section.

Sections

Data & Application

SectionDescription
DatabaseSchema system, storage, indexing, transactions, and the database JS API
ResourcesCustom resource classes, the Resource API, and query optimization
ComponentsApplications, extensions, the Plugin API, and the JS environment

Access & Security

SectionDescription
RESTAuto-REST interface, querying, content types, headers, WebSockets, and SSE
HTTPHTTP server configuration, TLS, and the server API
SecurityAuthentication mechanisms, certificates, and CORS/SSL configuration
Users & RolesRBAC, roles configuration, and user management operations

Setup & Operation

SectionDescription
CLIAll CLI commands, Operations API commands, and authentication
Configurationharperdb-config.yaml options and configuration operations
Operations APIFull index of all Operations API operations

Features

SectionDescription
LoggingLog configuration, the logger API, and log management operations
AnalyticsResource and storage analytics, system tables
MQTTMQTT broker configuration and usage
Static FilesStatic file serving via the static plugin
Environment VariablesEnvironment variable loading via the loadEnv plugin
ReplicationNative replication, clustering, and sharding
GraphQL QueryingExperimental GraphQL support
StudioLocal Studio UI configuration and access
Fastify RoutesFastify route definitions (discouraged in favor of components)

Legacy

SectionDescription
Harper CloudLegacy Harper Cloud documentation — see Fabric for current cloud hosting
Custom FunctionsDeprecated predecessor to Components