Giter VIP home page Giter VIP logo

krimple / angular2-simple-ts-http-example Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 1.43 MB

Deprecated. Until Angular 2 is out of RC assume you'll need to patch this repo. Simplest form project with angular2 beta 0, http and observable support, typescript - for Angular 2.0.0-beta.0

Home Page: http://chariotsolutions.com/blog/post/angular-2-beta-0-sonambulent-inauguration-lands-small-app-rxjs-typescript/

HTML 0.03% JavaScript 98.95% TypeScript 0.19% CSS 0.83%

angular2-simple-ts-http-example's Introduction

Takes up what we've done with the first blog post on Angular 2 Beta and adds multiple routes and forms to the "blog system" sample.

The use case is silly, but the coding examples hopefully zero in on what you need to get a basic Angular 2 application going.

To set up

npm install -g live-server
npm install -g typescript@1.7.3
cd projectdir
npm install
tsc (should find the typescript tsconfig.json file)
live-server

You may also open this in WebStorm or any other tool that provides a typescript compiler and let 'er rip.

About runtime dependencies

I know, I know, a lib directory?? I am not ready to wire up a good Webpack setup, and I've done the hardcoded gulp copy system in a prior sample. I just did a wget of the dependencies for Angular 2 beta 0, which are:

  • SystemJS 0.19.6
  • Typescript runtime 1.7.3
  • angular2 polyfills, dev, router, and http libraries, 2.0.0-beta.0
  • Rx.js, 5.0.0-beta.0

Best,

Ken

angular2-simple-ts-http-example's People

Contributors

krimple avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jensworkgit

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.