Svez Day
Svez Day

Reputation: 69

What is the best way to connect to GrapheneDB with a Typescript's library

I only found this typescript's library for Neo4j but there is no solution to connect with GrapheneDB (on Heroku).

Is anyone already found a solution ?

Upvotes: 1

Views: 127

Answers (3)

Jasper Blues
Jasper Blues

Reputation: 28786

Drivine is a typescript library that allows connecting to a managed or self-hosted Neo4j database using the bolt protocol.

  • Facilitates the use of well understood object-oriented and functional programming patterns.
  • Supports implementation of code that adheres to a single responsibility principle (SRP). NestJS will be optional, but is recommended.* Takes care of infrastructure concerns, so that you can focus on making the most of your data.
  • Removes boiler plate code, especially the tedious and error-prone kind.
  • Supports streaming, without back-pressure. Large amounts of data can be managed in a timely and memory efficient manner.
  • Light-weight use-case specific object graph mapping (OGM).

Upvotes: 0

cybersam
cybersam

Reputation: 67044

The Heroku site has a detailed page on using GrapheneDB. It includes info on provisioning, how to use various drivers and languages, and a lot of other helpful information.

Upvotes: 0

Juanjo
Juanjo

Reputation: 196

I haven't tried out the library you mentioned yet, but there are many customers using the official neo4j-javascript-driver. They've just merged a PR with TypeScript declaration files for their public APIs. The next beta release will contain these changes but you can already test them out.

Regarding connecting to GrapheneDB from Heroku, you just need to use the environment variables that are added when you provision a new GrapheneDB addon. If you plan to use neo4j-javascript-driver you'll find a small snippet here.

Upvotes: 1

Related Questions