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.