Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/midnight-wonderer/midnight-mongoid
A MongoDB integration of Midnight::BusinessLogic
https://github.com/midnight-wonderer/midnight-mongoid
database enterprise-software mongodb mongoid rails ruby ruby-on-rails
Last synced: 11 days ago
JSON representation
A MongoDB integration of Midnight::BusinessLogic
- Host: GitHub
- URL: https://github.com/midnight-wonderer/midnight-mongoid
- Owner: midnight-wonderer
- License: bsd-3-clause
- Created: 2019-08-31T17:36:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T10:40:20.000Z (over 1 year ago)
- Last Synced: 2024-04-27T04:03:39.684Z (8 months ago)
- Topics: database, enterprise-software, mongodb, mongoid, rails, ruby, ruby-on-rails
- Language: Ruby
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Midnight::Mongoid
## What is it?
It is the [Mongoid](https://docs.mongodb.com/mongoid/) integration of [Midnight::BusinessLogic](https://rubygems.org/gems/midnight-business_logic).
Midnight::BusinessLogic enables you to write your business logics without worrying about the underlying storage engine,
but in real applications, you need some persistence layer anyway.
[Midnight::Rails](https://rubygems.org/gems/midnight-rails) comes with the [Active Record](https://rubygems.org/gems/activerecord)
integration by default. This library provides an alternative of such integration,
for those who powered their app with
[MongoDB](https://www.mongodb.com/) or
[MongoDB like](https://aws.amazon.com/documentdb/) databases.## Installation
Add this line to your application's Gemfile:
```ruby
gem 'midnight-mongoid'# you probably also need Midnight::Rails
# for default integrations of something else apart from the Active Record
gem 'midnight-rails'
```And then execute:
$ bundle
## Maintainer
- Sarun Rattanasiri (
[GitLab](https://gitlab.com/midnight-wonderer),
[GitHub](https://github.com/midnight-wonderer),
midnight_w\[a]gmx\[.]tw
)## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/midnight-wonderer/midnight-mongoid.## License
Midnight::Mongoid is released under the [3-clause BSD License](LICENSE.md).