Erlang and Elixir: Neo4j Community Driver

Important - page not maintained

This page is no longer being maintained and its content may be out of date. For the latest guidance, please visit the Getting Started Manual .

Goals
If you are an Erlang, or today an Elixir developer, this guide provides an overview of options for connecting to Neo4j. While this guide is not comprehensive it will introduce the different drivers and link to the relevant resources.
Prerequisites
You should be familiar with graph database concepts and the property graph model. You should have created an Neo4j AuraDB cloud instance, or installed Neo4j locally

Intermediate

Neo4j Community Drivers

Members of the each programming language community have invested a lot of time and love to develop each one of the community drivers for Neo4j, so if you use any one of them, please provide feedback to the authors.

The community drivers have been graciously contributed by the Neo4j community. Many of them are fully featured and well-maintained, but some may not be. Neo4j does not take any responsibility for their usability.

Neo4j for Erlang/Elixir Developers

erlang
elixir

Members of the Erlang and Elixir community have invested a lot of time and love to develop these drivers, so if you use them, please provide feedback to the authors.

The Example Project

The Neo4j example project is a small, one page webapp for the movies database built into the Neo4j tutorial. The front-end page is the same for all drivers: movie search, movie details, and a graph visualization of actors and movies. Each backend implementation shows you how to connect to Neo4j from each of the different languages and drivers.

You can learn more about our small, consistent example project across many different language drivers here. You will find the implementations for all drivers as individual GitHub repositories, which you can clone and deploy directly.

Elixir Bolt.Sips Driver

Neo4j driver for Elixir wrapped around the Bolt protocol.

Features:
  • It uses Bolt, Neo4j’s standard network protocol, designed for high-performance

  • Supports transactions, as well as simple and complex Cypher queries with or without parameters

  • Connection pool implementation using "A hunky Erlang worker pool factory", aka: Poolboy :)

  • Supports Neo4j 3.0.x and forward

Author

Florin Patrascu

Example Project

https://github.com/neo4j-examples/bolt_movies_elixir_phoenix

Package

https://hex.pm/packages/bolt_sips

Source

https://github.com/florinpatrascu/bolt_sips

Docs

http://hexdocs.pm/bolt_sips/

Neo4j.Sips

A simple Elixir wrapper around the Neo4j graph database REST API. It aims to help Elixir developers to play with Neo4j and to eventually become the main support for a future Ecto adapter.

Author

Florin Patrascu

Example Project

https://github.com/neo4j-examples/movies-elixir-phoenix

Package

https://hex.pm/packages/neo4j_sips

Source

https://github.com/florinpatrascu/neo4j_sips

Docs

https://github.com/florinpatrascu/neo4j_sips/blob/master/README.md