https://github.com/lugolbis/neo4j-migrator
Relational database migrator to graph database 💾
https://github.com/lugolbis/neo4j-migrator
database graph-database neo4j polars postgresql relational-database rust rust-polars sql
Last synced: 9 months ago
JSON representation
Relational database migrator to graph database 💾
- Host: GitHub
- URL: https://github.com/lugolbis/neo4j-migrator
- Owner: LugolBis
- Created: 2025-03-15T18:23:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-09T20:46:35.000Z (12 months ago)
- Last Synced: 2025-09-12T04:54:38.213Z (10 months ago)
- Topics: database, graph-database, neo4j, polars, postgresql, relational-database, rust, rust-polars, sql
- Language: Rust
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Neo4j-Migrator 💾
## What's Neo4j-Migrator ?
Neo4j-Migrator is a powerfull tool that permite you to **migrate** a **relationnal database** into a **graph database**.
With the simple access of your relationnal database it export the data/meta-data needed for the migration. After export the data into CSV files and the meta-data into JSON file, Neo4j-Migrator use them to translate your relationnal database into a graph database and generate **CSV** files. You could use these files to perform import to your Neo4j database.
## Getting started
1) Check the [Requirements](https://github.com/LugolBis/Neo4j-Migrator#requirements)
2) Configure your Neo4j database
3) Install **Neo4j-Migrator** :
```BashScript
$ git clone https://github.com/LugolBis/Neo4j-Migrator.git
```
4) Start your Neo4j database and run **Neo4j-Migrator** :
```BashScript
$ cargo run
```
## Requirements
### PostgreSQL
- A valid connection to a **PostgreSQL** database (address,port,username,etc.)
- The PostgreSQL CLI : **psql**
### Neo4j
- A valid connection to a **Neo4j** database (uri,username,password,etc.)
- The Neo4j CLI : **Cypher-Shell**
- The plugin **APOC**
> [!WARNING]
> You need to configure your Neo4j database to add the **APOC** plugin and allow it in your database files configuration.
| Operating System | Relationnal Database | Graph Database | Plugin | Compatibility |
|:-:|:-:|:-:|:-:|:-:|
| Linux/macOS | PostgreSQL | Neo4j **v5.26.0** | APOC **v5.26.2** | ✅ |
| other~ | other~ | other~ | other~ | ❔ |