This project shows how you can build your first Angular Application from scratch using angular CLI. The application is using also latest version of Material Components.
Open the slides to Create An Angular 2 Application From Scratch
Go through following URL to find the live application: https://angular-starter-7073d.firebaseapp.com
- Git
- Node.js (Install latest version)
- Angular CLI (Command Line Interface for Angular)
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build --prod
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
(This project needs add/update unit tests)
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
(This project needs add/update e2e tests)
You can easily deploy your Angular Application using Firebase. Take a look Creating And Deploying an Angular 2 Application in 30 Minutes
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.
MIT