This repository contains the code of the NestJs In Practice Course.
For taking the course we recommend installing Node 16.
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 16.13.0
node -v
v16.13.0
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/nestjs-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 nestjs-course
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:
cd rest-api
npm install
npm run server
This launches a small Node REST API server, built using NestJs. Notice that this has a separate package.json, so you really need to run a second npm install from inside the rest-api directory.
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
This repository has multiple branches, have a look at the beginning of each section to see the name of the branch.
At certain points along the course, you will be asked to checkout other remote branches other than master. You can view all branches that you have available remotely using the following command:
git branch -a
The remote branches have their starting in origin, such as for example 1-start.
We can checkout the remote branch and start tracking it with a local branch that has the same name, by using the following command:
git checkout -b 1-start
It's also possible to download a ZIP file for a given branch, using the branch dropdown on this page on the top left, and then selecting the Clone or Download / Download as ZIP button.
If you are looking for the Ngrx (with NgRx Data) - The Complete Guide, the repo with the full code can be found here:
If you are looking for the Angular Core Deep Dive Course, the repo with the full code can be found here:
If you are looking for the RxJs In Practice, the repo with the full code can be found here:
If you are looking for the Angular Testing Course, the repo with the full code can be found here:
If you are looking for the Serverless Angular with Firebase Course, the repo with the full code can be found here:
If you are looking for the Angular Universal Course, the repo with the full code can be found here:
If you are looking for the Angular PWA Course, the repo with the full code can be found here:
If you are looking for the Angular Security Masterclass, the repo with the full code can be found here:
If you are looking for the Angular Advanced Course, the repo with the full code can be found here:
Angular Advanced Library Laboratory Course: Build Your Own Library.
If you are looking for the RxJs and Reactive Patterns Angular Architecture Course code, the repo with the full code can be found here:
RxJs and Reactive Patterns Angular Architecture Course
If you are looking for the Complete Typescript 2 Course - Build a REST API, the repo with the full code can be found here: