Build a Mini Netflix (with React)
  • About Cloudinary Labs
  • Build a Mini Netflix with Cloudinary
    • Introduction
    • Delivering Video
    • Setup React
    • Install Dependencies
    • Styling your App
    • User Authentication
    • Callback Component
    • Navigation Component
    • Display Component
    • Setup Root Route
    • Upload Component
    • Setup Upload Route
    • Upload Videos
    • Display Videos
    • Enable Auth
    • Share on Twitter
Powered by GitBook
On this page
  • Auth0
  • React router
  • JWT-decode
  • Axios
  1. Build a Mini Netflix with Cloudinary

Install Dependencies

Install the following nodejs packages via the command line.

Auth0

The auth0 package will be used for authentication in your app.

npm install auth0-js --save

React router

The react-router package will be used for routing in your app.

npm install react-router@3.2.0 --save

JWT-decode

The jwt-decode package will be used for decoding JSON Web tokens in your app.

npm install jwt-decode --save

Axios

The axios package is a HTTP request client that will be used to make HTTP requests from the browser.

npm install axios --save

Success Note: The --save option simply persists the package definition in the package.json file.

PreviousSetup ReactNextStyling your App

Last updated 7 years ago