React App Setup

These steps provide an overview of creating a React app. The text provides a version of this process in chapter 1 (second edition).

  1. Download and install node
  2. Open terminal (cmd on windows, Terminal app on Mac)
  3. Change directory (use cd command) to a folder where you have your work (Example: cd C:\Users\cmiller2\LocalDocuments\it432)
  4. Create react app: npm create vite@latest my-app1 -- --template react
  5. Change directory to folder just created: cd my-app1
  6. npm install
  7. npm run dev
  8. Control-click the URL or copy it to Chrome browser to see the start up app
  9. Using VS Code, edit the file App.jsx in the src folder to create you own content, replacing content in the return statement between the empty html tags