Skip to content

Commit

Permalink
Merge pull request #2 from selaudin/feature/neo4j-connection
Browse files Browse the repository at this point in the history
Feature/neo4j connection
  • Loading branch information
ealili committed Oct 29, 2023
2 parents 9851b11 + 978ea52 commit 6c80b5d
Show file tree
Hide file tree
Showing 6 changed files with 496 additions and 7 deletions.
13 changes: 13 additions & 0 deletions backend/interfaces/neo4j-connection-instance.ts
@@ -0,0 +1,13 @@
import { Config } from "neo4j-driver";

export type Neo4jScheme = 'neo4j' | 'neo4j+s' | 'neo4j+scc' | 'bolt' | 'bolt+s' | 'bolt+scc'

export interface Neo4jConnection {
scheme: Neo4jScheme;
host: string;
port: number | string;
username: string;
password: string;
database?: string;
config?: Config;
}
108 changes: 108 additions & 0 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions backend/package.json
Expand Up @@ -15,6 +15,7 @@
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"neo4j-driver": "^5.14.0",
"nodemon": "^3.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit 6c80b5d

Please sign in to comment.