Skip to content

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

“box-dev-logo”

React Sample App with Box Typescript SDK

This sample app demonstrates how to use the Box Typescript SDK to authenticate a user and make API calls to the Box API. It is built using React and Typescript.

Read a step-by-step guide on how to build this app in this Medium article.

Run the app

Create a Box custom app and get the Developer Token

  1. Use or create a sandbox environment or a free account
  2. Navigate to Dev Console.
  3. Create Box custom app.
  4. Choose any authentication method (could be JWT or OAuth2 or CCG).
  5. Go to the Configuration tab and get the Developer Token.
  6. Ensure CORS is configured to allow requests from http://localhost:3000 in your Box App settings.

Run the example app

  1. Clone the this repository.
  2. Install dependencies: npm install
  3. Start the app by running npm start
  4. Open http://localhost:3000 to view it in the browser and provide the Developer Token.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages