In this workshop, I assume
- You can install things on your computer
- You have basic knowledge about the shell: how to run commands, change the current directory, relative and absolute paths, etc.
- You have basic programming knowledge (e.g you know what a function is and how to use one in whatever language)
- This step is optional, but I highly recommend downloading and using VS Code. It's a powerful text editor for writing code and it's what I'll be using in the workshop. (link to download)
- Install Node.js version LTS (probably is 16.15.0) (link to download)
- Confirm it's installed by opening your shell and typing
node --version
. It should show the version you installed. - Update npm with
npm install -g npm
(if this gives an error, you may need to usesudo npm install -g npm
)
- In the shell, navigate to where you would like the project to be created and run
npx create-react-app inspire-workshop
. This will create a directory containing a basic React project titled "inspire-workshop". cd
to this directory and runnpm start
. Your web browser should open to show this spinning image:- Done! Your basic React project is set up.