Applied Graph Algo Course

We will start with an existing web application (a simple business reviews website written in React.js) populated with data from the Yelp public dataset in Neo4j. We then work to enhance the existing functionality of the application using graph algorithms.

Exercise

Your exercise for this module is to get all the tools up and running and talking to each other.

Before creating a Yelp Neo4j Sandbox instance, you need to read and agree to the Yelp Dataset License.

  1. Create a Yelp Neo4j Sandbox instance. Note: You must log in to the Neo4j Sandbox site. This may require you to register with Neo4j.

  2. In Yelp Sandbox you just created, click the Open Neo4j Browser button to open a Neo4j Browser for the Yelp database. You will be using this Neo4j Browser window throughout this course.

  3. In Neo4j Browser, complete the steps in the first Neo4j Browser Guide (:play applied_graph_algorithms), Cypher Refresher.

  4. Open the React application in CodeSandbox. This is the initial version of our business reviews application. You will be using this Code Sandbox window throughout this course.

  5. In CodeSandbox:

    1. Sign in to CodeSandbox with your github credentials.

    2. Click Fork.

    3. Edit the .env file by replacing the default environment variables with the credentials for your Yelp Neo4j Sandbox. The URL and credentials are available to you from your Yelp sandbox pane if you open the details of the pane by selecting arrow to the right of the Open Neo4j Browser button.

      1. Replace the value for REACT_APP_NEO4J_URI with the value of Websocket Bolt URL from the Connection Details tab of the Yelp Sandbox.

      2. Replace the value for REACT_APP_NEO4J_PASSWORD with the Password in the Connection Details tab of the Yelp Sandbox.

    4. Save this file.

    5. Click the refresh icon to connect the CodeSandbox Browser (on the right) to the database.

    6. Confirm that you can now view data in the database by selecting a name in the drop down (initially selected with Dolores). Data should be retrieved for each user.