Configuration

Hexabase Configuration

Starting with Hexabase class, it is used to initialize session to hexabase. by initializing this class, you can store api token to sessionStorage automatically, and use wide range variety of hexabase system.

Note:

1) this SDK uses async/await -> Promise<T> to access Hexabase Rest API.

2) currently, does not have special bindings to any react redux, mobx or any state managements

3) basically, the implementation of the sdk is to wrap around hexabase rest API

Configuration

// Initialize default app
// use your own/company credentials
import { Hexabase } from 'hexabase-sdk'
Hexabase.initializeApp({
email: 'j.soliva@b-eee.com', // registered user email address in Hexabase
password: '123456' // user password
})