gdyrrahitis / angular-101

Angular (latest) samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular 101

Samples for Angular

Build Status Node version contributions welcome

Samples are hosted under Azure Web App, link to application:

https://angular-101.azurewebsites.net/

Installation

To run the samples, first install all dependencies.

  1. Make sure you have latest node installed. Nodejs

  2. Got to project root directory, open a command line window and type: npm install

  3. After all dependencies are installed, on cmd, type the following to open in browser: npm start

Contents

This application contains various samples made using Angular. Samples will be updated frequently, along with the new versions of Angular, either by adding new content or just upgrading the underlying framework.

Each sample contains a README.md which provides some documentation on the purpose and the code, so either navigate individually to each sample or use the wiki.

Tests

To run the tests, open a cmd window in project root directory and run the following command:

npm test

Watch the tests passing by getting some feedback from the cmd window.

Tests are found relative to each .ts file, in a folder named specs. There are two types,

  1. Isolated tests, which test components and other items in isolation
  2. Integrated tests, which test components and other items in an integrated test environment.

Contribute

If you wish, you can contribute on the existing samples, or even introduce new, making this repo more rich, in order for other people to benefit from the code that lies here.

Please, try to follow the application structure, in which under samples folder are all samples located, under each category, like Bindings, Components, etc., inside each there is the sub-category which is going to be explored. Itself contains an src folder with all the code and a barrel (index.ts) to expose its items.

About

Angular (latest) samples


Languages

Language:TypeScript 60.1%Language:HTML 35.9%Language:JavaScript 1.8%Language:CSS 1.1%Language:Batchfile 1.1%