orientdb-spring-boot-example
OrientDB usage example with spring boot ang groovy and orientdb-groovy lib
Full method highlight in IntelliJ IDEA provided by orientdb-groovy lib.
What you can learn from this project
- Use OrientDB graph & document native apis but still stay with entity style.
- You can learn about groovy AST transformations and groovy extension methods
- OrientDB graph database gremlin usage and native query usage
- You can take a look at *.gdsl script provided by orientdb-groovy to make your own IDE-help script.
- Create fast prototype of spring-boot app with OrientDB
Graph Schema Implemented:
Person->Visited<-City<-[livesIn]Profile<-Person
Run
Database will be created automatically, no need of OrientDB download.
Just
gradle bootRun
Open browser and access localhost:8080/persons or localhost:8080/cities to see results
Contribution
Feel free to contribute