Follow the steps below to get the app running on your local machine.
First, clone the repository and install dependencies.
$ git clone https://github.com/mattmitchell6/folder-collaboration-sandbox.git
$ cd folder-collaboration-sandbox
$ npm installCreate a new Box application and add the generated configuration variables (with generated private key) to the local.js file in the config folder (rename local.sample.js to local.js).
Add the domain, http://localhost:3000 to the list of "Allowed Origins" in the Box Developer Console.
Start the server.
$ npm startOpen a web browser and navigate to http://localhost:3000/create-users to create 2 dummy users. Copy the 2 unique user IDs from the console and add them to the A_ID, B_ID variables in the index.js file.
Navigate to http://localhost:3000/ to see the example in action.