从客户端访问 ArangoDB 数据

Access ArangoDB data from client side

我是ArangoDB的新手,很高兴它可以直接在数据库中托管微服务。

我将如何跨不同域名直接从客户端(Jquery 或 Angular 或其他)发送查询/加载数据?假设我在 www.example.com(端口 80)上有节点,并且想提供一个(仅)直接从 ArangoDB 读取数据的应用程序。

我也在玩 Foxx/microservices ...我在这里写了一些 CRUD 示例:https://github.com/solisoft/arangodb-foxx-riotjs-sample

现场演示在这里:http://foxx.solisoft.net

我用RiotJS/Foxx/jQuery/UIKit/Nginx