What is the best way to configure a Spring Boot application to connect to GrapheneDB on Heroku? My spring boot application was configured to connect with my locally installed neo4j, after deploying the application and the dataset on graphenedb, nothing is working. I believe I have to make some changes on my application.properties file but I have no idea how to do it. Currently my application.properties file looks like this,
#neo4j
spring.data.neo4j.username=neo4j
spring.data.neo4j.password=2bernadette
spring.data.neo4j.repositories.enabled=true
spring.data.neo4j.open-in-view=false
Thanks in advance
Well after four days researching, I was able to find out that the best way to connect to GrapheneDB is to use the http Driver.
So you have to add a dependency on your pom file,
Then you need to include this configuration in your application class (Where you placed your main method). Kindly place it before,
You are supposed to import org.neo4j.ogm.config.Configuration but in order to avoid ambiguity, It made it this way.
After that, you should be fine. :)