/sdn-marvel-basic

Basic Spring application with Neo4j - Marvel comic data set

Primary LanguageJava

Spring Data Neo4j Example Project

This project uses the Marvel comic data set to demonstrate using Spring Data and Neo4j together. The following components are part of the project:

  1. Neo4j database - sandbox, Aura free tier, or local instance.

  2. Marvel comic data set loaded to Neo4j - Cypher statements in this repository.

  3. Spring Boot application using Spring Data Neo4j (SDN) - Spring Data project for integration with Neo4j.

The application is a read-only interface to query and explore the data. It is using the imperative capabilities of Spring Data Neo4j. For reactive functionality, please see the related Github project.

Data set

"Data provided by Marvel. © 2014 Marvel"

Note that this project uses a subset (only characters and comic issues) of the full Marvel data set. The trimmed down demo data set has been made available via a CSV or a JSON file. Load queries for each are included in the load script.

To access and load the full Marvel data set, you will need an API key. More details on this and loading the full data can be found on another Github repository.

Example REST API calls

  • Characters

http://localhost:8080/characters

http://localhost:8080/characters/Captain%20America
  • ComicIssues

http://localhost:8080/comics

http://localhost:8080/comics/Captain%20America%20(1968)%20%23132