jgodi / angular2-fullstack-starter Goto Github PK
View Code? Open in Web Editor NEWAngular2 Full Stack with ES6, Webpack, Express, Node, Karma, Protractor, ESLint
Angular2 Full Stack with ES6, Webpack, Express, Node, Karma, Protractor, ESLint
Thanks for building this; lots of good tips buried in the code.
However, it doesn't run out of the box. Things I've encountered so far:
http-proxy not defined: solution is to add it to package.json: npm install --save-dev http-proxy
hot reload doesn't rebuild. work around is to manually: npm run build:dev
home#onInit never called. solution is to rename the method ngOnInit.
Http.get().map is not defined. solution is to import more operators in bootstrap.js http://stackoverflow.com/a/35043949
I have built my project using the structure of angular2-webpack-starter but that there I cannot find a way to start my app on server and then move to angular 2 part that way you have done .
Now the problem is I able easily able to do server side part with your repo and I want to include it in my app built using angular2-webpack-starter . Please guide me a way to do so .
Complete the unit and e2e tests for the current components and services that are already in the application.
Setup a CI service to show build status and code coverage. Will also work as an example on how to integrate with a CI service.
Add ESLint into the project.
Add the ability to report the code coverage and make the code coverage percentage go off the ES6/TS code if possible.
Todo Service error:
Uncaught (in promise) TypeError: object is not a constructor
Tried in Chrome, IE 10. get the same error
Can you help?
Thanks!
after npm i
, I get:
ERROR in ./public/app/bootstrap.js
Module build failed: Error: eslint-config-bullhorn/rules/best-practices:
Configuration for rule "no-labels" is invalid:
Value "2,[object Object]" has more items than allowed.
Referenced from: eslint-config-bullhorn/legacy
Referenced from: eslint-config-bullhorn/base
Referenced from: bullhorn/angular2
Referenced from: /Users/admejiar/tmp/angular2-fullstack-starter/.eslintrc
at validateRuleOptions (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:102:15)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:148:13
at Array.forEach (native)
at Object.validate (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:147:35)
at load (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:390:19)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:326:36
at Array.reduceRight (native)
at applyExtends (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:309:28)
at load (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:395:22)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:326:36
@ multi app
ERROR in ./public/app/vendor.js
Module build failed: Error: eslint-config-bullhorn/rules/best-practices:
Configuration for rule "no-labels" is invalid:
Value "2,[object Object]" has more items than allowed.
Referenced from: eslint-config-bullhorn/legacy
Referenced from: eslint-config-bullhorn/base
Referenced from: bullhorn/angular2
Referenced from: /Users/admejiar/tmp/angular2-fullstack-starter/.eslintrc
at validateRuleOptions (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:102:15)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:148:13
at Array.forEach (native)
at Object.validate (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-validator.js:147:35)
at load (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:390:19)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:326:36
at Array.reduceRight (native)
at applyExtends (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:309:28)
at load (/Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:395:22)
at /Users/admejiar/tmp/angular2-fullstack-starter/node_modules/eslint/lib/config/config-file.js:326:36
Improve the overall documentation of the starter application.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.