- 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
ArangoPhx.Repo uses ArangoX and has basic CRUD functionality plus a function for custom queries.
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 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.
Find the Project Board Here: https://github.com/rasjonell/ArangoPhx/projects/1