Angular 7 + Spring Boot Hello World Application Example

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 58

  • @biswajitbiswal7274
    @biswajitbiswal7274 5 лет назад

    Really Helpful.Simple explanation bit by bit.Thanks alot. It is a very good tutorial for beginners.

  • @wondersmsvideos4743
    @wondersmsvideos4743 2 года назад

    Thanks for informative video

  • @sagarsaha2441
    @sagarsaha2441 5 лет назад

    This is really very much helpful and much in a short video and help of javainuse. Thank you so much brother.

  • @shashankgupta2526
    @shashankgupta2526 5 лет назад

    Thanks you vey much....very very helpful video............Please keep it up...

  • @thulasiganesh2853
    @thulasiganesh2853 5 лет назад

    Well explained!
    What will be the value passed to CrossOrigin Annotation when the same code is running on a server?

    • @JavaInUse
      @JavaInUse  5 лет назад

      Hi Thulasi. If you are deploying angular files and spring boot as a single deployment i.e copy angular files in resources->static folder and deploy on tomcat server, then we do not need the cross origin tag. if the angular and Spring Boot are deployed seperately on different servers you will need to use cross origin tag in spring boot.

    • @thulasiganesh2853
      @thulasiganesh2853 5 лет назад

      JavaInUse Thanks for the response!
      I wanted to know when both angular and backed Java code are running on different servers and also on different environments like DEV and PROD. How do we configure the CORS annotation?

    • @JavaInUse
      @JavaInUse  5 лет назад

      In the cross origin we specify the ip address of the server on which the angular code is deployed - @CrossOrigin("10.15.8.9")So only these IP address would be allowed.

  • @MouleeswaranBalaji
    @MouleeswaranBalaji 2 года назад

    one more doubt where this entered values are getting stored here? and how?

  • @muradhossain1473
    @muradhossain1473 4 года назад +1

    Thank you so much. This is a nice and easy step by step explained video. I follow the step and finally i'm able to run the project successfully.

  • @ismaeltj9
    @ismaeltj9 5 лет назад

    very good tutorial, simple, clear and work!

  • @mayurkandalkar3233
    @mayurkandalkar3233 3 года назад

    Thank you so much for this tutorial Sir!!

  • @georgenelson7891
    @georgenelson7891 4 года назад

    Thank you. But on "Delete Employee" click I am getting error 403. I assume it's a default security setting somewhere in spring boot. How to disable or surpass that?

  • @FreakyLifeinIndia
    @FreakyLifeinIndia 5 лет назад

    Thanks for this tutorial and for your code. It helps a lot in my Angular development. One suggestion for your website, you are creating 2 headers at a time. Please delete one from your website code. ^_^

  • @MouleeswaranBalaji
    @MouleeswaranBalaji 2 года назад

    hey bro it's working pakkka fyn and what i neeed is the same video how can we connect with a db in mysql and dynamically enter values using spring boot

  • @saurabhsuman4960
    @saurabhsuman4960 5 лет назад

    Thanks for this simplified and thorough explanation.

  • @MrSatishdon
    @MrSatishdon 4 года назад

    Hi, In employee.component.html file getting error with "Identifier 'name' is not defined. 'string' does not contain such a member
    " . Can you assist me , how to resolve it

  • @vikramhiramangore
    @vikramhiramangore Год назад

    When I tries to write the modifications in the employee.component.ts file, it shows for employees declaration - "Property 'employees' has no initializer and is not definitely assigned in the constructor.ts(2564)" and while taking argument "response" in "handleSuccessfulResponse" method it shows compile time error in the VSCode .
    employees variable ahows -"(property) EmployeeComponent.employees: Employee[]
    Property 'employees' has no initializer and is not definitely assigned in the constructor.ts(2564) "
    and "response" shows - "(parameter) response: any
    Parameter 'response' implicitly has an 'any' type.ts(7006)"
    so ng serve not works further.
    I'm using VSCode version 1.72.2

  • @blendaguedes
    @blendaguedes 5 лет назад

    Thank you so much! I hope I get the job because of you. 🤞

    • @JavaInUse
      @JavaInUse  5 лет назад

      Best of luck :). Also I am preparing a new series for angular 8 + spring boot ecommerce website. It has some more concepts. It is in development stage..but thought it might be helpful for you - www.javainuse.com/fullstack/ecommerce

  • @medaminebenkhemis277
    @medaminebenkhemis277 5 лет назад

    hi i have a project with angular 7 and spring boot i finish part of spring boot but i don't have how to work with angular 7 i need some help plss contact me

  • @HernisQ
    @HernisQ 5 лет назад

    When I go to /employees it keeps redirecting me to / and no message "employee works!" is ever shown, any ideas?

    • @JavaInUse
      @JavaInUse  5 лет назад +1

      open the chrome developer tool and in the console check if you get any exception when you go to /employees

    • @HernisQ
      @HernisQ 5 лет назад

      @@JavaInUse it says:
      Cannot match any routes. URL Segment: 'employees'
      Error: Cannot match any routes. URL Segment: 'employees'
      at ApplyRedirects.push../node_modules/@angular/router/fesm5/router.js.ApplyRedirects.noMatchError (router.js:2469)

    • @HernisQ
      @HernisQ 5 лет назад

      Also, it happens that the Angular welcome page shows and "employee works!" also shows, below the welcome message

    • @JavaInUse
      @JavaInUse  5 лет назад

      In the app-routing-module.ts did you specify following{ path:'employees', component: EmployeeComponent},

    • @HernisQ
      @HernisQ 5 лет назад

      @@JavaInUse I did, but it keeps overlaping "employee works!" with welcome page

  • @erickramones2167
    @erickramones2167 5 лет назад

    Hi, why do we need a hasCode method in Employee.java?

    • @JavaInUse
      @JavaInUse  5 лет назад

      I have added equals method, as in the next tutorial for performing CRUD operations they are required. You can remove the hashcode method.

    • @erickramones2167
      @erickramones2167 5 лет назад

      @@JavaInUse okay, thanks

  • @LegendColgo
    @LegendColgo 5 лет назад

    Thanks a lot, easy to follow, love that there are also articles attached.
    Subbed&Liked

  • @siyedyoussef3202
    @siyedyoussef3202 5 лет назад

    Great video as always 👍👍👍

    • @JavaInUse
      @JavaInUse  5 лет назад

      Thanks Siyed. As usual glad to help :)

  • @alokprajapati4504
    @alokprajapati4504 5 лет назад

    Hi,
    Very nice Vedio and in superb way you explained. I am new for Angular. Will you plz help from where u get Employee details. There is no any db so from where you get the details of employee..

  • @anmolmore6074
    @anmolmore6074 5 лет назад

    Nice explanation ........... one thing i noticed that you you are not using spring boot initializer .... why ?

    • @JavaInUse
      @JavaInUse  5 лет назад

      No Specific reason. May be I don't want to confuse beginners :)

  • @yaaseenbasit3255
    @yaaseenbasit3255 5 лет назад

    Thanks for sharing the tutorial.I have error .In chrome Browser localhost:8080/employees shows site cannot be reached.How to solve this error

    • @JavaInUse
      @JavaInUse  5 лет назад

      Hi Yaaseen. Very difficult to tell the issue with details you have shared.

  • @bskrksyp
    @bskrksyp 5 лет назад

    thanks for a quick tutorial

  • @payalkosbatwar3498
    @payalkosbatwar3498 5 лет назад

    The condition "u=>u!==employee" giving error as "this condition is always return true since the types 'string' and 'Employee' have no overlap.. Can u please provide solution to this?

    • @payalkosbatwar3498
      @payalkosbatwar3498 5 лет назад

      In employee.component.ts file

    • @saurabhsuman4960
      @saurabhsuman4960 5 лет назад

      @@payalkosbatwar3498 You need to change the employees array type from string to Employee. Look into "www.javainuse.com/spring/ang7-crud"

  • @DineshKumar-jx2dc
    @DineshKumar-jx2dc 4 года назад

    HttpClientModule is not quick fixing

  • @ebichu8126
    @ebichu8126 5 лет назад

    Great job!

  • @mishalray2309
    @mishalray2309 5 лет назад

    nice...make a video for login with angular,spring boot and mysql, in a simple steps

    • @JavaInUse
      @JavaInUse  5 лет назад +1

      Hi Mishal. You can have a look at www.javainuse.com/spring/ang7-jwt

  • @danchristophersaldariega4642
    @danchristophersaldariega4642 5 лет назад

    thank you this help me a lot in my project

  • @arpithas8090
    @arpithas8090 4 года назад

    Thank you :)

  • @TuNonSeiTu
    @TuNonSeiTu 5 лет назад

    nice, tutorial. Thank you