0.2.4 • Published 4 years ago

@booljs/sequelize v0.2.4

Weekly downloads
23
License
GPL-3.0
Repository
github
Last release
4 years ago

@booljs/sequelize is a database loader intended to enable developers to use Sequelize in the BoolJS Framework.

Install

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.

Usage

First, register the @booljs/sequelize module in your BoolJS application. Then, add it to the database drivers

In index.js, declare:

const Bool = require('booljs');

async function main () {
    const API = new Bool('com.example.api', [ '@booljs/sequelize' ]);
        .setDatabaseDrivers('booljs.sequelize');

    return API.run();
}

module.exports = main();
0.2.4

4 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago