AngularJS

COMARCH, 22/11/2014

We'll build ERP web interface

  • Customers
  • Articles
  • Orders

First, we'll focus on read-only

  • List
  • Details
  • Extra-Features

We'll use fake data

  • http://www.json-generator.com/
  • http://www.generatedata.com/
  • begin with easy one, extend it later
  • to simplify things and avoid server app, we'll save it in file and download from file
  • like that:
$scope.customers = [];
            $http.get('data/customers.json').success(function (data) {
                $scope.customers = data;
            });

We'll use Git & ng-boilerplate

  • NodeJS installation required to run/compile
  • Other parts will come from Git
  • Each team will create separate module
  • Internal teams cooperation to be defined internally
  • Suggestion: Learn Git conflicts resolving!

Kick-off

$ git clone https://github.com/kubaszumiato/angularjs-demo
$ cd angularjs-demo
$ cd AngularERP
$ npm -g install grunt-cli karma bower
$ npm install
$ bower install
$ grunt watch
  • LiveReload for immediate results in your browser
    • Available for Chrome and Firefox

Checkpoints

  • 1PM: Lunch Time
  • Right after: First presentations of all teams
  • 4PM: We'll start to merge our code
  • 4H30PM: Presentation of results and discussion

Good Luck

Copy of deck

By Krzysztof Izdebski