yugabyte / sequelize-yugabytedb

Sequelize, promise-based Node.js ORM

Home Page:https://sequelize.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sequelize-yugabytedb

Use the below command to install sequelize-yugabytedb package in your project

npm install sequelize-yugabytedb 

Steps to run the tests

  1. Make sure you have a YugabyteDB cluster up and running on your machine.
    Note: The tests are assuming the localhost and 5433 as default host and port for YugabyteDB cluster.
  2. Go to YugabyteDB installation directory and create a database test_sequelize:
    $ ./bin/ysqlsh -c "CREATE DATABASE test_sequelize"
    
  3. Move back to sequelize-yugabytedb directory and install dependencies by running:
    $ npm install
    
  4. To run the test, simply do:
    $ npm test
    

We will soon add a link to product documentation for using the package once uploaded in yugabyte docs.

If you encounter any bugs please file it in sequelize-yugabytedb project

About

Sequelize, promise-based Node.js ORM

https://sequelize.org/

License:Apache License 2.0


Languages

Language:JavaScript 100.0%