It is recommended to use yarn for installing and running this project. To check if you have yarn installed run the following command in your terminal app.
$ yarn --version
If you don't have yarn installed run the following command to install it globally.
$ npm install --global yarn
For more info about yarn look at yarn's official installation documentation.
First you need to cd
into the the project folder and run the yarn install
command to install the packages and dependencies.
$ yarn install
If yarn install
command ran correctly then you will be ready to run the project with the command below.
$ yarn start
If all went correctly yarn start
will run the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Storybook facilitates the indexing and testing the states of components. While inside the project root folder, run storybook with the command below.
$ yarn storybook