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

Latest commit

 

History

History

hippo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Project Hippo

Project Logo This is a Hippopotamus (Nilpferd)

Angular 2 forms

This project shows ...

  • how to use Angluar 2 template driven forms
  • how to use Angular 2 Directives for validation of input fields
  • how to use HTML snippets with absolut path in Angular 2 and Netbeans IDE
  • how to configure Gulp.js to copy some files and folders into a public folder
  • how the styling sheets of bootstrap framework is used

A form creates a cohesive, effective, and compelling data entry experience. An Angular form coordinates a set of data-bound user controls, tracks changes, validates input, and presents errors.

Open Angular 2 tutorial Forms to work through step by step.
Start with hero-form-1.component.html in hero-form.component and go ahead up to hero-form-8.component.

For input validiation with Angular 2 Directives see https://juristr.com/blog/2016/11/ng2-template-driven-form-validators/.

You will learn:


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