Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Latest commit

 

History

History

eagle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Project Eagle

Project Logo This is a Eagle (Adler)

Angular 2 Tour of heros

This tutorial shows:

  • how to use shared/util classes
  • how to display data
  • how to use the directives ngIf and ngFor

This tutorial uses Netbeans, Gulp.js, Node.js, Express Web-Server.

Open TUTORIAL.md to work through step by step.

Follow the links to find some more information for ...
Netbeans IDE, Gulp.js, Node.js, Express Web-Server, Angular 2 and TypeScript.

System Preparation

See Angular2 / Dingo / System preparation


Project description

Filenames in brackets are generated by the 'Build' process (via Gulp.js).

project   ---- nbproject ---- customs.json
         |               ---- ...
         |                
          ---- public ---- (ng2) ---- (app) ---- (app.component.js)
         |           |          |                (app.component.js.map)
         |           |          |                (app.module.js)
         |           |          |                (app.module.js.map)
         |           |          |                (main.js)
         |           |          |                (main.js.map)
         |           |          |
         |           |           ---- (shared) ---- (hero.js)
         |           |                              (hero.js.map)
         |           |
         |            -- index.html
         |               styles.css
         |               systemjs.config.js
         |
          -- src ---- ng2 ---- app ------ app.component.ts
         |         |     |                app.module.ts
         |         |     |                main.ts
         |         |     |
         |         |      ---- shared --- hero.ts
         |         |
         |          -- server.js
         |             tsconfig.json
         |             Symbolic link to ../README.md
         |             Symbolic link to ../TUTORIAL.md
         |
          -- package.json
             gulpfile.js
             README.md
             TUTORIAL.md
             .gitignore

The following files are used:

... and for Angular 2:


Dependencies

See Angular2 / Dingo / Dependencies


Variant A: Build and run project from GIT-Repository

To do (on Linux OS) ...

  1. open shell and clone git repository
    git clone <repository-url>
  2. change working directory to project and install node modules
    cd <project-dir>/eagle
    npm install
  3. transpile the typescript files and start the server
    npm start
  4. start a web-client and test the server
    http://localhost:8080

Variant B: Create project from scratch

See [Angular2 / Dingo / Variant B] (https://github.com/ManfredSteiner/angular2/tree/master/dingo#variant-b-create-project-from-scratch) and use sources of this project.