Our team has a very large RoR app in production already, but we're looking for a new workflow for the future. Since our team is made of mostly Rails devs and me (JavaScript), I've been looking into the idea of connection a Meteor app to a Rails API for the backend. I'm not too familiar with Meteor yet so I'm wondering if this is possible as of 0.6.5? Or if any Meteor devs see this, will it be possible in the current road map?
My current thoughts are to create collections using data from the Rails API and update the Rails records when the meteor collections are changed, so theoretically both databases will be updated while taking advantage of Meteor's client-side features. As I've said, I'm not too familiar with the specifics of Meteor yet so this may not work like I'm thinking.
Or maybe I can't use collections at all and have to manually create a minimongo using the API data and manually send back as it's updated?
This also brings the question of publishing and subscribing to the collections, which I'm not sure how that would work either.
Any help or enlightenment is appreciated.
I wrote a DDP client gem that supports DDP 1.0. It's not finished yet, but the most common functionality already works: https://github.com/clemenshelm/metybur
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With