Mosaic products documentation: Concepts, API Reference, Technical articles, How-to, Downloads and tools

Libraries

Mosaic provides libraries and tools for both backend and frontend developers. The packages encapsulate all heavy operations and the details of communication with the Managed Services.

The libraries are available as npm packages and can be installed using yarn.

All libraries are delivered with the source code, which is a part of their installation package. This enables debugging and helps to troubleshoot issues efficiently.

The following libraries are available:

Name Purpose Comment

@axinom/mosaic-core

Backend

Shared types and core functionalities.

@axinom/mosaic-cli

CLI

Command line utility

@axinom/mosaic-db-common

Backend

This package encapsulates database-related functionality to develop Mosaic-based services.

@axinom/mosaic-id-guard

Backend

Authentication and authorization helpers for Mosaic services.

@axinom/mosaic-id-link

Frontend

Integration utilities from id-service for application frontends.

@axinom/mosaic-id-link-be

Backend

Integration utilities from id-service for Mosaic services.

@axinom/mosaic-id-utils

Backend

Shared types used by id-service for integration clients.

@axinom/mosaic-managed-workflow-integration

Frontend

es types and helpers for integrating with Axinom Mosaic Managed Workflows.

@axinom/mosaic-user-auth

Frontend

react library that wraps the core functionality in the User Service that is related to frontend end-user applications.

@axinom/mosaic-user-auth-utils

Frontend/Backend

Supporting library of @axinom/mosaic-user-auth which exports common types, so they may be shared between the Frontends and Backends during authentication & authorization flows (end-user facing)

@axinom/mosaic-message-bus

Backend

Messaging library for Mosaic services.

@axinom/mosaic-messages

Backend

Shared types for Mosaic service messages.

@axinom/mosaic-portal

Frontend

Orchestration Application for running microfrontends in the local development environment.

@axinom/mosaic-service-common

Backend

Common helpers and PostgreSQL-related functionality.

@axinom/mosaic-graphql-common

Backend

Modules that help to set up GraphQL API.

@axinom/mosaic-ui

Frontend

UI components for building Mosaic applications.