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 -dThen run any example:
cd examples/basic-app-decorators
pnpm install
pnpm startAvailable examples
| Example | Style | Language |
|---|---|---|
| TC39 Decorators | @Node, @PrimaryKey, @Property, @Relationship | TypeScript |
| Legacy Decorators | experimentalDecorators | TypeScript |
| JavaScript | ModelFactory | JavaScript |
| NestJS | @neogma/nest module | TypeScript |