The goal of this tutorial is to quickly get you off the ground with React
concepts. This tutorial has hands-on exercises which I consider to be the most important part of this tutorial.
The way this tutorial works is that first, you have to checkout this project on your computer, and run the application locally. Then open the application on a browser and you can go through the tutorial as you like.
Checkout the project to your computer using git
:
git clone https://github.com/tyroprogrammer/learn-react-app.git
You can either use npm
or yarn
to run this application. Please pick one and follow below instructions.
If you want to use yarn
and don't have yarn
installed on your local machine please execute below command to install yarn
:
npm install -g yarn
On the root directory of the project please execute either one of the below commands to install all the project dependencies. You don't have to run both commands, just pick one.
yarn install
OR
npm install
On the root directory of the project please execute either one of the below commands to start the tutorial application:
yarn start
OR
npm start
After this is complete, the application will be deployed on port 3000
. Open a browser and navigate to localhost:3000
.