Back to Sails

config/bootstrap.js

docs/anatomy/config/bootstrap.js.md

12.12.2000408 B
Original Source

config/bootstrap.js

This is a server-side JavaScript file that is executed by Sails just before your app is lifted.

This gives you an opportunity to set up your data model, run jobs, or perform some special logic.

Usage

See sails.config.bootstrap for more info.

<docmeta name="displayName" value="bootstrap.js">