如何集成AngularJS和CouchDB? [英] How to integrate AngularJS and CouchDB?

查看:83
本文介绍了如何集成AngularJS和CouchDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 AngularJS CouchDB json 键入文档。任何人都可以提供有关这些集成的任何示例,例如可以工作和集成的任何CRUD示例,以便我可以执行任何crud操作并可以在数据库中/从数据库中保存/检索任何json文档。提前致谢。

I am trying to work with AngularJS and CouchDB with json type documents. Could you anyone please provide any examples on these integration like any CRUD examples to work and to integrate so that I can perform any crud operations and can save/retrieve any json documents in/from database. Thanks in advance.

推荐答案

您应该看看PouchDB- https://pouchdb.com/ -您可以将pouchdb用作http api并从angularJS服务连接到远程Couchdb数据库。如果您使用的是angular 1.2到1.5,也有几个pouchdb angular js模块可用。

You should take a look at PouchDB - https://pouchdb.com/ - you can use pouchdb as a http api and connect to a remote couchdb database from your angularJS services. There are also several pouchdb angular js modules available, if you are using angular 1.2 to 1.5.

您可以在此处获取更多信息: https://pouchdb.com/guides/setup-couchdb.html

You can get more information here: https://pouchdb.com/guides/setup-couchdb.html

这篇关于如何集成AngularJS和CouchDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