https://github.com/devniel/omn
An object maping tool with MongoDB support. (Neo4j and PostgreSQL in progress)
https://github.com/devniel/omn
mongodb object-mapping
Last synced: 9 months ago
JSON representation
An object maping tool with MongoDB support. (Neo4j and PostgreSQL in progress)
- Host: GitHub
- URL: https://github.com/devniel/omn
- Owner: devniel
- License: mit
- Created: 2018-06-24T07:28:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-25T20:31:12.000Z (about 7 years ago)
- Last Synced: 2025-03-02T08:46:43.761Z (about 1 year ago)
- Topics: mongodb, object-mapping
- Language: JavaScript
- Homepage:
- Size: 393 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# omn [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
> An object mapping tool.
In a past software project, I implemented a feature where the data layer could be configured to use MongoDB or PostgreSQL as the system of records by setting only an environment variable, this is the distilled result; the objective is to have an standard `model` layer that could be used on different DBs with just a line of configuration, another core thing is to encourage the use of OOJS.
## Work in progress
- [ ] Basic support for MongoDB using `mongoose` as part of the adapter. (CRUD).
- [ ] Use a first version on my blog.
- [ ] Add `graphql` support dinamically for each class that uses `omn`.
- [ ] Publish on NPM as soon is successfully implemented on my blog.
## Notes
I'm planning to use `omn` on my other personal projects, and because it's part of a data layer, it's top priority.
## License
MIT © [devniel](http://devniel.com)
[npm-image]: https://badge.fury.io/js/omn.svg
[npm-url]: https://npmjs.org/package/omn
[travis-image]: https://travis-ci.org/devnieL/omn.svg?branch=master
[travis-url]: https://travis-ci.org/devnieL/omn
[daviddm-image]: https://david-dm.org/devnieL/omn.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/devnieL/omn