2016-03-22 23:03:14 +08:00
|
|
|
= Spring Boot Neo4j Sample
|
|
|
|
|
|
|
|
This sample demonstrates the integration of Neo4j with a simple entity. It
|
|
|
|
expects a Neo4j instance running on `localhost`. If your neo4j instance
|
|
|
|
requires authentication, update `application.properties` with your credentials:
|
|
|
|
|
|
|
|
```
|
|
|
|
spring.data.neo4j.username=neo4j
|
|
|
|
spring.data.neo4j.password=secret
|
|
|
|
```
|
|
|
|
|
|
|
|
You can also locally add the embedded driver to embed Neo4j instead. Note
|
|
|
|
that Spring Boot does not provide dependency management for that GPL-licensed
|
2017-04-07 16:04:41 +08:00
|
|
|
library, see
|
2018-01-04 00:07:10 +08:00
|
|
|
https://docs.spring.io/spring-data/neo4j/docs/4.2.x/reference/html/#reference.getting_started.driver[the official documentation]
|
2017-04-07 16:04:41 +08:00
|
|
|
for more details.
|