Make sure you have the breathecode-cli installed and node.js
version 8+
This is the command to install the breathecode-cli
$ npm i breathecode-cli -g
To download the react exercises in the current directory run:
$ bc start:react-exercises -r
Once you finish downloading, you will find a "exercises" folder that contains all the exercises within.
Each exercise is a small react application containing the following files:
- index.js: represents the entry file for the entire app.
- README.md: contains exercise instructions.
- test.js: you don't have to open this file, it contains the testing script for the exercise.
To start the coding editor and read the instructions run the following command:
$ npm i jest -g
$ bc run:exercises