Front-End SDK Overview

The Front-End SDK allows developers to easily integrate with Socotra Insurance Suite. This SDK is written in React and provides an easy entry point to interacting with the system via components and hooks.

A set of example applications demonstrate how to use the SDK in a variety of different scenarios.

To get started with the SDK and examples, you can follow the instructions below.

Installation

To install the React SDK, you can use npm or yarn to add the package to your project.

npm i @socotra/ec-react-schemas @socotra/ec-react-utils @socotra/ec-react-components

or

yarn add @socotra/ec-react-schemas @socotra/ec-react-utils @socotra/ec-react-components

Example Applications

The example applications, written in React, are designed to demonstrate how to use the SDK in a variety of different scenarios and can be modified with ease.

Full stack starter with Next.js

https://github.com/socotra/kernel-client-example

See Also