Neogma
Example Applications

Overview

Runnable example applications demonstrating neogma features

Example Applications

Neogma includes several example applications in the /examples directory. Each app demonstrates the same core features using a different model definition style.

Running an example

All examples require a local Neo4j instance. Start one with Docker:

docker compose up -d

Then run any example:

cd examples/basic-app-decorators
pnpm install
pnpm start

Available examples

ExampleStyleLanguage
TC39 Decorators@Node, @PrimaryKey, @Property, @RelationshipTypeScript
Legacy DecoratorsexperimentalDecoratorsTypeScript
JavaScriptModelFactoryJavaScript
NestJS@neogma/nest moduleTypeScript

On this page