ArangoPhx
Elixir Phoenix Project Template With ArangoDB support
Install / Use
/learn @SquashConsulting/ArangoPhxREADME
ArangoPhx - Phoenix Template Project with ArangoDB support
To start your Phoenix server:
- Install dependencies with
mix deps.get - Run ArangoDb on
http://localhost:8529/ - Create a dev db and name it
arango_phx_devor change the db name inconfig/dev.exs - Start Phoenix endpoint with
mix phx.server
Repo
ArangoPhx.Repo uses ArangoX and has basic CRUD functionality plus a function for custom queries.
Available functions
Ecto.Schema and Ecto.Changeset can be used like you used to with a Phoenix + PostgreSQL project.
Arango.Migrate and Arango.Gen.Migration can be used to generate migration files, migrate, and rollback them.
ArangoPhx.Repo is custom Repo that exposes basic functionality to talk to Arango DB
Mix Tasks
mix arango.gen.migration- Generates a new migration for the ArangoPhx repomix arango.migrateormix arango.migrate -d up- Runs all pending migrations.mix arango.migrate downormix arango.migrate -d down- Rolls last migration back.
TODO
Find the Project Board Here: https://github.com/rasjonell/ArangoPhx/projects/1
Related Skills
notion
352.5kNotion API for creating and managing pages, databases, and blocks.
feishu-drive
352.5k|
things-mac
352.5kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
352.5kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
