https://github.com/fogine/couchbase-odm
CouchbaseODM is a promise-based Node.js ODM for Couchbase
https://github.com/fogine/couchbase-odm
couchbase n1ql nodejs odm promise views
Last synced: 5 months ago
JSON representation
CouchbaseODM is a promise-based Node.js ODM for Couchbase
- Host: GitHub
- URL: https://github.com/fogine/couchbase-odm
- Owner: fogine
- License: mit
- Created: 2016-05-10T10:50:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T16:50:14.000Z (almost 3 years ago)
- Last Synced: 2025-05-07T10:34:27.179Z (5 months ago)
- Topics: couchbase, n1ql, nodejs, odm, promise, views
- Language: JavaScript
- Homepage: https://fogine.github.io/couchbase-odm
- Size: 1.61 MB
- Stars: 12
- Watchers: 6
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CouchbaseODM
[](https://travis-ci.org/fogine/couchbase-odm) [](https://codeclimate.com/github/fogine/couchbase-odm/coverage) [](https://www.npmjs.com/package/kouchbase-odm) [](https://gitter.im/Couchbase-ODM/couchbase-odm) [](https://github.com/fogine/couchbase-odm/blob/master/LICENSE)
CouchbaseODM is a [promise-based](http://bluebirdjs.com/docs/getting-started.html) Node.js ODM for [Couchbase](http://www.couchbase.com/nosql-databases/couchbase-server). It strives for clean, easy-to-use API for your business logic, offering (reasonable) customizability.
Installation
-------------------
`npm install kouchbase-odm`Contributing
-------------------
Please, fill a bug report at [issues](https://github.com/fogine/couchbase-odm/issues) page if you find any.
Also, feedback, suggestions and pull requests are more than welcome!
Make sure to discuss an issue with the community before implementing a solution for the issue.Features
-------------------
* Promises!
* Model based
* Hooks
* Key generation strategies (eg. incremented integer, uuidv4 or user defined strategies)
* Strictly typed schema definitions
* Document associations
* Advanced quering:
* Application layer indexes (reference documents)
* `Views` support (*next minor release*)
* `N1QL` support (*on Roadmap*)
* and more (see Public API Reference)!Resources
-------------------
* [Getting Started](https://fogine.github.io/couchbase-odm/tutorial-1.gettingStarted.html)
* [Documentation](https://fogine.github.io/couchbase-odm/tutorial-1.gettingStarted.html)
* [Public API Reference](https://fogine.github.io/couchbase-odm/CouchbaseODM.html)
* [Changelog](./CHANGELOG.md)
* [Gitter chat room](https://gitter.im/couchbase-odm/couchbase-odm)
* [Upgrade Guides](https://fogine.github.io/couchbase-odm/tutorial-8.upgrade-guides.html)Tests
-------------------`npm test`
-------------------------------------------
_**Note:** this project is using [Semantic versioning](http://semver.org/)_
_**Note:** this project is inspired by [Sequelize](https://github.com/sequelize/sequelize) - splendid promise-based ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server_