{"id":20053181,"url":"https://github.com/irezaul/neo4j","last_synced_at":"2026-02-21T20:05:04.098Z","repository":{"id":140058182,"uuid":"392743707","full_name":"irezaul/neo4j","owner":"irezaul","description":"Neo4j Tutorial, installation, use Command, etc.","archived":false,"fork":false,"pushed_at":"2022-01-10T16:15:02.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T04:34:08.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irezaul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-04T15:42:35.000Z","updated_at":"2022-01-10T16:15:05.000Z","dependencies_parsed_at":"2024-07-25T05:00:14.009Z","dependency_job_id":null,"html_url":"https://github.com/irezaul/neo4j","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/irezaul/neo4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fneo4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fneo4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fneo4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fneo4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irezaul","download_url":"https://codeload.github.com/irezaul/neo4j/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fneo4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29691948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T12:23:20.498Z","updated_at":"2026-02-21T20:05:04.070Z","avatar_url":"https://github.com/irezaul.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# neo4j\nNeo4j Tutorial -\n### How to Install Docker on your macOS Machine -\n- [x] Installation -\n- [x] [Docker_download](https://download.docker.com/mac/beta/Docker.dmg) -\n- [x] Double-click the DMG file, and drag-and-drop Docker into your Applications folder.\n- [x] You need to authorize the installation with your system password.\n- [x] Double-click Docker.app to start Docker -\n- [x] The whale in your status bar indicates Docker is running and accessible.\n- [x] Docker presents some information on completing common tasks and links to the documentation.\n- [x] You can access settings and other options from the whale in the status bar. a. Select About Docker to make sure you have the latest version.\n\n### Run Docker app \u0026 wait for a while to ready docker app -\n\u003e when ready docker app open terminal \u0026 run docker command -\n```bash \ndocker run -d -p 80:80 docker/getting-started\n```\n![docker run command](https://user-images.githubusercontent.com/77927449/128215485-fffbd083-b377-4b27-83f1-8f1643624c64.png)\n\n## Now Start Neo4j pulling\n- [x] [Neo4j_docker](https://hub.docker.com/_/neo4j)\n![ne04j_docker_pull](https://user-images.githubusercontent.com/77927449/128216121-8842407e-57d0-405d-ab60-b9c768142191.png)\n\n\u003e run this command on terminal -\n```bash\ndocker pull neo4j --platform linux/amd64\n```\n![neo4j pull command](https://user-images.githubusercontent.com/77927449/128215550-d08862cb-da66-42b1-87f4-a43d1253dd71.png)\n\n\u003e check on docker app images tab -\n\n![dockerapp_images](https://user-images.githubusercontent.com/77927449/128216860-998ec266-4704-4c8a-ab3a-77f2a16b9852.png)\n\n![docker_image](https://user-images.githubusercontent.com/77927449/128217360-eb9809f9-9760-4f6f-a0e9-3724815da717.png)\n\n### Now run `neo4j` image porcess by terminal with define `port` \u0026 login `ID PASSWORD`\n\n```bash\ndocker run --platform linux/amd64 -p7474:7474 -p7687:7687 -d --env NEO4J_AUTH=neo4j/test neo4j:latest\n```\n![neo4j image run](https://user-images.githubusercontent.com/77927449/128220664-6368764e-7f33-4576-8314-d86c2d140ac2.png)\n\n#### now your neo4j ready for run on your define port number.\n```bash\nlocalhost:7474\n```\n![neo4j run by port](https://user-images.githubusercontent.com/77927449/128221622-ac800daa-c52b-4c71-99ea-cba03b14b64c.png)\n# Congratulation!\n#### Now put your ID \u0026 Password what we define - -\n```bash\nID - neo4j\nPass- test\n```\n#### Login done\n![neo4j_login](https://user-images.githubusercontent.com/77927449/128222347-1641f229-ab1d-4578-affd-1469d2fbdd11.png)\n\n\u003e Command Play come -\n\n![command_play_ready](https://user-images.githubusercontent.com/77927449/128223737-156cabe0-da0f-4615-a5c8-0de0c0644701.png)\n\n### Okey LET'S started - `Neo4j` is a `Graph` Database, which language usage is called `Cypher` (Cypher Query Language).\n\u003eCypher’s syntax provides a visual and logical way to match patterns of nodes and relationships in the graph. It is a declarative, SQL-inspired language for describing visual patterns in graphs using ASCII-Art syntax. It allows us to state what we want to select, insert, update, or delete from our graph data without a description of exactly how to do it. Through Cypher, users can construct expressive and efficient queries to handle needed create, read, update, and delete functionality.\n\n### Command --\n* MATCH command \n\u003e `MATCH` command which like a query to find me anything matches the quiteria thay i have. \n```bash\nMATCH (n) RETURN (n)\n```\n#### MATCH `(n)` \u003cb\u003emeans\u003cb\u003e `n` is node \u0026 RETURN `(n)` - return node\n  \n  ![MATCH_n](https://user-images.githubusercontent.com/77927449/128233093-521a93da-5be3-43f0-a74f-aa62c799b2d1.png)\n\u003e no record found \u0026 no node found.\n\n### Now we create a node by Command-\n  ```bash\n  CREATE (n)\n  ```\n  ![create a node](https://user-images.githubusercontent.com/77927449/128234038-3463c624-103b-450f-bcf5-58144e738c3d.png)\n  \n\u003e again type the match command to see node\n  ```bash\nMATCH (n) RETURN (n)\n```\n\u003e see here created a node by showing graphiclly\n\n  ![node create](https://user-images.githubusercontent.com/77927449/128234384-63d2c12f-b449-4eb2-aac3-fbc9986d6ed8.png)\n\u003e you can see, we did not create a relationship here and did not name the node.\n  \n### How to delete?\n  \u003e delete command is -\n```bash\nMATCH (n) DELETE (n)\n```\n![node delete](https://user-images.githubusercontent.com/77927449/128235532-f9539000-e44b-4797-9ee6-a9668ce3ab76.png)\n\n  ### How to added a `Person` with color on node -\n  ```bash\n  CREATE (n:Person{name:'Master-Academy', favoritecolor:'green'})\n  ```\n  ![create person](https://user-images.githubusercontent.com/77927449/128397965-b6e4d0ab-65f8-47d6-b883-bc233040ad30.png)\n\n  \n### * If we need a delete a person -\n  ```bash\nMATCH (n:Person {name: 'UNKNOWN'})\nDELETE n\n```\n### * How to find a single person by command -\n  ```bash\nMATCH (n:Person) RETURN (n)\n```\n![single person call](https://user-images.githubusercontent.com/77927449/128399496-374fca27-e62c-49e8-8770-0f0e6f557471.png)\n  \n  ### * How to Create a Relationship between in 2 Nodes --\n  ```bash\nMATCH\n  (a:Person),\n  (b:Person)\nWHERE a.name = 'Mostain' AND b.name = 'Master-Academy'\nCREATE (a)-[r:FOUNDER_OF]-\u003e(b)\n```\n  \u003e put the name of nodes on `='Name'` also type the relationship name on `r:RELATIONSHIP`\n  \n  #### How to delete a relationship -\n```bash\nMATCH (n {name: 'NODE_NAME'})-[r:RELATIONSHIP_NAME]-\u003e()\nDELETE r\n```\n  \u003e where `NODE_NAME` you set here your node name or person name \u0026 `r:RELATIONSHIP_NAME` here you type your relation name -\n  \n### I Create a relationship here see on image -\n\n  ![relationship_done](https://user-images.githubusercontent.com/77927449/128410167-008c698d-047f-4826-9bfd-5778939ee715.png)\n  \n  #### How to delete all nodes \u0026 relationship -\n  ```bash\n  MATCH (n) DETACH DELETE (n)\n  ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firezaul%2Fneo4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firezaul%2Fneo4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firezaul%2Fneo4j/lists"}