-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
A boot script is a short piece of code that users want to run during application setup (boot), e.g. to apply additional configuration in a programatic way, add more routes, etc.
In LB3, a boot script is a JS file in server/boot directory, loopback-boot automatically discovers and runs these scripts as part of boot.
For LB4, we should come up with a solution that will enable app developers to define custom code bits to be executed during boot, possibly also during start & stop. It is not necessary to use the LB3 approach, we should approach this challenge with a fresh mind and pick a design that leverages the power of LB4.
Acceptance criteria
TBD