EArangoDB
SpawnFest 2021
Install / Use
/learn @spawnfest/EArangoDBREADME
earangodb
CI Status
Description
It aims to implement easy communication with ArangoDB database using its HTTP API. This library is written in Erlang so that it can be used from both Erlang and Elixir.
Documentation
Exdoc documentation is provided for this project here.
Installation
To rebar.config add:
{deps, [
....
{earangodb, ".*", {git, "git://github.com/spawnfest/eArangoDB.git", {branch, "master"}}}
]}.
Configuration
There is one parameter to be configured, which is a map containing self explanatory keys: url, port, user and password.
To configure the earangodb connection, put this parameter in persistent term storage, as shown below.
In your_project_app.erl in start/2 just put:
start(_StartType, _StartArgs) ->
...
EarangodbWorkerConfig = #{
url => "localhost",
port => 8529,
user => <<"root">>,
password => <<"test">>
},
persistent_term:put(earangodb_config, EarangodbWorkerConfig),
{ok, _} = application:ensure_all_started(earangodb),
...
You may alternatively put this code under a separate supervisor's init.
DEMO
To see the demo use case of this lib by going to: demo/demo_cities/README.md
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
