1.2.1 • Published 3 years ago

@admin-bro/sequelize v1.2.1

Weekly downloads
838
License
MIT
Repository
github
Last release
3 years ago

admin-bro-sequelizejs

This is an official AdminBro adapter which integrates sequelize ORM into admin-bro.

Usage

The plugin can be registered using standard AdminBro.registerAdapter method.

const AdminBro = require('admin-bro')
const AdminBroSequelize = require('@admin-bro/sequelize')

AdminBro.registerAdapter(AdminBroSequelize)

More options can be found on AdminBro official website.

Testing

Integration tests require running database. Database connection data are given in config/config.js. Make sure you have following env variables set: POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_PORT, POSTGRES_DATABASE, POSTGRES_HOST. Take a look at config/config.js to see default values.

Than you will have to create database and run migrations

npm run sequelize db:create
npm run sequelize db:migrate

License

AdminBro is Copyright © 2018 SoftwareBrothers.co. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About SoftwareBrothers.co

We’re an open, friendly team that helps clients from all over the world to transform their businesses and create astonishing products.

  • We are available to hire.
  • If you want to work for us - checkout the career page.
1.3.0-beta.5

3 years ago

1.3.0-beta.1

3 years ago

1.3.0-beta.2

3 years ago

1.3.0-beta.3

3 years ago

1.3.0-beta.4

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.0-beta.1

4 years ago

1.0.0-beta.6

4 years ago

1.0.0-beta.4

4 years ago

1.0.0-beta.5

4 years ago

1.0.0

4 years ago

1.0.0-beta.3

4 years ago

1.0.0-beta.2

4 years ago

1.0.0-beta.1

4 years ago