BaasBox/developer

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(里程碑)
第1行: 第1行:
 
[[BaasBox]] 开发者
 
[[BaasBox]] 开发者
 +
 +
==里程碑==
 +
*1.0.x // 1.0.0-M3 databases will be upgrated to the 1.0.0-final
 +
After the 1.0. release we will create an automatic importer to manage the migration from [[Parse]] to BaasBox.
 +
*0.9.x
 +
*[https://github.com/baasbox/baasbox/milestones/Next Milestones Next]
 +
*[http://www.baasbox.com/download-page/ 下载稳定版或测试版]
  
 
==Eclipse==
 
==Eclipse==
第74行: 第81行:
 
     -H X-BAASBOX-APPCODE:1234567890   
 
     -H X-BAASBOX-APPCODE:1234567890   
 
[http://www.baasbox.com/documentation/?shell#api 更多REST API信息]
 
[http://www.baasbox.com/documentation/?shell#api 更多REST API信息]
 
==里程碑==
 
*1.0.x // 1.0.0-M3 databases will be upgrated to the 1.0.0-final
 
After the 1.0. release we will create an automatic importer to manage the migration from [[Parse]] to BaasBox.
 
*0.9.x
 
*[https://github.com/baasbox/baasbox/milestones/Next Milestones Next]
 
*[http://www.baasbox.com/download-page/ 下载稳定版或测试版]
 
 
==图集==
 
  
 
==开发者==
 
==开发者==
第88行: 第86行:
 
*[http://www.baasbox.com/claudio-tesoriero/ Claudio Tesoriero]
 
*[http://www.baasbox.com/claudio-tesoriero/ Claudio Tesoriero]
 
*[http://www.baasbox.com/team/ BaasBox Team]
 
*[http://www.baasbox.com/team/ BaasBox Team]
 +
 +
==图集==
  
 
==链接==
 
==链接==

2016年5月23日 (一) 08:54的版本

BaasBox 开发者

目录

里程碑

  • 1.0.x // 1.0.0-M3 databases will be upgrated to the 1.0.0-final

After the 1.0. release we will create an automatic importer to manage the migration from Parse to BaasBox.

Eclipse

使用 Scala IDE

git clone https://github.com/baasbox/baasbox
cd baasbox
play
[BaasBox] $ eclipse with-source=true
[BaasBox] $ start 8080
http://locahost:8080
admin/admin 12345678909

在 Eclipse 从 File/Import/General/Existing project 导入刚才的项目

更多细节:Setting up your preferred IDE

iOS

Getting Started iOS

git clone https://github.com/baasbox/DearDiary-iOS

在 BaasBox 后台创建 memos collection 配置 Xcode,在 DearDiary-Info.plist 添加

  <key>NSAppTransportSecurity</key>
 <dict>
   <key>NSAllowsArbitraryLoads</key>
   <true/>
   </dict>

这样就在Info.plist中添加NSAppTransportSecurity类型Dictionary。在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES。

因为 iOS 9 要求 App 使用 https 通信。

Andorid

H5

验证授权

备份恢复

以 export.json 的JSON文件打包成类似 20151102-235807-1234567890.zip 的文件格式。

OrientDB

数据模型和Scheme设计

目前,BaasBox使用的是OrientDB嵌入版本,把这块剥离成独立的OrientDB Cluster Server,先把这块解耦。

  • Remote access to OrientDB embedded server
<listener protocol="binary" port-range="2424-2430" ip-address="0.0.0.0"/>
<listener protocol="cluster" port-range="2434-2440" ip-address="0.0.0.0"/>
<listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0">

Cassandra

支持 Apache Cassandra

插件

REST API

获得端点信息
curl -X GET http://localhost:9000/admin/endpoints \
  -H X-BB-SESSION:3bc9f32d-e7a2-4646-9696-fdbbb26928d9 \ 
  -H X-BAASBOX-APPCODE:1234567890

创建一个用户

curl http://localhost:9000/user \
   -d '{"username" : "huihoo", "password" : "huihoo"}' \
   -H Content-type:application/json \
   -H X-BAASBOX-APPCODE:1234567890  

更多REST API信息

开发者

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