The following are detailed instructions for installing the code so you can code along with the course.
-
Ensure you have node installed.
At a command prompt, type
node -v
to ensure you have version14.0.0
or higher before proceeding. -
Download or clone the code from this repository.
-
Navigate to the app root folder
There should be a package.json file in this folder.
-
In a command window (or the Command prompt in VS Code), type
npm install
.This creates a node_modules folder and installs all packages from the package.json file into that folder. You may see a few warnings during this process, but you should not see any errors.
-
In the same command window (or the Command property in VS Code), type
npm start
.The application should then compile and launch in your default browser.
-
Run the app, type
ng serve
and get familiarized with the code