borysn / spring-boot-angular2

spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
MIT License
387 stars 221 forks source link

not working like before .. error on home page #14

Closed siddigd closed 8 years ago

siddigd commented 8 years ago

Hi

After upgrade to rc6 and dividing code ... it is showing :+1: Whitelabel Error Page

on 127.0.0.1:8080 - for both gradle bootRun and gradle bootRepackage and running Jar file

borysn commented 8 years ago

navigate to localhost:3000, angular code is served on it's own webpack dev server now. The rest api runs on tomcat which is at localhost:8080, there is no html content served from that port any longer. You can check the updated readme/wiki for more info.

siddigd commented 8 years ago

Hi

Many thanks for your reply. I thought the idea is to host the ui in spring as a frontend to access other remote rest, now no connection between rest client - ui - and jave code right ?? Regards

Sent from my iPhone

On Sep 7, 2016, at 10:45 AM, Borys H.N. notifications@github.com wrote:

navigate to localhost:3000, angular code is served on it's own webpack dev server now. The rest api runs on tomcat which is at localhost:8080, there is no html content served from that port any longer. You can check the updated readme/wiki for more info.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

borysn commented 8 years ago

The idea is to have an app server abstracted away from a client. The app server can then be used for any front end client, like an android apps!

The project then specifically focuses on a web client implementation using angular2. The only connection between the java code (app server) and the front end client (angular2) is the rest api, that was true before as well.

The app server and the client can still access what ever rest api they need. The application functions the same, the web code is just served on it's own server following good restful methodology.

siddigd commented 8 years ago

Thanks a lot

On Sep 7, 2016, at 8:18 PM, Borys H.N. notifications@github.com wrote:

The idea is to have an app server abstracted away from a client. The app server can then be used for any front end client, like an android apps!

The project then specifically focuses on a web client implementation using angular2. The only connection between the java code (app server) and the front end client (angular2) is the rest api, that was true before as well.

The app server and the client can still access what ever rest api they need. The application functions the same, the web code is just served on it's own server following good restful methodology.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/borysn/spring-boot-angular2/issues/14#issuecomment-245335293, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYoc6szkC2BDsXKAS_0c1co2iIMifloks5qnuPJgaJpZM4J2ldT.

borysn commented 8 years ago

@siddigd no problem!