Skip to content

Zurab-D/a2-course-project

Repository files navigation

a2-course-project

This is an Angular 2 project - app looking like Gmail. You can create/edit/delete letters and you can do the same with records in address book (users) Project includes authorisation, auto saving of new email addresses, forms validation & autocompletion of email addresses in letters. Project includes some unit tests.

Project design was taken here: https://github.com/khalifenizar/gmail-clone Backend API: http://test-api.javascript.ru/v1

This project was generated with angular-cli version 1.0.0-beta.25.5.

Live Production Build Demo projrct

Development server

  • For a dev server run
ng serve
  • Navigate to http://localhost:4200/.
  • The app will automatically reload if you change any of the source files.

Build

To build the project run:

ng build

The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

To execute the unit tests via Karma run:

ng test

Running end-to-end tests

To execute the end-to-end tests via Protractor run:

ng e2e

Before running the tests make sure you are serving the app via ng serve.

In this project I used

How to deploy to Github Pages articles:

- First of all read this article: http://developer.telerik.com/featured/quick-angular-2-hosting-angular-cli-github-pages
- and this, if prev one doesn't help: http://colinmorris.github.io/blog/ng2-poor-mans-deploy
- After all preparations run `ng github-pages:deploy` to deploy to Github Pages.