Code Monkey home page Code Monkey logo

loopback-angular2-boilerplate-outdated's Introduction

LoopBack w/ Angular2 & Gulp & JSPM & PostCSS Boilerplate

DEPRECATED -> updated started kit -> https://github.com/phra/angular2-loopback-starter

Installing

$ git clone https://github.com/phra/loopback-angular2-boilerplate.git
$ cd loopback-angular2-boilerplate
$ npm i

Developing (launch JSPM in development mode)

$ npm run serve

Deploy (create production build)

$ npm run deploy

Deploy + serve (create production build and launch node server)

$ npm run deploy:serve

loopback-angular2-boilerplate-outdated's People

Contributors

phra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

artmunro

loopback-angular2-boilerplate-outdated's Issues

Error on install

Greetings,

I am in the process of putting together a boilerplate application for Angular 2 and Loopback. I came across this repo and decided to give it a shot. After doing "npm i" ... there is an error. I think that a datasource must be setup/configured. Thoughts? I'm using the loopback-connector-postgresql

Thoughts?

Error Below ...
BTW .. latest Node 6.2.1

npm ERR! [email protected] db-migrate-up: node_modules/db-migrate/bin/db-migrate --config migrations/database.json --migrations-dir migrations/migrations --verbose up -ecat server/datasources.json | grep -A 2 postgres | grep database | cut -d'"' -f 4``
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] db-migrate-up script 'node_modules/db-migrate/bin/db-migrate --config migrations/database.json --migrations-dir migrations/migrations --verbose up -ecat server/datasources.json | grep -A 2 postgres | grep database | cut -d'"' -f 4'.

WARNING => boilerplate outdated!

this boilerplate project is outdated, i.e:

๐Ÿ‘Ž angular2 beta11 so we have to upgrade to latest angular2 rc release asap (there are breaking changes from beta to rc)
๐Ÿ‘Ž loopback 2 (loopback 3 is coming)
๐Ÿ‘Ž generations of angular2 code comes from a community contribution not merged in the upstream
๐Ÿ‘Ž jspm is outdated and there are breaking changes (0.17 still in beta, unbelievable)

imho we have to:

๐Ÿ‘ update the example in angular2 to latest rc (there are also breaking changes from an rc to another one)
๐Ÿ‘ update to latest version of loopback
๐Ÿ‘ switch from the experimental fork to something more stable like this one to generate the providers for angular2 https://github.com/jonathan-casarrubias/loopback-sdk-builder
๐Ÿ‘ switch to webpack asap (more flexible than jspm) and use only npm for deps management.

HELP WANTED!

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.