Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cuongndc9/neo4j
Learning 📺 Neo4j
https://github.com/cuongndc9/neo4j
103cuong graph-database neo4j
Last synced: about 2 months ago
JSON representation
Learning 📺 Neo4j
- Host: GitHub
- URL: https://github.com/cuongndc9/neo4j
- Owner: cuongndc9
- License: mit
- Created: 2020-09-17T15:23:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-09-19T16:36:37.000Z (over 4 years ago)
- Last Synced: 2024-10-23T23:15:46.298Z (3 months ago)
- Topics: 103cuong, graph-database, neo4j
- Language: Go
- Homepage:
- Size: 2.02 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neo4j
Learning 📺 Neo4j
## Docker
```shell
docker run -p 7474:7474 -p 7687:7687 \
--env NEO4J_AUTH=neo4j/123456 \
--volume=$HOME/neo4j/data:/data \
neo4j
```**Connect to Neo4j**
![login](./.images/login.png)
**Result**
![login_result](./.images/login_result.png)
## Cheat sheet 💅
### Create model & relationship
```
CREATE (john:Person {name: 'John'})
CREATE (joe:Person {name: 'Joe'})
CREATE (steve:Person {name: 'Steve'})
CREATE (sara:Person {name: 'Sara'})
CREATE (maria:Person {name: 'Maria'})
CREATE (john)-[:FRIEND]->(joe)-[:FRIEND]->(steve)
CREATE (john)-[:FRIEND]->(sara)-[:FRIEND]->(maria)
```### Find all Person
```
MATCH (p:Person) RETURN p
```![](./.images/1.png)
###
## Documents
- [Neo4j clauses](https://neo4j.com/docs/cypher-manual/current/clauses/)
- [The Neo4j Cypher Manual](https://neo4j.com/docs/cypher-manual/current/)
- [Neo4j Cheat Sheet](https://simplecheatsheet.com/tag/neo4j-cheat-sheet/)## License
MIT © [Cuong Tran](https://github.com/103cuong)