Introducing NoSQLax: A CouchDB ODM for Node.js Inspired by Hibernate, Ottoman, and TypeORM #5581
Unanswered
gregblt
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋,
I’d like to introduce NoSQLax, an ODM for CouchDB built in Node.js.
Originally, I created NoSQLax to solve a recurring need in one of my own projects: having structured, validated document management with reusable patterns like Active Record and Data Mapper, similar to what you'd find in tools like Hibernate, Ottoman.js, or TypeORM.
What I needed was a way to structure my CouchDB documents using clear, maintainable logic — something closer to what you'd find in relational ORMs. NoSQLax solves that by letting you define your entities using JSON Schema, with full validation powered by Ajv, so your data stays consistent and predictable. It supports both the Active Record and Data Mapper patterns, giving you the flexibility to choose the approach that fits your application best. And it all builds on nano.
Since it proved useful, I decided to polish it and make it available for the community — hoping it could help others with similar needs.
Github : https://github.com/snorlab/NoSQLax
NPM : https://www.npmjs.com/package/nosqlax
Beta Was this translation helpful? Give feedback.
All reactions