- Run the backend:
- Navigate to the StarterCode/backend folder in a Terminal.
- Start the server with node index.js. (Ensure the server is running on port 5000.)
- Run the frontend:
- Navigate to the StarterCode/frontend folder in a separate terminal.
- Start the React app with npm start. (The frontend should be running on port 3000.)
- Upon loading the frontend, you should see the products fetched from the backend.