SlideShare a Scribd company logo
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes
Dzień Dobry!
made with keynote by andrew hask
@ladyleet
made with keynote
@ladyleet
Have y’all ever experienced The Chimichanga?
https://www.youtube.com/watch?v=PUG5AqBD3T4
Material Design
We’re going to have our own way of getting
warmed up.
by andrew haskin
@ladyleet
@ladyleethttps://www.youtube.com/watch?v=f10SEuEo6HI
Karaoke
@ladyleet
Karaoke
Coders coding Angular 2
Using the CLI and Rx too 
Trying to get their call stacks right 
It goes on and on, and on, and on 
Strangers coding 
Up and down the boulevard
Their webpack building in the night
Website, Mobile
Server side rendering Universal
Material Design
Hope you all are warmed up now and ready to
learn some Angular 2 with Angular CLI!
by andrew haskin
@ladyleet
Material Design
How many of you are using Angular 2?
by andrew haskin
@ladyleet
Material Design
How many of you are using Angular CLI?
by andrew haskin
@ladyleet
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
@ladyleet
Material Design
We’re going to walk through a few thingsby andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Why the Angular-CLI is so important
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Easy implementation of material design
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Building an Angular 2 Angular-CLI app
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Component structure
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Using the newest new router
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Template driven forms
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Deploying your site to Firebase
by andrew haskin
@ladyleet
Material Design
We’re going to walk through a few things
- Why the Angular-CLI is so important
- Easy implementation of material design
- Building an Angular 2 Angular-CLI app
- Component structure
- Using the newest new router
- Template driven forms
- Deploying your site to Firebase
by andrew haskin
@ladyleet
Material Design
Why the CLI is so important
by andrew haskin
@ladyleet
@ladyleet
Why the CLI is so important
made with keynote
Architect application
Conventions of application
Live reload / dev server
Compiler for ES6
Testing
Staging
Production
@ladyleet
Setting up your dev environment
made with keynote
Architect application
Conventions of application
Live reload / dev server
Compiler for ES6
Testing
Staging
Production
@ladyleet
Setting up your dev environment
made with keynote
Architect application
Conventions of application
Compiler for ES6
Live reload / dev server
Testing
Staging
Production
@ladyleet
Angular-CLI does it for you!
App structure same for every app
Follows community conventions
TypeScript
Out of the box!
Creates tests for you!
Out of the box!
Out of the box!
made with keynote
A short list of the awesome (there’s more)
@ladyleet
Tree shaking
Route generation (coming)
Component generation
Model generation
Tests
Sass/less support
Package.json
Material Design
And that’s why the CLI is so important
by andrew haskin
@ladyleet
Material Design
Now, let’s build an app!
by andrew haskin
@ladyleet
@ladyleet
We’re prototyping the ng-cruise site
Create angular-cli ng2 app
@ladyleet
Here’s the journey we’re about to take
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Template-driven forms
Using the new router
Deploying to Firebase
Create angular-cli ng2 app
@ladyleet
Angular 2
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Template-driven forms
Using the new router
Deploying to Firebase
Material Design
$ npm install -g angular-cli@latest
$ ng new <name-of-app>
$ ng s
@ladyleet
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Template-driven forms
Using the new router
Deploying to Firebase
Material Design
$ npm install materialize-css
by andrew haskin
@ladyleet
Material Design
add to your index.html file
<script src=”https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/
jquery.js"></script>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/
materialize/0.97.6/css/materialize.min.css”>
<script src=”https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/
js/materialize.min.js"></script>
by andrew haskin
@ladyleet
@ladyleet
Success Looks Like This
Font will change to material design standard font - Roboto
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
@ladyleet
Angular 2 Angular-CLI Webpack App Structure
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Material Design
Basic Component Generation
$ ng generate <component-name>
Shortcuts & Configurations
(use ng g - - help for full list)
$ ng g c -is -it - - no-spec <component-name>
(generates component and adds inline style, inline template, and doesn’t
generate spec file)
by andrew haskin
@ladyleet
Create angular-cli ng2 app
@ladyleet
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Angular 2
Deploying to Firebase
Template-driven forms
Using the new router
Create angular-cli ng2 app
@ladyleet
What we’ve learned today with the CLI
Configure materialize-css
Ng2 ng-cli app structure
Creating components
Template-driven forms
Using the new router
Deploying to Firebase
@ladyleet
Tracy Lee
@ladyleet
github.com/ladyleet
modern-web.org
medium.com/@ladyleet
made with keynote
Thank you!
@ladyleet
Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes

