Various DB and front for Meteor

Suppose I want to use a different database than Mongo in the Meteor background thread, and also want to use a visualization library such as D3.js on the interface. Is this possible at the moment? How difficult would it be to add it yourself if not? Thanks

+6
source share
2 answers

The https://github.com/meteor/meteor/tree/master/packages/mongo-livedata documentation indicates that this will be the initial module if you want to replace the database functionality.

You can replace another database for MongoDB by providing a server-side database driver and / or client-side cache client that implements an alternative API. Mongo-livingata is a good starting point for such a project.

- http://docs.meteor.com/#data

+1
source

Take a look at this project: https://github.com/austinrivas/meteor-postgresql . If you really need to use a database other than the mengo meteor, this may not be the right choice if you are not experimenting. You can always aggregate data from another db to mongo, which can make life easier.

I used D3 with a meteor in the form of angularjs directives and bound data to control the visualization in $ scope. DDP makes data storage relevant in d3 visualization super convenient.

0
source

Source: https://habr.com/ru/post/912962/


All Articles