@booljs/sequelize is a database loader intended to enable developers to use Sequelize in the BoolJS Framework.
Install the package using
npm install @booljs/sequelize
BoolJS Sequelize uses some peerDependencies you must have in your project. We encourage using npm 6+ in all your projects, because is strict in making you declare them in your project.
npm install sequelize@latest
Finally, you might need to get some documentation on the usage of Sequelize. Find it on their website.
First, register the @booljs/sequelize module in your BoolJS application. Then, add it to the database drivers
In index.js, declare:
constBool=require('booljs');asyncfunctionmain(){constAPI=newBool('com.example.api',['@booljs/sequelize']);.setDatabaseDrivers('booljs.sequelize');returnAPI.run();}module.exports=main();