neo4j-movies-template
neo4j-movies-template copied to clipboard
Create a new section for scenario-based learning (Bacon Path)
Show readers how to modify the Swagger REST API by adding a new method for solving the bacon path. The bacon path tells you how people are connected through mutual acquaintances.
The method should take 2 parameters. Person 1 and Person 2. If Person 1 is Kevin Bacon and Person 2 is Tom Hanks, a return result would be an ordered array of people between Kevin Bacon and Tom Hanks.
Front end user experience will be 2 portrait boxes, one on the left of the screen and one to the right. In between the two portraits will be smaller portrait boxes that will be populated from the return response of the new REST API method.
Okay so I way over-thought that. Fixed now and returns persons in order.