Is there a Polymer component that simplifies communications with MongoDB?

走远了吗. 提交于 2019-12-06 09:39:41

I think that you should use Strongloop/Loopback (http://loopback.io/getting-started/) as backend and do ajax request thought Fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch). Unfortunally Fetch isn't fully supported in all browser but thanks to this polyfill (https://github.com/github/fetch) you can have a full supported fallback solution.

I'm unaware of a MongoDB element, but perhaps you could use the Polymer firebase element as a reference.

https://github.com/polymer/firebase-element

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!