This repository contains of the Angular University RxJs and Reactive Patterns Angular Architecture Course.
This course repository is updated to Angular v7, there is a Yarn lock file available.
RxJs and Reactive Patterns Angular Architecture Course
This project has minimal dependencies, you only need node and npm installed on your machine. These are some tutorials to install node in different operating systems.
Make sure to install the latest version of Node
First clone or download as a Zip file using the green "Clone Or Download" button on the top right of the document.
Then change directory to the folder 01-getting-started-with-angular2, where you will find a small node project with a package.json
.
On the command line run the following:
npm install
If you prefer the Yarn package manager, you can also run:
yarn
Although npm install would also work, its recommended to use Yarn to install the course dependencies. Yarn has the big advantage that if you use it you will be installing the exact same dependencies than I installed in my machine, so you wont run into issues caused by semantic versioning updates.
This should take a couple of minutes. If there are issues, please post the complete error message in the Questions section of the course.
To start the server, run the following command:
npm start
If you now go to http://localhost:8080, there will be a running application at this url.
If you edit a Typescript file and refresh the browser, the changes will be applied.
In one of the sections of the course, we will be using a Firebase database. If you would like the data to create your own instance, you can find it here.
This is completely optional, as the course will use a connection to an existing Firebase database, and everything will work out of the box.
If you are looking for the code of the following courses, see further the installation instructions on this page:
If you are looking for the Angular and Firebase - Build a Web Application Course code, the repo with the full code can be found here:
Angular and Firebase - Build a Web Application
If you are looking for the Complete Typescript 2 Course - Build a REST API, the repo with the full code can be found here:
Complete Typescript 2 Course - Build A REST API
If you are looking for the Angular Ngrx Reactive Extensions Architecture Course code, the repo with the full code can be found here:
Angular Ngrx Reactive Extensions Architecture Course
Have a look at our course pipeline at angular-university.io.