Neo4j

Setup

# neo4j docker-compose file

version: '2'
services:
  neo4j:
    image: docker.io/bitnami/neo4j:4
    ports:
      - '7474:7474'
      - '7473:7473'
      - '7687:7687'
    volumes:
      - 'neo4j_data:/bitnami'
    environment:
      - NEO4J_PASSWORD:vamsi
      - NEO4J_HOST:0.0.0.0
      - NEO4J_BOLT_PORT_NUMBER:7687
      - NEO4J_HTTP_PORT_NUMBER:7474
      - NEO4J_HTTPS_PORT_NUMBER:7473

volumes:
  neo4j_data:
    driver: local

To create the container, save the above file with name "docker-compose.yml" and run following command

docker-compose up -d

Open in Browser: http://127.0.0.1:7474/browser/, and you will find neo4j UI

Stepwise Learning

Platform overview: https://neo4j.com/developer/neo4j-browser/

Cypher Queries: MATCH, CREATE,

sysinfo, history, clear,

Working with sample database: Use following commands in Cypher pannel

:play movie-graph (if get error change the user to neo4j from system)

click on create database

execute create command in next pannel

Reference For Further Reading

Part 1: https://towardsdatascience.com/importing-csv-files-in-neo4j-f3553f1a76cf

Part 2: https://towardsdatascience.com/create-a-graph-database-in-neo4j-using-python-4172d40f89c4

Last updated

Was this helpful?