Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piavgh/neo4j-mock-pool-dependencies
https://github.com/piavgh/neo4j-mock-pool-dependencies
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/piavgh/neo4j-mock-pool-dependencies
- Owner: piavgh
- Created: 2023-07-31T06:56:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-01T04:01:41.000Z (over 1 year ago)
- Last Synced: 2023-11-04T20:10:35.013Z (about 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# neo4j-mock-pool-dependencies
Mock pools, dependencies and relationships between them
## Quick Start
1. Start a neo4j instance:
```bash
docker compose up -d
```2. Generate mock data:
```bash
go run *.go
```3. Query data using Cypher (Neo4j Desktop app)
Query all data:
```bash
MATCH (n) RETURN (n)
```Query all pools from the list of dependencies:
```bash
MATCH (p:Contract)-[r:DEPEND_ON]->(d:Contract)
WHERE d.address IN []
RETURN p.address
```