This is a Box UI Elements starter project that levarages the box-node-sdk with an express backend, React frontend, and Redux for managing state.
- Clone the repo.
git clone https://github.com/kylefernandadams/box-ui-elements-react-redux-blueprint.git
-
Create a Box Developer Application with JWT authentication.
-
Rename the .json file to box_config.json and move it to the box-ui-elements-react-redux-blueprint/server folder.
-
Add
http://localhost:3000
to the CORS Domains' Allowed Origins section and save. -
In the Box Admin Console (separate from the Dev Console), authorize your JWT application
-
Change directory to
box-ui-elements-react-redux-blueprint
directory.
cd /box-ui-elements-react-redux-blueprint
- Install the client tier and server tier dependencies.
yarn install-all
- Start the project.
yarn dev