More Related Content

What's hot (19)

PDF
The Tale of the 3 CLIs - jDays2017
Tracy Lee
 
PDF
Angular Material (2) - NgVikingsConf
Tracy Lee
 
PDF
A Practical Approach to React Native at All Things Open Conference
Tracy Lee
 
PDF
RxJS: A Beginner & Expert's Perspective - ng-conf 2017
Tracy Lee
 
PDF
Say hello world with angular 5
Abhishek Mallick
 
PDF
The Ultimate Getting Started with Angular Workshop - Devoxx France 2017
Matt Raible
 
PDF
What's New in JHipsterLand - Devoxx US 2017
Matt Raible
 
PDF
The Power of RxJS in Nativescript + Angular
Tracy Lee
 
PPTX
SharePoint Fest Chicago 2017 - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
PDF
Angular 2.0
THanekamp
 
PDF
RxJS - The Basics & The Future
Tracy Lee
 
PPTX
MeteorJS Session
Shreyans Gandhi
 
PDF
Polymer and Firebase: Componentizing the Web in Realtime
Juarez Filho
 
PDF
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Matt Raible
 
PPTX
SharePoint Saturday Utah 2018 - SharePoint Framework, Angular and Azure Funct...
Sébastien Levert
 
PDF
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
Codemotion
 
PPTX
North American Collaboration Summit 2018 - SharePoint Framework, Angular & Az...
Sébastien Levert
 
PDF
Under the Hood with Headless WordPress and the Google Cloud Platform
WP Engine
 
PDF
Quick Way to work with Models and Alloy in Appcelerator Titanium
Aaron Saunders
 
The Tale of the 3 CLIs - jDays2017
Tracy Lee
 
Angular Material (2) - NgVikingsConf
Tracy Lee
 
A Practical Approach to React Native at All Things Open Conference
Tracy Lee
 
RxJS: A Beginner & Expert's Perspective - ng-conf 2017
Tracy Lee
 
Say hello world with angular 5
Abhishek Mallick
 
The Ultimate Getting Started with Angular Workshop - Devoxx France 2017
Matt Raible
 
What's New in JHipsterLand - Devoxx US 2017
Matt Raible
 
The Power of RxJS in Nativescript + Angular
Tracy Lee
 
SharePoint Fest Chicago 2017 - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
Angular 2.0
THanekamp
 
RxJS - The Basics & The Future
Tracy Lee
 
MeteorJS Session
Shreyans Gandhi
 
Polymer and Firebase: Componentizing the Web in Realtime
Juarez Filho
 
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Matt Raible
 
SharePoint Saturday Utah 2018 - SharePoint Framework, Angular and Azure Funct...
Sébastien Levert
 
Angular is on Fire(base) - Shmuela Jacobs - Codemotion Amsterdam 2017
Codemotion
 
North American Collaboration Summit 2018 - SharePoint Framework, Angular & Az...
Sébastien Levert
 
Under the Hood with Headless WordPress and the Google Cloud Platform
WP Engine
 
Quick Way to work with Models and Alloy in Appcelerator Titanium
Aaron Saunders
 

Viewers also liked (19)

PDF
Angular Connect
Brandy Carney
 
PPT
single page application
Ravindra K
 
PPTX
Angular 2 with TypeScript
Cipriano Freitas
 
PPTX
Rits Brown Bag - TypeScript
Right IT Services
 
PDF
Single-Page Web Application Architecture
Eray Arslan
 
