Giter Site home page Giter Site logo

expense-manager-ng2-demo's Introduction

Web App using Angular2, Polymer and Vaadin Elements

This is an example project for how you can build a WebApp with Angular2, Polymer and Vaadin Elements.

The fully responsive application showcases Vaadin Grid, Date-Picker, Combo-Box and Charts.

Live Demo

Try the live demo of the Expense Manager.

Running locally

Install dependencies

Run npm install && bower install

Run development server

npm start runs the app locally with browser sync.

Note

The demo uses Vaadin Charts, which will ask for a license. You can close the window to try out the app without a license.

expense-manager-ng2-demo's People

Contributors

alvarezguille avatar amahdy avatar manolo avatar mlottmann avatar rogozinds avatar saulis avatar tehapo avatar tomivirkki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

expense-manager-ng2-demo's Issues

Bower install fails

Trying to run npm install and bower install, but bower install fails many times.

The error is: bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/PolymerElements/paper-toast.git", exit code of #128 fatal: unable to connect to github.com

Is this my crappy conference connection or something else? Feel free to close if nothing serious. I can't compile the demo.

Issue regarding build the prod

Hi,
I am using angular 2 gulp and typescript in my project.

Now I want to use Vaadin elements in my project, So i follow this project and add a combobox to my project.
It is running as expected.

But I got error when I try to create a prod-build the project using gulp.

Please anyone help me on this.
Is there any seed project using vaadin which has prod build.

Thanks,
Ananda

Errors during compilation (still runs)

Although the app still runs on the browser, I'm getting some concerning errors during compilation.
I get the same errors when running on Node 6.2.1 on Debian and Node 5.0.0 on Windows
Any ideas?

snap 2016-06-17 at 09 55 23

Not compatible with Angular 2.2.3

Shows empty grid. Seems like columns were not prepared properly.
Also throws exception:

core.umd.js:2837 EXCEPTION: Uncaught (in promise): TypeError: Cannot set property 'renderer' of undefined
TypeError: Cannot set property 'renderer' of undefined
at ExpensesList.gridReady (http://localhost:3000/app/expenses-list/expenses_list.component.js:42:34)
at eval (http://localhost:3000/app/expenses-list/expenses_list.component.js:20:19)
at ZoneDelegate.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:229:26)
at Object.onInvoke (http://localhost:3000/node_modules/@angular/core/bundles/core.umd.js:5975:41)
at ZoneDelegate.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:228:32)
at Zone.run (http://localhost:3000/node_modules/zone.js/dist/zone.js:113:43)
at http://localhost:3000/node_modules/zone.js/dist/zone.js:509:57
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:262:35)
at Object.onInvokeTask (http://localhost:3000/node_modules/@angular/core/bundles/core.umd.js:5966:41)
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:261:40)
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:151:47)
at drainMicroTaskQueue (http://localhost:3000/node_modules/zone.js/dist/zone.js:405:35)
at ZoneTask.invoke (http://localhost:3000/node_modules/zone.js/dist/zone.js:336:25)
at data.args.(anonymous function) (http://localhost:3000/node_modules/zone.js/dist/zone.js:1149:25)

// package.json

"dependencies": {
    "@angular/common":  "2.2.3",
    "@angular/compiler":  "2.2.3",
    "@angular/core":  "2.2.3",
    "@angular/forms": "2.2.3",
    "@angular/http":  "2.2.3",
    "@angular/platform-browser":  "2.2.3",
    "@angular/platform-browser-dynamic":  "2.2.3",
    "@angular/router":  "3.2.3",
    "@angular/upgrade":  "2.2.3",

    "systemjs": "0.19.41",
    "core-js": "^2.4.1",
    "reflect-metadata": "^0.1.8",
    "rxjs": "5.0.0-rc.4",
    "zone.js": "^0.7.2",

    "angular2-in-memory-web-api": "0.0.21",
    "bootstrap": "^3.3.7",
    "@vaadin/angular2-polymer": "1.0.0-beta5"
  },

Two datepickers open

date_pickers

Only way to close them is to select date or press calendar icon.
Might be because of my touch screen (But working properly in expense-manager-polymer-demo)

Code clutter

Is there a code base for the ng2 demo that doesn't use all the Reflect clutter and implements standard ng2 constructs i.e.

import { Core } from '@angular/core';

vs

var core_1 = require('@angular/core');

I would like to view this project as an implementation using ng2, rather than have to wade through all of the meta data which I assume is being consumed by an editor rather than simply a test runner?

Unable to start the Application. Throwing an error during npm start

Error:
node_modules/rxjs/Subject.d.ts(16,22): error TS2415: Class 'Subject' incorrectly extends base class 'Observable'.
Types of property 'lift' are incompatible.
Type '<T, R>(operator: Operator<T, R>) => Observable' is not assignable to type '(operator: Operator<T, R>) => Observable'.
Type 'Observable' is not assignable to type 'Observable'.
Type 'T' is not assignable to type 'R'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: tsc && concurrently "tsc -w" "lite-server"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Node version : 6.11.0
angular/cli version: 1.3.1

Grid breaks with empty result set

If you select a date in the future so that no expenses match and then scroll the grid, the grid keeps showing the spinner trying to load data.

bower install command errors

Getting the following errors when running the bower install command:
bower ENORESTARGET Tag/branch feature/angular-rc-0 does not exist

Additional error details:
Available tags: 3.0.0, 3.0.0-alpha1, 3.0.0-alpha2, 3.0.0-alpha3, 3.0.0-alpha4, 3
.0.0-alpha5, 3.0.0-alpha6, 3.0.0-alpha7, 3.0.0-alpha8, 3.0.0-alpha9, 3.0.0-beta1
, 3.0.0-rc1, 3.0.0-rc2, 3.1.0-beta1, 3.1.0-beta2, 3.1.0-rc1
Available branches: 3.1, feature/CHARTS-202, feature/react-component-data-bindin
g, master, private-chart, task/CHARTS-170, task/CHARTS-232, task/CHARTS-383, tas
k/CHARTS-505, task/dataseries_parsestring, task/merge_ng2

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.