Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T16:50:14.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T08:22:18.940Z (11 days ago)
- Topics: couchbase, n1ql, nodejs, odm, promise, views
- Language: JavaScript
- Homepage: https://fogine.github.io/couchbase-odm
- Size: 1.61 MB
- Stars: 12
- Watchers: 7
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CouchbaseODM
[![Build Status](https://travis-ci.org/fogine/couchbase-odm.svg?branch=master)](https://travis-ci.org/fogine/couchbase-odm) [![Test Coverage](https://codeclimate.com/github/fogine/couchbase-odm/badges/coverage.svg)](https://codeclimate.com/github/fogine/couchbase-odm/coverage) [![npm version](https://badge.fury.io/js/kouchbase-odm.svg)](https://www.npmjs.com/package/kouchbase-odm) [![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/Couchbase-ODM/couchbase-odm) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](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_