Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yugabyte/sequelize-yugabytedb

Sequelize, promise-based Node.js ORM
https://github.com/yugabyte/sequelize-yugabytedb

nodejs orm sequelize

Last synced: 7 days ago
JSON representation

Sequelize, promise-based Node.js ORM

Awesome Lists containing this project

README

        

# sequelize-yugabytedb

Use the below command to install [sequelize-yugabytedb](https://www.npmjs.com/package/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](https://github.com/yugabyte/sequelize-yugabytedb/issues/new)