This repository is exclusively meant for presenting samples of code.
The Files and Codes present in this repository are part of a running project. In order to ensure the security of the project several files have been intentionally removed. The codes are exclusively for viewing purpose and will not execute properly if tried.
For taking the course we recommend installing Node 12. These are some tutorials to install node in different operating systems:
To easily switch between node versions on your machine, we recommend using a node virtual environment tool such as nave or nvm-windows, depending on your operating system.
For example, here is how you switch to a new node version using nave:
# note that you don't even need to update your node version before installing nave
npm install -g nave
nave use 12.3.1
node -v
v12.3.1
With the following command the angular-cli will be installed globally in your machine:
npm install -g @angular/cli
We can install the master branch using the following commands:
git clone https://github.com/angular-university/ngrx-course.git
This repository is made of several separate npm modules, that are installable separately. For example, to run the au-input module, we can do the following:
cd ngrx-course
npm install
Its also possible to install the modules as usual using npm:
npm install
This should take a couple of minutes. If there are issues, please post the complete error message in the Questions section of the course.
We can start the sample application backend with the following command:
npm run server
This is a small Node REST API server.
To run the frontend part of our code, we will use the Angular CLI:
npm start
The application is visible at port 4200: http://localhost:4200