Setup on a Local Machine
Explore the essential steps to set up a React project on your local machine. Learn to install and verify Node and npm, create a React app using create-react-app, and understand project folder structures. Discover useful commands to run and build your app, and get tips on choosing editors and version control tools to start coding efficiently.
We'll cover the following...
Requirements
The following are requirements for local setup:
Editor and Terminal
I have provided a setup guide to get you started with general web development. For this learning experience, you will need a text editor (e.g., Sublime Text) and a command-line tool (e.g., iTerm) or an IDE (e.g. Visual Studio Code). I recommend Visual Studio Code (also called VS Code) for beginners, as it’s an all-in-one solution that provides an advanced editor with an integrated command-line tool, and because it’s a popular choice among web developers.
Throughout this learning experience I will use the term command-line, which will be used synonymously for the terms command-line tool, terminal, and integrated terminal. The same applies to the terms editor, text editor, and IDE, depending on what ...