SpringBoot and Angular 5.0 Integration

Share
Embed
  • Published on Jan 6, 2018
  • In this video we look at and example of packaging a angular 5 application inside of a spring boot application and have them both talk to each other.

    My Basics of Spring tutorial series:
    thexvid.com/user/playlist?list...

    GitHub: github.com/steveftw/spring-an...
    Angular CLI: cli.angular.io/
    Angular: angular.io/
    Spring: spring.io/

Comments • 49

  • kozmothewonderdog
    kozmothewonderdog 3 years ago

    Fantastic idea to combine them, and excellent tutorial - one item to note: at a couple points in the video you say "AngularJS" but you mean "Angular" (since this is Angular5), and this could confuse newcomers.

  • Fada Fez
    Fada Fez Year ago

    Thanks for this tutorial. It's cool that you can pack the Angular client inside of the war. With that and spring-boot, you get the most similar equivalent to a software...let's say that you get a full web-application, with client and server, all packed in a single file. Isn't that fantastic? :--)

  • Carlos Bolivar Zapata
    Carlos Bolivar Zapata 3 years ago +1

    If you're using Angular 6, you must change outputPath value for "../resources/static" into angular.json

  • menesbatto
    menesbatto 3 years ago

    Great video, can you make another video with Angular5 and Spring Security? Thanks

  • Harvey Flaisher
    Harvey Flaisher 3 years ago

    Excellent video Steve. However, having problems getting code from GH to work w/Angular 6:

  • Norbert Orosz
    Norbert Orosz 2 years ago +1

    Great Tutorial Sir. Clean and simple

  • pal sankar
    pal sankar 2 years ago

    Great Tutorial on how to combine angular with spring boot along with maven example.

  • Aurore Melie
    Aurore Melie 3 years ago

    Hi thank you. Do you know how to deploy it into a JAR or a WAR file?

  • Bartek Góral
    Bartek Góral 3 years ago +1

    Thanks for very clean tutorial. However You often call the Angular an AngularJS which is not the same.

  • cqi2
    cqi2 3 years ago

    great info! Maybe zoom in more on your screen will help see the text better!

  • Alaeddine GHRIBI
    Alaeddine GHRIBI 3 years ago

    I tried to deploy my Angular app with your technique, but it does not work because of Spring Security. When I enter the url:8080, the Spring app blocks me and does not allow me to open the login page.

  • Jorge Diaz
    Jorge Diaz 3 years ago

    Great info bro, thank you for sharing.

  • Oscar Alfredo Chafloque Tampeck

    GRACIAS POR APORTE, PERO QUIERO CONFIGURAR ANGULAR.SON PARA QUE RECONOZCA server.servlet.context-path=/EXAMPLE del spring boot

  • rajeev ranjan
    rajeev ranjan 3 years ago

    If I hit localhost:8080 (host:port) app is loading from index.html.

  • Gleb Zhiglov
    Gleb Zhiglov 3 years ago

    App works well. Thank I you. It will become my boilerplate.

  • Tariq Ahsan
    Tariq Ahsan 3 years ago

    I've downloaded the project from your GitHub. Getting - Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:exec-maven-plugin:1.6.0:exec in the pom.xml at tag in my Eclipse. Any idea? Thanks!

  • john karippery
    john karippery 3 years ago +2

    how to do angular 5 with gradle spring boot. could you make a video?

  • Abhinav Gupta
    Abhinav Gupta 3 years ago

    is this project available on git ?

  • Przemysław Marciniak
    Przemysław Marciniak 3 years ago

    how to apply angular changes on website without restarting the whole spring boot application?

  • Alina Blake
    Alina Blake 2 years ago

    Thank u so much! That's really helpful video.