Skip to content

neo4j-graphacademy/app-typescript

Repository files navigation

Building Neo4j Applications with TypeScript

Learn how to interact with Neo4j from a TypeScript project using the Neo4j JavaScript Driver

For a complete walkthrough of this repository, enrol now.

About this Repository

This repository uses the default TypeScript configuration generated with the npx tsc --init command.

Installing the Driver

To use the Neo4j JavaScript Driver in your TypeScript project, you can run the following command:

Installing the neo4j-driver dependency
npm install neo4j-driver

Running Examples

All examples that accompany the course are in the src/ folder. You can run these examples by invoking the ts-node command using npx.

npx ts-node ./src/example.ts