Skip to content

luixaviles/angular-starter

Repository files navigation

Angular Starter Project

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.

Slides

Open the slides to Create An Angular 2 Application From Scratch

Live Application

Go through following URL to find the live application: https://angular-starter-7073d.firebaseapp.com

Screenshots

Running locally

Prerequisites

  1. Git
  2. Node.js (Install latest version)
  3. Angular CLI (Command Line Interface for Angular)

Development server

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.

Build

Run ng build --prod to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma. (This project needs add/update unit tests)

Running end-to-end 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)

Deployment

You can easily deploy your Angular Application using Firebase. Take a look Creating And Deploying an Angular 2 Application in 30 Minutes

Further help

To get more help on the angular-cli use ng --help or go check out the Angular-CLI README.

License

MIT