pouchdb-angularjs-app:使用AngularJS和PouchDB与Couchbase同步数据

时间:2021-05-06 14:06:00
【文件属性】:
文件名称:pouchdb-angularjs-app:使用AngularJS和PouchDB与Couchbase同步数据
文件大小:256KB
文件格式:ZIP
更新时间:2021-05-06 14:06:00
JavaScript 将NoSQL数据与PouchDB,AngularJS和Couchbase同步 这是一个示例项目,旨在演示如何在Web应用程序中仅使用AngularJS和JavaScript将Couchbase用作数据库。 指示 下载最新的master分支提交以及最新版本的Couchbase Sync Gateway。 在终端或命令提示符下,将项目作为当前工作目录,运行: python -m SimpleHTTPServer 9000 这将开始使用轻量级Python服务器为Web应用程序提供服务。 如果您不提供该应用程序,而是尝试通过在Web浏览器中打开HTML文件来运行该应用程序,则会遇到与跨源资源共享(CORS)相关的问题。 从终端或命令提示符下载Couchbase同步网关后,通过运行以下命令启动同步网关: /path/to/sync/gateway/bin/sync_gateway /path/
【文件预览】:
pouchdb-angularjs-app-master
----css()
--------bootstrap.min.css(120KB)
--------bootstrap-theme.min.css(23KB)
----templates()
--------item.html(837B)
--------list.html(655B)
----fonts()
--------glyphicons-halflings-regular.woff(23KB)
--------glyphicons-halflings-regular.woff2(18KB)
--------glyphicons-halflings-regular.ttf(44KB)
--------glyphicons-halflings-regular.eot(20KB)
--------glyphicons-halflings-regular.svg(106KB)
----index.html(499B)
----js()
--------pouchdb-4.0.1.min.js(144KB)
--------bootstrap.min.js(36KB)
--------angular-ui-router.min.js(30KB)
--------angular.min.js(143KB)
--------app.js(4KB)
----.gitignore(22B)
----sync-gateway-config.json(631B)
----README.md(1KB)

网友评论