Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yugabyte/sequelize-yugabytedb
- Owner: yugabyte
- License: apache-2.0
- Created: 2021-07-20T10:09:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-11T04:43:23.000Z (over 2 years ago)
- Last Synced: 2024-09-16T05:49:17.057Z (2 months ago)
- Topics: nodejs, orm, sequelize
- Language: JavaScript
- Homepage: https://sequelize.org/
- Size: 21.5 KB
- Stars: 4
- Watchers: 86
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)