Coder Social home page Coder Social logo

atalupadhyay / training-angular2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zuehlke/training-angular2

0.0 1.0 0.0 1.38 MB

Materials and source code for an Angular 2 training workshop.

License: Other

C# 43.32% TypeScript 33.07% CSS 2.07% HTML 9.00% JavaScript 12.19% Dockerfile 0.02% Shell 0.32%

training-angular2's Introduction

Angular 2 Training

This repository contains materials and source code for the workshop introducing Angular 2 together with TypeScript and ASP.NET Core.

  • In the ๐Ÿ“ Application folder you can find the example application from the workshop in its final state.
  • The ๐Ÿ“ Exercises folder contains the materials for the exercises made in this workshop.

Table of Contents

Before you Start

This section contains information about the installation prerequisites and the steps you need to do before running one of the example applications.

Installation Prerequisites

The following tools are required to get the example applications running:

To develop the applications you will need to have one of the following setups available:

  1. You can work with Visual Studio 2017
  2. Or you can use Visual Studio Code having the C# for Visual Studio Code extension installed.

Additionally you will need to install a set of tools to run and test the application globally. Open a console and run

npm install -g webpack karma jasmine protractor webdriver-manager

Running an Example Project or Exercise

This repository contains a whole bunch of Visual Studio solutions, both for the exercise and for the example application. To get one of the solutions running you need to execute these steps:

First load the solution using Visual Studio or Visual Studio Code. Then open a console at the Zuehlke.ExpenseReporting folder of the solution and run

npm install

After this ran successfully run

webpack --config webpack.config.vendor.js

to bundle the 3rd party scripts and styles for your application.

If you are using Visual Studio code you also need to run

dotnet restore

to restore the NuGet packages used by the application.

If your application still refuses to load properly you might need to repeat the npm install command.

Running Unit- or E2E-Tests

To run unit-tests open a console at the Zuehlke.ExpenseReporting folder of the solution you want to test and run

npm test

To run the e2e UI tests open a console at the Zuehlke.ExpenseReporting folder of the solution you want to test and run

protractor

If you experience trouble running the e2e-tests try running

webdriver-manager update

to ensure that you have a running version of the selenium server.

Additional Materials

In this section we list additional training materials

Books

Blogs, Websites and Articles

training-angular2's People

Contributors

stanbe avatar spontifixus avatar kabaehr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.