PPTX
Angular 2 + TypeScript = true. Let's Play!
Sirar Salih
 
PPTX
Angular 2 with TypeScript
Shravan Kumar Kasagoni
 
PDF
Single page application
Jeremy Lee
 
PPTX
Angular 1.x vs 2 - In code level
Anuradha Bandara
 
PPTX
Single page application
Ismaeel Enjreny
 
PPTX
02 Node introduction
Ahmed Elbassel
 
PDF
Angular 2 kickstart
Geoffrey Filippi
 
PPTX
Node js for beginners
Arjun Sreekumar
 
PPTX
Node js introduction
Joseph de Castelnau
 
PPTX
An afternoon with angular 2
Mike Melusky
 
PDF
Node js
Rohan Chandane
 
PPTX
Angular 2 vs Angular 1
GDG Odessa
 
PPTX
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
ODP
Getting started with typescript and angular 2
Knoldus Inc.
 
Angular Connect
Brandy Carney
 
single page application
Ravindra K
 
Angular 2 with TypeScript
Cipriano Freitas
 
Rits Brown Bag - TypeScript
Right IT Services
 
Single-Page Web Application Architecture
Eray Arslan
 
Angular 2 + TypeScript = true. Let's Play!
Sirar Salih
 
Angular 2 with TypeScript
Shravan Kumar Kasagoni
 
Single page application
Jeremy Lee
 
Angular 1.x vs 2 - In code level
Anuradha Bandara
 
Single page application
Ismaeel Enjreny
 
02 Node introduction
Ahmed Elbassel
 
Angular 2 kickstart
Geoffrey Filippi
 
Node js for beginners
Arjun Sreekumar
 
Node js introduction
Joseph de Castelnau
 
An afternoon with angular 2
Mike Melusky
 
Angular 2 vs Angular 1
GDG Odessa
 
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
Getting started with typescript and angular 2
Knoldus Inc.
 
Ad

Similar to Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes (20)

PPTX
Azure Static Web Apps
Jen Looper
 
PPTX
Web Components: The Future of Web Development is Here
John Riviello
 
PDF
Run Fast, Try Not to Break S**t
Michael Schmidt
 
PDF
Jenkins vs. AWS CodePipeline
Steffen Gebert
 
PPTX
Building a REST API Microservice for the DevNet API Scavenger Hunt
Ashley Roach
 
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
PPT on Angular 2 Development Tutorial
Paddy Lock
 
PDF
Front End Development for Back End Developers - vJUG24 2017
Matt Raible
 
PPTX
Web worker in your angular application
Suresh Patidar
 
PDF
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPTX
Jetpack Compose - Android’s modern toolkit for building native UI
Gilang Ramadhan
 
PPTX
Introduction to angular with a simple but complete project
Jadson Santos
 
PDF
AngularJS best-practices
Henry Tao
 
PPTX
Migrating from AngularJS when you can't use the word "Big Bang@
Asim Hussain
 
PDF
From 0 to Developer - Silicon Valley Code Camp
Tracy Lee
 
PDF
Introduction to Web Components & Polymer Workshop - JS Interactive
John Riviello
 
PPTX
Azure handsonlab
Chef
 
PPTX
SharePoint Fest Seattle - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
PDF
StackEngine Problem Space Demo
Boyd Hemphill
 
PPTX
Using-AngularJS-with-Sitefinity.pptx
kisofe
 
Azure Static Web Apps
Jen Looper
 
Web Components: The Future of Web Development is Here
John Riviello
 
Run Fast, Try Not to Break S**t
Michael Schmidt
 
Jenkins vs. AWS CodePipeline
Steffen Gebert
 
Building a REST API Microservice for the DevNet API Scavenger Hunt
Ashley Roach
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
PPT on Angular 2 Development Tutorial
Paddy Lock
 
Front End Development for Back End Developers - vJUG24 2017
Matt Raible
 
Web worker in your angular application
Suresh Patidar
 
How to convert your Full Trust Solutions to the SharePoint Framework (SPFx)
Brian Culver
 
