Akera connector for LoopBack framework

Usage no npm install needed!

<script type="module">
  import akeraioLoopbackConnector from 'https://cdn.skypack.dev/@akeraio/loopback-connector';



@akeraio/loopback-connector is the LoopBack connector for Akera.io Application Server for [loopback-datasource-juggler] (https://github.com/strongloop/loopback-datasource-juggler/).


npm install @akeraio/loopback-connector --save

Basic use

To use this connector you need loopback-datasource-juggler and akera-api.

1.package.json must contain these dependencies:

      "dependencies": {
        "loopback-datasource-juggler": "latest",
        "@akeraio/loopback-connector": "latest"
  1. Quick start:
    var datasource = require('loopback-datasource-juggler').DataSource;
    var config = {
        host: 'localhost',
        port: 8900,
        useSSL: false,
        database: 'sports2000',
        debug: true
    var ds = new datasource('@akeraio/loopback-connector', config);

For information on configuring the connector in a LoopBack application, please refer to LoopBack documentation.

For Loopback 4 the datasource configuration looks something like this:

  "name": "akera",
  "connector": "@akeraio/loopback-connector",
  "host": "localhost",
  "port": 8900
  1. Tests: To run the test suite set-up a working 'sports2000' Progress database on a Akera Application Server then run npm test.