2016年6月12日

pouchdb Conflicts

摘要: Conflicts are an unavoidable reality when dealing with distributed systems. And make no mistake: client-server is a distributed system. CouchDB and Po 阅读全文

posted @ 2016-06-12 13:52 荣锋亮 阅读(319) 评论(0) 推荐(0) 编辑

pouchdb sync

摘要: PouchDB and CouchDB were designed for one main purpose: sync. Jason Smith has a great quote about this: The way I like to think about CouchDB is this: 阅读全文

posted @ 2016-06-12 13:16 荣锋亮 阅读(450) 评论(0) 推荐(0) 编辑

linux node&& npm 安装方式

摘要: 1. 编译好的文件 简单说就是解压后,在bin文件夹中已经存在node以及npm,如果你进入到对应文件的中执行命令行一点问题都没有,不过不是全局的,所以将这个设置为全局就好了。 node文件夹具体放在哪,叫什么名字随你怎么定。然后设置全局: 阅读全文

posted @ 2016-06-12 11:21 荣锋亮 阅读(198) 评论(0) 推荐(0) 编辑

swagger-editor 快速REST-API 测试文档编写

摘要: 1. 在线使用 http://editor.swagger.io/#/ 2. 离线工具 https://github.com/swagger-api/swagger-editor 3. 跨域访问问题: 服务添加一下 http 响应头(不同服务器配置可能不同,可以搜索对应的资料): 4. docker 阅读全文

posted @ 2016-06-12 09:45 荣锋亮 阅读(1256) 评论(5) 推荐(0) 编辑

导航