Jetpack Compose - Android’s modern toolkit for building native UI
Gilang Ramadhan
 
Introduction to angular with a simple but complete project
Jadson Santos
 
AngularJS best-practices
Henry Tao
 
Migrating from AngularJS when you can't use the word "Big Bang@
Asim Hussain
 
From 0 to Developer - Silicon Valley Code Camp
Tracy Lee
 
Introduction to Web Components & Polymer Workshop - JS Interactive
John Riviello
 
Azure handsonlab
Chef
 
SharePoint Fest Seattle - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
 
StackEngine Problem Space Demo
Boyd Hemphill
 
Using-AngularJS-with-Sitefinity.pptx
kisofe
 
Ad

More from Tracy Lee (14)

PDF
Contributing to Open Source - Angular World Tour
Tracy Lee
 
PDF
ChicagoJS's JSCAMP 2019 Keynote - Inclusive Architecture - Building Sustainab...
Tracy Lee
 
PDF
Angular Girls Kansas City - The Power of Open Source and Social Media
Tracy Lee
 
PDF
Diversity & Inclusion Conference Talk - Refactr
Tracy Lee
 
PDF
Inclusive Architecture - Introducing the PAMstack - [Refactr.tech]
Tracy Lee
 
PDF
RxJS Operators - Real World Use Cases (FULL VERSION)
Tracy Lee
 
PDF
RxJS Operators - Real World Use Cases - AngularMix
Tracy Lee
 
PDF
Diversity, Inclusive Mindsets, and Architecture
Tracy Lee
 
PDF
Diversity & Inclusion Keynote at Open Source 101
Tracy Lee
 
PDF
Reactive programming with RxJS - ByteConf 2018
Tracy Lee
 
PDF
React Native - Getting Started
Tracy Lee
 
PDF
Learning the New Tech Lingua Franca: Social Media
Tracy Lee
 
PDF
Ember.js - Harnessing Convention Over Configuration
Tracy Lee
 
PDF
From 0 to Ember
Tracy Lee
 
Contributing to Open Source - Angular World Tour
Tracy Lee
 
ChicagoJS's JSCAMP 2019 Keynote - Inclusive Architecture - Building Sustainab...
Tracy Lee
 
Angular Girls Kansas City - The Power of Open Source and Social Media
Tracy Lee
 
Diversity & Inclusion Conference Talk - Refactr
Tracy Lee
 
Inclusive Architecture - Introducing the PAMstack - [Refactr.tech]
Tracy Lee
 
RxJS Operators - Real World Use Cases (FULL VERSION)
Tracy Lee
 
RxJS Operators - Real World Use Cases - AngularMix
Tracy Lee
 
Diversity, Inclusive Mindsets, and Architecture
Tracy Lee
 
Diversity & Inclusion Keynote at Open Source 101
Tracy Lee
 
Reactive programming with RxJS - ByteConf 2018
Tracy Lee
 
React Native - Getting Started
Tracy Lee
 
Learning the New Tech Lingua Franca: Social Media
Tracy Lee
 
Ember.js - Harnessing Convention Over Configuration
Tracy Lee
 
From 0 to Ember
Tracy Lee
 

Recently uploaded (20)

PDF
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PDF
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PPTX
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
PPTX
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
PPTX
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Python Conference Singapore - 19 Jun 2025
ninefyi
 
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
The Growing Value and Application of FME & GenAI
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Simplifica la seguridad en la nube y la detección de amenazas con FortiCNAPP
Cristian Garcia G.
 
reInforce 2025 Lightning Talk - Scott Francis.pptx
ScottFrancis51
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
From Chatbot to Destroyer of Endpoints - Can ChatGPT Automate EDR Bypasses (1...
Priyanka Aash
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
𝙳𝚘𝚠𝚗𝚕𝚘𝚊𝚍—Wondershare Filmora Crack 14.0.7 + Key Download 2025
sebastian aliya
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 

Using Angular-CLI to Deploy an Angular 2 App Using Firebase in 30 Minutes