'Connecting a Neo4j graph database to a Django REST API app

I am trying to connect a remote Neo4j database to a Django app with a REST API.

I am trying to specify the database in the settings.py file using the following code:

DATABASES = {
'default': {
    'NAME': 'papers.db',
    'ENGINE': 'django.db.backends.sqlite3',
    'USER': '',
    'PASSWORD': '',
    'PORT': '',
},

}

I would like to know:

  • What python libraries need to be installed in order to do this?
  • What is the 'ENGINE' that needs to be specified in the code above?
  • The Neo4j database has a URI, but does not provide us with an IP address - am I able to use this URI?

I am confident that I know what the other parameters need to be.

Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source