This is box integration using a fullstack app, using reactJS and Express
This demo app demonstrates how to use the Box Content Preview UI Element from within a React based application. The UI Elements require an access token to work.
- Clone this repo via
git clone [email protected]:abhinavrana/boxdemo.git
. - Add auth token to src/main.js.(Other token is added using example account for box.com and can be used directly, change token to link with you account.)
- Run
npm install
. - Run
npm start
to run the webpack dev server. - Navigate to http://localhost:8080.
Other important points :
- If you are running on local add your local url to your custom app on https://app.box.com/developers/console
Note: The above instruction steps assume webpack dev server is running on port 8080. If it runs on another port, you will have use that instead in the instructions above.