Skip to content

Commit abcef4c

Browse files
committed
Reactive Angular with RxJs Course
0 parents  commit abcef4c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+13628
-0
lines changed

Diff for: .editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

Diff for: .gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
30+
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
testem.log
34+
/typings
35+
36+
# e2e
37+
/e2e/*.js
38+
/e2e/*.map
39+
40+
# System Files
41+
.DS_Store
42+
Thumbs.db

Diff for: INIT.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
# Initializing a clean Angular Material Project
3+
4+
These are the commands and steps needed to scaffold a new Angular Material project from scratch,
5+
from an empty folder.
6+
7+
Please make sure to have the latest CLI, and at least NPM 5.
8+
9+
When is doubt, its recommended to update to the latest version of node using a node versioning tool
10+
such as for example [nave](https://github.com/isaacs/nave) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
11+
12+
# Step 1 - Scaffold a clean project using the Angular CLI
13+
14+
With a CLI version 1.5 or above, let's scaffold a new project with routing:
15+
16+
ng new angular-material-hello-world --routing
17+
18+
# Step 2 - Installing Angular Material dependencies
19+
20+
Next, let's install these dependencies:
21+
22+
npm install @angular/material @angular/cdk @angular/animations hammerjs
23+
24+
# Step 3 - Adding Google Material Icons Font
25+
26+
Let's add this to our index.html:
27+
28+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
29+
30+
# Step 4 - choosing a Theme
31+
32+
Before starting to import components, let's choose a widget theme, have a look at the themes available
33+
34+
inside `node_modules/@angular/material/prebuild-themes`.
35+
36+
We can for example use the Indigo Pink theme by adding this line to our styles.css file:
37+
38+
@import "~@angular/material/prebuilt-themes/indigo-pink.css";

Diff for: LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Angular University
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Diff for: README.md

+151
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
2+
## The RxJs In Practice Course
3+
4+
This repository contains the code of the [RxJs In Practice Course](https://angular-university.io/course/rxjs-course).
5+
6+
This course repository is updated to Angular v8, and there is a package-lock.json file available, for avoiding semantic versioning installation issues.
7+
8+
![RxJs In Practice Course](https://s3-us-west-1.amazonaws.com/angular-university/course-images/rxjs-in-practice-course.png)
9+
10+
11+
# Installation pre-requisites
12+
13+
IMPORTANT: Please use the latest Node and especially NPM, to make sure the package-lock.json is used.
14+
15+
For running this project we need and npm installed on our machine. These are some tutorials to install node in different operating systems:
16+
17+
*Its important to install the latest version of Node*
18+
19+
- [Install Node and NPM on Windows](https://www.youtube.com/watch?v=8ODS6RM6x7g)
20+
- [Install Node and NPM on Linux](https://www.youtube.com/watch?v=yUdHk-Dk_BY)
21+
- [Install Node and NPM on Mac](https://www.youtube.com/watch?v=Imj8PgG3bZU)
22+
23+
24+
# Installing the Angular CLI
25+
26+
With the following command the angular-cli will be installed globally in your machine:
27+
28+
npm install -g @angular/cli
29+
30+
31+
# How To install this repository
32+
33+
We can install the master branch using the following commands:
34+
35+
git clone https://github.com/angular-university/rxjs-course.git
36+
37+
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:
38+
39+
cd rxjs-course
40+
npm install
41+
42+
Its also possible to install the modules as usual using npm:
43+
44+
npm install
45+
46+
NPM 5 or above 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.
47+
48+
This should take a couple of minutes. If there are issues, please post the complete error message in the Questions section of the course.
49+
50+
# To Run the Development Backend Server
51+
52+
In order to be able to provide realistic examples, we will need in our playground a small REST API backend server. We can start the sample application backend with the following command:
53+
54+
npm run server
55+
56+
This is a small Node REST API server.
57+
58+
# To run the Development UI Server
59+
60+
To run the frontend part of our code, we will use the Angular CLI:
61+
62+
npm start
63+
64+
The application is visible at port 4200: [http://localhost:4200](http://localhost:4200)
65+
66+
67+
68+
# Important
69+
70+
This repository has multiple branches, have a look at the beginning of each section to see the name of the branch.
71+
72+
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:
73+
74+
git branch -a
75+
76+
The remote branches have their starting in origin, such as for example 1-navigation-and-containers.
77+
78+
We can checkout the remote branch and start tracking it with a local branch that has the same name, by using the following command:
79+
80+
git checkout -b section-1 origin/1-navigation-and-containers
81+
82+
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.
83+
84+
# Other Courses
85+
86+
# Angular PWA Course
87+
88+
If you are looking for the [Angular PWA Course](https://angular-university.io/course/angular-pwa-course), the repo with the full code can be found here:
89+
90+
![Angular PWA Course - Build the future of the Web Today](https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-pwa-course.png)
91+
92+
# Angular Security Masterclass
93+
94+
If you are looking for the [Angular Security Masterclass](https://angular-university.io/course/angular-security-course), the repo with the full code can be found here:
95+
96+
[Angular Security Masterclass](https://github.com/angular-university/angular-security-course).
97+
98+
![Angular Security Masterclass](https://s3-us-west-1.amazonaws.com/angular-university/course-images/security-cover-small-v2.png)
99+
100+
# Angular Advanced Library Laboratory Course
101+
102+
If you are looking for the Angular Advanced Course, the repo with the full code can be found here:
103+
104+
[Angular Advanced Library Laboratory Course: Build Your Own Library](https://angular-university.io/course/angular-advanced-course).
105+
106+
![Angular Advanced Library Laboratory Course: Build Your Own Library](https://angular-academy.s3.amazonaws.com/thumbnails/advanced_angular-small-v3.png)
107+
108+
109+
## RxJs and Reactive Patterns Angular Architecture Course
110+
111+
If you are looking for the RxJs and Reactive Patterns Angular Architecture Course code, the repo with the full code can be found here:
112+
113+
[RxJs and Reactive Patterns Angular Architecture Course](https://angular-university.io/course/reactive-angular-architecture-course)
114+
115+
![RxJs and Reactive Patterns Angular Architecture Course](https://s3-us-west-1.amazonaws.com/angular-academy/blog/images/rxjs-reactive-patterns-small.png)
116+
117+
118+
119+
## Angular Ngrx Reactive Extensions Architecture Course
120+
121+
If you are looking for the Angular Ngrx Reactive Extensions Architecture Course code, the repo with the full code can be found here:
122+
123+
[Angular Ngrx Reactive Extensions Architecture Course](https://angular-university.io/course/angular2-ngrx)
124+
125+
[Github repo for this course](https://github.com/angular-university/ngrx-course)
126+
127+
![Angular Ngrx Course](https://angular-academy.s3.amazonaws.com/thumbnails/ngrx-angular.png)
128+
129+
130+
131+
## Angular 2 and Firebase - Build a Web Application Course
132+
133+
If you are looking for the Angular 2 and Firebase - Build a Web Application Course code, the repo with the full code can be found here:
134+
135+
[Angular 2 and Firebase - Build a Web Application](https://angular-university.io/course/build-an-application-with-angular2)
136+
137+
[Github repo for this course](https://github.com/angular-university/angular-firebase-app)
138+
139+
![Angular firebase course](https://angular-academy.s3.amazonaws.com/thumbnails/angular_app-firebase-small.jpg)
140+
141+
142+
## Complete Typescript 2 Course - Build A REST API
143+
144+
If you are looking for the Complete Typescript 2 Course - Build a REST API, the repo with the full code can be found here:
145+
146+
[https://angular-university.io/course/typescript-2-tutorial](https://github.com/angular-university/complete-typescript-course)
147+
148+
[Github repo for this course](https://github.com/angular-university/complete-typescript-course)
149+
150+
![Complete Typescript Course](https://angular-academy.s3.amazonaws.com/thumbnails/typescript-2-small.png)
151+

0 commit comments

Comments
 (0)