Coder Social home page Coder Social logo

typescript-unit-test's Introduction

This is the second demo in a series on how to refactor your AngularJS 1.x application to apply concepts and technologies that will be at the core of AngularJS 2.x. The first demo (https://github.com/briebugconsulting/helloWorld) refactored John Papa's Hot Towel project so that it was broken into smaller components (since Angular 2 will not have controllers and applications will use a component-based design). This second demo takes that refactored helloWorld application and implements it in TypeScript instead of JavaScript.

The Angular 2.0 code base is being written entirely in TypeScript. Though you will be able to use JavaScript, Dart, CoffeeScript, etc to build Angular 2 applications, there are good reasons why you should learn and use TypeScript, not the least of which is that you'll be able to read and understand the Angular 2 source code and use that as a basis for creating your Angular 2 app. This demo will be presented alongside a slide deck that talks about the features and benefits of TypeScript, why you should consider using it, and how to get started with it.

Installation

  1. Install Node.js
  1. Install these NPM packages globally

    npm install -g bower gulp nodemon typescript tsd
  2. Install project dependencies (execute from project's root folder)

    npm install
    bower install
  3. Run application (execute from project's root folder)

    gulp serve-dev

typescript-unit-test's People

Contributors

davelaursen avatar mhagel 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.