Skip to content

Basic Reactive Spring application with Neo4j - Marvel comic data set

Notifications You must be signed in to change notification settings

JMHReif/sdnrx-marvel-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 reactive capabilities of Spring Data Neo4j. For imperative 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
Note

Methods with a Flux as the return type will continue outputting results until it returns every object found. To stop the request before it finishes displaying the output, click the X in the browser or use Cntrl + C at the command line.

About

Basic Reactive Spring application with Neo4j - Marvel comic data set

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages