Skip to main content

SDKs Overview

Easy AppServer provides SDKs for building applications on the platform.

Available SDKs

Node.js SDK

Backend SDK for building AppServer applications in Node.js and TypeScript.

Key Features:

  • Lifecycle hooks (onCreate, onStartUp, onRegister, onInstall, onUninstall, onDestroy)
  • Type-safe AppContext
  • PostgreSQL database client
  • Certificate and key management
  • Structured logging
  • Graceful shutdown handling
  • ESM and CommonJS support

Package: @easy/appserver-sdk

Frontend SDK

Browser-side SDK for building microfrontend applications.

Key Features:

  • Session context access (user ID, roles, permissions)
  • App settings management
  • Authenticated HTTP fetch
  • Module Federation adapter
  • Iframe adapter
  • Vue 3 integration (plugin, composables)
  • Asset loading utilities

Package: @easy/appserver-frontend-sdk

SDK Comparison

FeatureNode.js SDKFrontend SDK
RuntimeNode.jsBrowser
PurposeBackend appsMicrofrontends
AuthenticationCertificate-basedSession-based
API AccessgRPCHTTP/GraphQL
StateServer-sideClient-side
FrameworksAny Node.jsVue 3 (others possible)

Getting Started

Node.js SDK

npm install @easy/appserver-sdk

See Node.js SDK Installation

Frontend SDK

npm install @easy/appserver-frontend-sdk

See Frontend SDK Installation

Development Workflow

TODO: Document typical development workflow:

  1. Create app project
  2. Install SDK
  3. Implement lifecycle hooks (backend)
  4. Build microfrontend (frontend)
  5. Test locally
  6. Build and push assets
  7. Register with AppServer
  8. Install and test