React APP
First, let's create the front-end:
deconstruction:
npx
: a software that can download packages and use them directlycreate-react-app
: an npm package that allows fast setup of a React Appfront
: the name of the directory we want to work in--use-npm
: otherwise,create-react-app
defaults toyarn
.yarn
is completely fine, but in this exercise, we'll usenpm
.
Feel free to edit package.json
to change the name and version of your front-end
Personally, I can't stand the browser opening on its own, so in package.json
, I change the line
to
Finally, let's delete the file README.md
that create-react-app
creates for us.
Last updated