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

Latest commit

 

History

History

lizard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Project Lizard

Project Logo This is a Lizard (Eidechse)

Angular Turorial HTTP

This project shows ...

  • how to make HTTP calls to a remote server's web API
  • how to add, edit or delete users
  • how to save that changes back to the server
  • how to use Angular 2 In-Memory-Web-API to emulate the web server
  • how to implement the data management in the express web-server

Open Angular 2 Tutorial HTTP and work through.

Comment out the line InMemoryWebApiModule.forRoot(InMemoryDataService), in file app.module.ts to disable Angular 2 In-Memory-Web-API and to use the data mangement in the express web server instead (see file server.js)


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


How to run the project

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>/lizard
    npm install
  3. build the project and start the server
    npm start
  4. start a web-client and test the server
    http://localhost:8080