Methods
(async) boot(optionsopt) → {App}
Main entry point of a Bajo app. Returned value is the app instance itself.
While you can code directly around it, you typically write your code the main plugin ({mainNs}) or writing your own custom plugin.
I recommend the second method for its portability.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | <optional> | App options. Properties
|
Returns:
- Type:
- App
Example
// index.js file. Your main package entry point
import bajo from 'bajo'
await bajo()