https://github.com/panoti/cubejs-arangodb-driver
ArangoDB driver for Cube JS
https://github.com/panoti/cubejs-arangodb-driver
arangodb cube cubejs-driver
Last synced: 12 months ago
JSON representation
ArangoDB driver for Cube JS
- Host: GitHub
- URL: https://github.com/panoti/cubejs-arangodb-driver
- Owner: panoti
- License: mit
- Created: 2022-07-24T08:52:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T13:24:49.000Z (almost 3 years ago)
- Last Synced: 2025-05-29T16:58:51.622Z (about 1 year ago)
- Topics: arangodb, cube, cubejs-driver
- Language: TypeScript
- Homepage:
- Size: 399 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[Website](https://cube.dev) • [Docs](https://cube.dev/docs) • [Blog](https://cube.dev/blog) • [Slack](https://slack.cube.dev) • [Discourse](https://forum.cube.dev/) • [Twitter](https://twitter.com/thecubejs)
[](https://badge.fury.io/js/arangodb-cubejs-driver)
[](https://github.com/panoti/cubejs-arangodb-driver/actions/workflows/test.yml)
# Cube.js Arango Database Driver
**Project is WIP. We've already used in our production but some Postgresql do not transpile to AQL**
because we don't use all of SQL statements in our product now.
```
npm i --save arangodb-cubejs-driver
```
### What's in this repository
* ArangoDB driver in Typescript :heart:. Postgresql parser with [pgsql-ast-parser](https://github.com/oguimbal/pgsql-ast-parser).
* Docker image `ghcr.io/panoti/cube:main`. This is a custom image of `cube:latest` with `arangodb-cubejs-driver`
### Usage
#### For Docker
Create custom image with `Dockerfile`
```Dockerfile
FROM cubejs/cube:latest
RUN npm i arangodb-cubejs-driver
```
Package `arangodb-cubejs-driver` will install into `/cube/cnf/node_modules` directory and CubeJS load driver automatically.
**Note**: This driver isn't supported by front-end so we can not use connection wizard to config arango data source. Please use env instead.
```yaml
environment:
- CUBEJS_DB_URL=http://localhost:8529
- CUBEJS_DB_NAME=test
- CUBEJS_DB_USER=test
- CUBEJS_DB_PASS=test
- CUBEJS_DB_TYPE=arangodb
```
[Learn more](https://github.com/cube-js/cube.js#getting-started)
**Other community drivers** can find here [@cubejs-driver](https://github.com/search?p=1&q=cubejs-driver&type=Repositories)
### License
Cube.js Arango driver is [MIT licensed](./LICENSE).
