Start by cloning the spa_react_javascript_hello-world_react-router-6
repository on its starter branch:
git clone -b starter git@github.com:auth0-developer-hub/spa_react_javascript_hello-world.git
Change your current directory to spa_react_javascript_hello-world_react-router-6
cd spa_react_javascript_hello-world
Install the project dependencies
npm install
Run the React application on http://localhost:4040
npm start
Instructor: [0:01] The first thing you're going to do is clone the React starter application on its starter branch from the Auth0 Developer Center. Head over to the terminal and use the git clone -b starter command to clone the project on the starter branch. Then, once that's done, let's change directories into the starter application and then install the necessary dependencies.
[0:31] Then once the dependencies are installed, let's open up the project inside of VS Code. With the project open in VS Code, I'm going to open up a new VS Code terminal, then type in npm start. This will open up the React SAP application on localhost:4040. Now we're ready to add authentication with Auth0.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!