Appearance
Usage
For start working with Aidbox by App API you should make some steps.
- Fill out
.env
file - Create config (Documentation)js
const config = createConfig();
- Create contextjs
const ctx = createCtx({ config, manifest: { operations, subscriptions, entities, resources, apiVersion: 2 }, });
- (Optionally) Create your own helpersjs
const helpers = createHelpers(ctx);
- Create applicationjs
const app = await createApp({config,helpers,ctx});
- Start applicationjs
await startApp(app, config, ctx);