如何整合AngularJS和CouchDB?
How to integrate AngularJS and CouchDB?
我正在尝试使用 AngularJS
和 CouchDB
以及 json
类型的文档。任何人都可以提供关于这些集成的任何示例,例如任何 CRUD 示例,以便工作和集成,以便我可以执行任何 CRUD 操作,并且可以 save/retrieve 任何 json 文档 in/from 数据库。提前致谢。
如果你使用 expressJS,你可以将 CouchDB 与 nano 集成:
http://expressjs.com/fr/guide/database-integration.html#couchdb
您应该看看 PouchDB - https://pouchdb.com/ - 您可以将 pouchdb 用作 http api 并从 angularJS 服务连接到远程 couchdb 数据库。还有几个 pouchdb angular js 模块可用,如果你使用 angular 1.2 到 1.5.
您可以在此处获取更多信息:https://pouchdb.com/guides/setup-couchdb.html
我正在尝试使用 AngularJS
和 CouchDB
以及 json
类型的文档。任何人都可以提供关于这些集成的任何示例,例如任何 CRUD 示例,以便工作和集成,以便我可以执行任何 CRUD 操作,并且可以 save/retrieve 任何 json 文档 in/from 数据库。提前致谢。
如果你使用 expressJS,你可以将 CouchDB 与 nano 集成:
http://expressjs.com/fr/guide/database-integration.html#couchdb
您应该看看 PouchDB - https://pouchdb.com/ - 您可以将 pouchdb 用作 http api 并从 angularJS 服务连接到远程 couchdb 数据库。还有几个 pouchdb angular js 模块可用,如果你使用 angular 1.2 到 1.5.
您可以在此处获取更多信息:https://pouchdb.com/guides/setup-couchdb.html