Access the repository
All course resources are available in the course repository. You can access them in two ways:Clone the repository
Get all resources at once with Git
Download individually
Download specific files or sections as needed
Clone the entire repository
Cloning gives you immediate access to all 34 sections of course materials:Download specific sections
If you prefer to download only what you need, navigate to the specific section folder and download the files or folders you want to work with.Running code snapshots
Code snapshots are designed to help you compare your code with the instructor’s code from the videos. Here’s how to run them:Navigate to the snapshot folder
Open your terminal and navigate to the specific code snapshot you want to run:
Install dependencies
Install the required npm packages:
This step is required for each snapshot you want to run. Dependencies are not shared between snapshots.
Start the development server
Run the development server using Vite:The application will typically be available at
http://localhost:5173Understanding the project structure
Most React projects in this course use Vite as the build tool. Here’s what you’ll find in a typical snapshot:Key files explained
package.json
package.json
Defines project dependencies and npm scripts. The course projects typically use:
src/main.jsx
src/main.jsx
The entry point that renders your React application:
src/App.jsx
src/App.jsx
Your main application component where most of the React code lives. Starting projects often begin with a simple structure:
Working with lecture attachments
Lecture attachments contain standalone files mentioned in specific course lectures:- JavaScript files - Helper functions, data files, configuration files
- PDF documents - Reference materials and summaries
- ZIP files - Complete starting projects for sections
Common commands reference
Here are the most frequently used commands when working with course projects:Troubleshooting
npm install fails
npm install fails
Solution: Ensure you have Node.js version 14 or higher installed. Check your version:If needed, update Node.js from nodejs.org
Port already in use
Port already in use
Solution: If port 5173 is already in use, Vite will automatically use the next available port. Check your terminal output for the correct URL.
Module not found errors
Module not found errors
Solution: Make sure you’ve run
npm install in the correct directory. Each snapshot has its own dependencies.Code doesn't match the video
Code doesn't match the video
Solution: Code snapshots are taken directly from course recordings. Make sure you’re using the snapshot that corresponds to the specific lecture you’re watching.