Creating a Data Marvel (Comics) Jennifer Reif Developer Relations Engineer, Neo4j @JMHReif
Who is Jennifer? • Neo4j Developer Relations Engineer • Continuous learner • Conference speaker • Blogger
What we’re building!
Breaking it down… • Spring Boot application served up and accessible from localhost
Breaking it down… • Spring Boot application served up and accessible from localhost • List of comics based on search for Name
Breaking it down… • Spring Boot application served up and accessible from localhost • List of comics based on search for Name • Details of selected comic from list
Breaking it down… • Spring Boot application served up and accessible from localhost • List of comics based on search for Name • Details of selected comic from list • Visualization of data in a graph
What we need: • Accessible from a web browser • Pull real-time results from a data store for user search • Retrieve details and connections of an entity to display • Display a connected network of data
Project inspiration
Why graph? • Connected data structure • Easy for humans to read and visualize • Pull relevant, varied data • Works well with D3 library for visualizing graph data in Neo4j
Why Spring? • Simple and familiar for others to copy • Spring Boot’s reduction of boilerplate • Spring Data’s easy connection to Neo4j • BOLT, HTTP , or embedded • Create UI with application via a web page • Thymeleaf
Data model & choices
Let’s see some CODE!!!
Helpful Resources • Source code: https://github.com/HecklerReifCollab/sdn-marvelcomics • Spring Data Neo4j: https://spring.io/projects/spring-data-neo4j • Neo4j: https://neo4j.com/developer/get-started/ • Spring (projects, guides, blog): https://spring.io • Contact: • Twitter/DMs: @JMHReif, @mkheck • Email: jennifer.reif@neo4j.com
Hunger Games Questions for “Creating a Data Marvel (Comics) with Spring and Neo4j” 1. Easy: What 2 technologies are used in this session? a. Spring and Neo4j b. Neo4j and Micronaut c. Marvel Comics and Graphs 2. Medium: What did Jennifer choose as the central entity in her Marvel data model? a. Character b. Movie c. ComicIssue 3. Hard: What is the annotation used to tell Spring that it is a domain class? a. @GraphEntity b. @NodeEntity c. @Relationship Answer here: r.neo4j.com/hunger-games
Recommend
More recommend