Spring Boot + Angular 8 CRUD Example | Spring Data | Java Techie

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • This video explain you how to develop a CRUD (Create, Read, Update, Delete) Web Application using Angular 8 as a front-end and Spring boot 2 restful API as a back-end.
    #javatechie #SpringBoot #Angular 8
    Angular Playlist :
    • Angular For Beginners ...
    GitHub:
    github.com/Jav...
    Blogs:
    javagyanmantra...
    Facebook:
    / 919464521471923
    guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
    Disclaimer/Policy:
    --------------------------------
    Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account

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

  • @keys3340
    @keys3340 3 года назад +1

    Bro that " OK " of yours always gives me Chills .... thank you for this tutorial

  • @eliyassala3505
    @eliyassala3505 2 года назад +6

    This is exactly what I was looking for. Great tutorial on Angular and Springboot.

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

      have you done update functionality to this??

  • @sreenivas9082
    @sreenivas9082 3 года назад +5

    Simplified way of explanation and easy to understand, it is helpful Thank you!!!

  • @universeboss4865
    @universeboss4865 4 года назад +6

    One of the best tutorial I have ever gone through😍

  • @Stareque
    @Stareque 2 месяца назад +1

    This is a very good tutorial, easy to understand. It will be helpful if there is a multi micro services.

  • @shrutirajpoot6310
    @shrutirajpoot6310 4 года назад +5

    thanks for releasing this video ,waiting for more in angular8 and spring boot

  • @chetansharma168
    @chetansharma168 4 года назад +3

    Great headstart for a quick overview front end backend integration.. Good work

  • @amalabdullah8502
    @amalabdullah8502 3 года назад +2

    Thank you for your explaination ...i thought its difficult but it looks easier than what i am thinking of...Best Of luck

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

    I like this series so much. It helped me lot to learn angular. Best series for backend developer.

  • @ananyaujire6381
    @ananyaujire6381 3 года назад +2

    Wonderful explanation sir..i have learnt lot of things from this channel.

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

      Good to hear this Ananya . keep learning

  • @dskundan
    @dskundan 3 года назад +2

    Excellent ..Super presentation and examples used.. Thank you!!

  • @brave111111
    @brave111111 Год назад +1

    Great end to end tutorials

  • @blueicetiger3987
    @blueicetiger3987 3 года назад +1

    thanks for your tutorial, I got troubled on configuring but still solved it so I got the app up and running on my local.

  • @rameshd8436
    @rameshd8436 Год назад +1

    Really nice contents very useful

  • @charankumar6942
    @charankumar6942 5 лет назад +3

    Good information sir...thank you so much for uploading .
    I am learning a lot from your videos

  • @amitk5124
    @amitk5124 4 года назад +4

    @Java Techie The user.ts class just has a constructor with no class members in it ( pardon me for Java terminology ). I was not able to execute your code 'cos the compiler was throwing and error at registration.component.html stating that name ( and others) property is not identified for User type. When I added the missing class members in user.ts the code works fine.

  • @suvendugorain8783
    @suvendugorain8783 2 года назад +1

    Thank you so much for this tutorial.. it helped me a lot.🙏

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

    when i click on delete the page doesn't automatically refreshes but i manually have to refresh the page to see the changes and also the search is not working well
    oh sorry... my bad ... i didn't subscribe to the data properly
    now it works like a charm
    Great and Simplest tutorial , thanks

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

      From ngOnInit() did you call getAll() method as I wrote .
      Search should work please inspect it and verify request is going or not

  • @tanveersyed1049
    @tanveersyed1049 5 лет назад +4

    wow ...sir am new subscriber after watching this I feel i want to angular ....pls upload more videos ...

  • @rushikeshvaidya512
    @rushikeshvaidya512 4 года назад +2

    1.has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    2.net::ERR_FAILED
    3.HttpErrorResponse {headers: HttpHeaders, status: 0, statusText: "Unknown Error", url: "localhost/Voting/api/addUser", ok: false, …}

  • @N.KhanSaab
    @N.KhanSaab 3 года назад +2

    Buddy how you could be putting so hard? I really appreciate your time and hard work :) God bless you brother.

  • @prachitiwari1629
    @prachitiwari1629 2 года назад +1

    thankyou for the best explanation 🙏

  • @parthec1
    @parthec1 2 года назад +1

    Thank you soo much for awsome tutorial,,,

  • @emirzmen
    @emirzmen 2 года назад +1

    Thanks very helpfull

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

    great tutorial gets u up to speed. althpugh i was never able to work my dleete out. the ids never show up on the webpage and delete functionality doesnt work. not sure why. :(

  • @nithyap6131
    @nithyap6131 3 года назад +2

    Hi .. I seen this is great to understand HTTP in angular and crud too.. I will check rest of your videos ..it's crystal clear.. If you have any angular training please let me know ..

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

      Hi please checkout my angular playlist .

  • @johnabraham658
    @johnabraham658 3 года назад +2

    Great Job, appreciated and very helful for me to know CRUD operaton is performed in Angular

  • @idanqwe1
    @idanqwe1 4 года назад +6

    Awesome tutorial! Thank you.

  • @adityajaiswal5603
    @adityajaiswal5603 11 месяцев назад +1

    Awesome

  • @saishankar8888
    @saishankar8888 3 года назад +2

    Your videos are very much useful..can you make video on COVID vaccination management project using spring boot and angular ...it would be a great help for me..thanks in advance

    • @Javatechie
      @Javatechie  3 года назад +1

      Awesome idea man , I never thought this let me give a try

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

      @@Javatechie Thanks a lot sir

  • @vivekrawant885
    @vivekrawant885 3 года назад +1

    It was really very helpful

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

    Great video Sir 👍👍👍

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

    talking about backend code , their is no need of service interface and its implementation ????
    bcos i havnt get code for service and its implementation ,plss explain asap, bty video is osm ,very helpful....

  • @rajeshkumarramachandran6883
    @rajeshkumarramachandran6883 3 года назад +1

    Best explanation

  • @daniellaerachannel
    @daniellaerachannel 5 лет назад +2

    excellent video

  • @ashwinkumar504
    @ashwinkumar504 4 года назад +2

    Good job thanks for the upload

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

    Can u please respond soon... because I'm trying to replicate the same thing which u have done in this video so that I can understand better... I was searching for this kind of video I got it... it is very beautifully explained I understand better from this video.

  • @ykumaraswami3192
    @ykumaraswami3192 3 года назад +1

    your like god

  • @sanketthengrajput258
    @sanketthengrajput258 2 года назад +1

    @
    Java Techie
    for me getting response from the bakend but on UI it is not binding for the findByEmail

  • @amarjeetyadav1558
    @amarjeetyadav1558 11 месяцев назад

    I am not able to use Object property in the html page, it is showing giving me error Property name does not exist on the component, any help please

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

    Excellent tutorial for beginners SPRINGBOOT+ANGULAR+MYSQL !!
    If we use Spring Cloud (Config Server + Service Registry + ELK) Microservices, possible to call Service-Name from the registry instead of hardcode the RESTful API?
    Kudos !!

  • @huizhao2050
    @huizhao2050 3 года назад +2

    Hi, thanks for your video. One question. In spring boot, the base url is localhost:9090. Then you use it in angular. My question if you don't hard code it, how can you pass it from spring boot to angular? The base url maybe dynamically changed.

    • @Javatechie
      @Javatechie  3 года назад +1

      You need to configure in some central place to avoid this .
      Example you can use vault , consul

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

    Useful video on angular, Please upload few more videos on angular

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

      User object is not recognizing.. Anyone suggest me on this

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

      Did you save all your files before run start server

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

      @@Javatechie Thank you it's working.. It's just an awesome session. Please upload multiple videos on spring batch

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

    getting earror in component.html that name does not exit on type registrationCompnents

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

    Great video (as usual).. but why no more on the back end. You are only showing the rest controller class. You didn't show any of your lower level implementation.
    BTW, keep it up! You are quickly becoming one of my favorite youtubers.

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

      Thank you Nate ,
      Here I focous more on controller because it will easy for viewers to understand how client can communicate with server .

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

      @@Javatechie I understand.

  • @RanjitKumar-qq3td
    @RanjitKumar-qq3td 4 года назад +2

    Hi Sir, We had some security issues in Spring Security like avoiding multiple logins, session time out, browser incompatibility, XSS protection, and SQL injection. How to solve those issues in Angular. if possible plz make a video on the above things sir. It will be much useful to integrate angular and spring boot. Thanks in advance sir.

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

      Please do let me know your exact scenario so that I can plan accordingly

  • @priyagade8788
    @priyagade8788 3 года назад +2

    Thank you😊

  • @GlennMartin
    @GlennMartin 4 года назад +2

    Nice tutorial Java Techie!!!
    One question, how do you run this in production? shouldn't there be a build command which builds the angular and dumps the JS files into the spring boot resources folder for spring boot to pick up?

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

      Yes in production we shouldn't use this codebase
      We need to generate prod build then it will generate dist folder with all compiled files

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

      Java Techie ah ok thought so. Any guides on how to do this? Or is it the same as with react bundle.js?

  • @kevinrodrigues957
    @kevinrodrigues957 3 года назад +1

    I want to integrate my Angular with Spring Boot, but not use any JpaRepository or CrudRepository. I do not want to save or do anything related to database, just merge the Angular UI with Spring backend. Can anyone help me what do I need to do ?

    • @Javatechie
      @Javatechie  3 года назад +1

      You can refer same example just avoid writing persistent layer

  • @AllInOne_9062
    @AllInOne_9062 2 года назад +1

    facing error like property domain,experience,name does not exist on type User.What to do please help anyone

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

      There are small syntactical changes in upper angular 8 version just add ! Before datatype of each variable in ts file

  • @shivanagendra5343
    @shivanagendra5343 3 года назад +2

    super Bro

  • @unemployedcse3514
    @unemployedcse3514 2 года назад +1

    Awesome 💞

  • @teratoma.
    @teratoma. 3 года назад

    intro track is a banger

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

    Hi,
    for this line , i don't want to use click action, i want to use an action onchange ,should i use Pipe filter or there is another action instead of click ?
    Thanks

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

      Hi Ninoos , pipes can be only applicable in attribute level
      Onclick and onchange used to trigger an event

  • @devyanshgoyal9228
    @devyanshgoyal9228 4 года назад +2

    @Java Techie, how to pass a single value like how to pass only the name from the complete object 'user' in the angular service. I have my complete 'user' being passed as an argument. How to get only the first name in method body?

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

      As part of request you want to send only name instead of User obj right?

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

      @@Javatechie Yes but the method argument remains same i.e. user. But I want to pass only user name that is stored in user object using form.

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

      @@devyanshgoyal9228 can we connect through TeamViewer else share your code in GitHub so that I can check it out

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

      @@Javatechie I will share the link of github. Please check and revert.

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

    excellent , thanks for this vidoe

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

    excellent

  • @riyazullakhan2698
    @riyazullakhan2698 2 года назад +1

    hello sir i have a question if our spring boot application i am using 2 pathvariable in getmapping url so how can call this in angular
    please let me know how can create this .

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

      In HttpClient you need to append two parameters like below
      localhost:8080/users/{field1}/{field2}

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

    hi
    I am facing this issue while using [(ngModel)]
    localhost/:1 Refused to load the image 'localhost:4200/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
    please help

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

    Spring not use in intelliJ community?

  • @abhigyanamkumar3243
    @abhigyanamkumar3243 3 года назад +1

    Thanks brother

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

    Nice tuto! Thanks!

  • @sakshishelar6683
    @sakshishelar6683 2 года назад +1

    hey thanks for thsi video i am not able to import {User} statment please help me asap

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

      Manually add it in import then

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

    Can you also put a tutorial for the spring boot part?? Can you also explain what is the postman? I am really new to these concepts.

  • @knivas7898
    @knivas7898 Год назад +1

    In my backend code find by email isn't working the rest are working fine.. can u tell me what to do?
    This was the code i had written:
    @GetMapping("users/{username}")
    public List findUserbyUsername(@PathVariable String username)
    {
    return b_repository.findByUsername(username);
    }
    the error thrown was Failed to convert value of type 'java.lang.String' to required type 'int'; For input string: "RUclips"

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

      Check the data type of username in your entity class also verify your repository class data type

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

    i had two problems here, one is with delete, Access to XMLHttpRequest at 'localhost:8080/cancel/1' from origin 'localhost:4200' has been blocked by CORS policy:
    solution : instead@DeleteMapping use @GetMapping. and in user.ts class you should use public name:string,
    public ....etc

  • @prateeknima3388
    @prateeknima3388 4 года назад +2

    Hi,
    First of all I would like to thank you for this tutorial. I am facing a issue while using [(ngModel)] in the html file but its working completely fine with ng-model. Could you please let me know the reason for it?

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

      What error you are getting can you please mention that

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

      @@Javatechie localhost/:1 Refused to load the image 'localhost:4200/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

  • @858Bikash
    @858Bikash 3 года назад +1

    Hello basant bhai i have one doubt we are mentioning selector name of a component as a html tag in aap.component.html .but when we have multiple component then how can we mention the selector name in aap.component.html. see for example we have two component registration and search ...for registration i want to view register page separately and for search i want to view search page separately ...so please help me to solve this problem.

    • @Javatechie
      @Javatechie  3 года назад +1

      We can add multiple selector otherwise you can use router

    • @858Bikash
      @858Bikash 3 года назад +1

      Yes actually I removed router-outlet tag from app.component.html...thanks for your help

  • @kanjirathunkaljohnson2422
    @kanjirathunkaljohnson2422 4 года назад +2

    Hello,
    First of all I would like to thank you for the wonderful application. I am facing some issue while implementing [(ngModel)] in the html file . Could you let me know the reason for it? Here I have attached the details. Angular cli version 10.0.7 and error code is error TS2339: Property 'name' does not exist on type 'Product'. (Product is a class in angular and name is a property in the class like user and name in your application).

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

      NgModel is used to perform 2 way data binding
      Basically form input I want to bind into Product.ts object .
      So I believe your error because you didn't save your file .

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

      Java Techie
      Thanks for the quick reply. I copied your code as it is . I am using angular cli 10.0.7 while running I am getting error in HTML page (user.name . Etc..) i saved the file but still I am getting the same error . If you can give me solution it would be very helpful for me.

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

      @@kanjirathunkaljohnson2422 please send complete error message to javatechie4u@gmail.com I will cg🔥 this out

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

      Java Techie
      Will do it today

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

      Could you check your email

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

    Master!

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

    Hey , Once i send post request using postman, save Null value for all fields. why ?

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

      Are you getting this exception in backend if yes then please verify your json request attribute name should be same as your variable name

  • @sandhyaaa24
    @sandhyaaa24 5 лет назад +4

    where is java code its not in github repository????

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

      Yes it's there please check with name "registration-service"

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

    Access to XMLHttpRequest at 'localhost:9191/api/addProduct' from origin 'localhost:4200' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Help me

  • @DeepakKumar-kz5dz
    @DeepakKumar-kz5dz 4 года назад +1

    I have written angular in visual Studio and spring boot in eclipse. Now how could I run angular ui on localhost of spring boot means 8080 port instead of localhost:4200

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

      Even I want to know that, I am searching from while and I came to this tutorial to understand but he didn't show hear

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

      @
      Java Techie If possible please give us a link to know how to access angular UI from springboot server

    • @DeepakKumar-kz5dz
      @DeepakKumar-kz5dz 4 года назад +1

      @@RajeshHatwar I solved it... I can help u if needed

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

      @@DeepakKumar-kz5dz thank you very much Deepak, but I have done this with the help of my friend. Thanks for your reply.

    • @DeepakKumar-kz5dz
      @DeepakKumar-kz5dz 4 года назад +1

      @@RajeshHatwar ok.. No issue

  • @RafaelNascimento-qo1jp
    @RafaelNascimento-qo1jp 4 года назад +2

    Hi! I'm a java developer and new on Fron-End, how do I deploy that angular application? Could I deploy it in the same server I deployed my BE application?

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

      Already I uploaded how to deploy in pcf just have a look

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

      can you please mention the video name for the same.

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

      Deploy angular application in pivotal cloud foundry

  • @thinkstackdeveloper
    @thinkstackdeveloper 2 года назад +1

    All Data return null what should i do please tell i used getter and setter but still same issue

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

      Configure lombok in your ide

    • @thinkstackdeveloper
      @thinkstackdeveloper 2 года назад +1

      @@Javatechie Thanks a lot you saved my life. God gives you more and more what you want to achieve in life and make your family life Healthy. This is my wish from my side.

    • @Javatechie
      @Javatechie  2 года назад +1

      Thank you so much for your word buddy 😊

    • @thinkstackdeveloper
      @thinkstackdeveloper 2 года назад +1

      @@Javatechie Hello sir i tried to changed the attribute name in database and in eclipse user. Java file but it will not show the output of all attribute after changing name
      What should i do?

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

      Where did you change in entity class ?

  • @thinkstackdeveloper
    @thinkstackdeveloper 2 года назад +1

    Give me next tutorial link of this video

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

    please upload more videos sir

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

    Hi Java Techie,when i use put method its updated only empty values i can't identify where the issue @spring boot or @angular here my code please help me out in this issue -service- public up(id :any,user : Employee){
    return this.http.put("localhost:8080/update/"+user.id,user,{responseType:'text' as 'json'})
    }-up_compon-public up(){
    let respo= this.serv.up(this.user.id,this.user);
    respo.subscribe((data)=>this.message=data);
    }
    private _user: Employee = new Employee();
    public get user(): Employee {
    return this._user;
    }
    public set user(value: Employee) {
    this._user = value;
    }
    And when I check with postman update works fine

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

      Add logger in your controler method to verify value coming from client or not
      Else directly debug it

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

      @@Javatechie direct debugging

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

    Hi, I got below error . I created emp Object in registration.ts file
    src/app/empregistration/empregistration.component.html:40:91 - error TS2339: Property 'domain' does not exist on type 'Emp'.
    40

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

      Why emp.domain why can't you pass directly attribute name i.e domain?

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

      @@Javatechie You paased the value as user.name,user.domain right. same I created ngmodel and emp object like below code
      here I am using Angular 9

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

      @@Javatechie We need to set values to emp object then pass that object to http request. So, we mention like emp.domain ..etc

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

      Please save all your files before you start ng server .
      May be HTML file not saved 🤔

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

      @@Javatechie All files saved and I mentioned all fields in user.ts file

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

    I GOT this issue Once i send post request using postman, save Null value for all fields. why ?

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

      Your attribute name should be same in both server and client application

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

      @@Javatechie i given same but still i get null insertions

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

      Debug your backend code and see what value you are getting from client

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

    Parameter 'user' implicitly has an 'any' type., how to resolve this error?

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

    Hi.. I have cloned the code from GitHub as a maven project into eclipse. But the problem is front end code is not imported only back code is imported into eclipse. Can you please help me on this.

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

      Front end code better to import in visual studio , not in eclipse

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

      @@Javatechie Don't we have any other way to use this code through eclipse

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

      @@sruthiselva6958 yes we can do it in eclipse as well , could you please Google it I never tried

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

    I got the frontend code through GitHub but where to find the backend Code ??? can u please share the backend code which u have used in this video.???

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

      Hi backend code is available in same repository please check

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

      Yeah Got it. Thank u soo much

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

    Thank you

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

    app.component.css is missing in the repo .. Please reupload

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

    Hi, your tutorial is good, where is githublink for spring-boot application which you shown in the video ??

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

      Thanks man , it's mentioned in video description

  • @naveen.kocherla
    @naveen.kocherla 4 года назад +1

    instead of port 4200, how can we make all those APIs to work on port 8080?

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

      You need to allow cross origin for all URL

  • @SathishKumar-ys2xm
    @SathishKumar-ys2xm 2 года назад

    Hi it's great video. I have some doubt in service class. In this tutorial you have used user argument when write register method but that user argument not declared why ? Where from angular fetch that user argument in the post method

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

      Are you taking about backend or frontend

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

    Hi Basanth, Can you please share the video if any you already have for the registration service DB connection setup. Also any free SQL DB we can download and use it in local setup is needed. Thanks in Advance!
    Appreciate your efforts on the Angular and Spring boot courses you did so for. Its excellent.

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

      Thank you Rajesh , yes DB connection code is there in GitHub link please check in video description

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

      @@Javatechie ​ Java Techie ​I downloaded the code and trying to execute the same but i am getting below error. Can you help me on this please?
      The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
      at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.15.jar:8.0.15]
      at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.15.jar:8.0.15]
      at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.15.jar:8.0.15]
      at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:455) ~[mysql-connector-java-8.0.15.jar:8.0.15]
      a

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

    I am getting error in ngmodel in html file

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

    Nice basant but you have not used any observable in service class??

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

      No I subscribe it in component.ts

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

    @java Techie
    I'm getting an error like this please help me out
    Access to XMLHttpRequest at 'localhost:8086/springproject/addcustomer' from origin 'localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

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

      You need to enable cross origin

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

      Add this piece of code in your config class or main class
      @Bean
      public WebMvcConfigurer corsConfigurer() {
      return new WebMvcConfigurerAdapter() {
      @Override
      public void addCorsMappings(CorsRegistry registry) {
      registry.addMapping("/**").allowedMethods("GET", "POST", "PUT", "DELETE").allowedOrigins("*")
      .allowedHeaders("*");
      }
      };
      }

  • @DeepakKumar-kz5dz
    @DeepakKumar-kz5dz 4 года назад +1

    @crossorigin annotation not working... Cannot be resole to a type error... Please help me out

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

      When you are getting this error ? From backend ?
      Kindly check my source code and compare it

    • @DeepakKumar-kz5dz
      @DeepakKumar-kz5dz 4 года назад

      @@Javatechie actually I have already a spring boot project which runs with jsp...i m trying to make angular backend class in same project... Is it possible if yes then I m getting above error

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

      Did you enabled cross origin in your Spring boot project

    • @DeepakKumar-kz5dz
      @DeepakKumar-kz5dz 4 года назад

      How to do that?

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

    Hi Basant when I am trying to call register api from angular it gives this error : Access to XMLHttpRequest at 'localhost:8080/user-api/register[object%20Object]' from origin 'localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    I have added @CrossOrigin(origins = "*") also in the rest controller

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

      Mine was getting blocked because for the delete request I was using return this.http.get("localhost:9090/UserRegisterAPI/cancel/"+id);
      instead of
      return this.http.delete("localhost:9090/UserRegisterAPI/cancel/"+id);

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

      How get method will work for delete?

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

    How to get date value from input type date and send it to server in angular 8 plz explain

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

      Use @JsonFormat in backend and from angular send it as a string

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

      @@Javatechie i m new bro plz make a video on that

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

    When I'm clicking the Register button it is not showing anything, I have checked the code it's the same as everything.

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

      Please add console.log() to check register () method is invoking or not

    • @shubhamnavghare1937
      @shubhamnavghare1937 3 года назад +1

      @@Javatechie I got the error. Now it's working

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

      @@shubhamnavghare1937 can you please tell me how is it fixed?

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

    Hi Bhayya,i have found in GIThub only boot code ,i did not find angular code.

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

      Brother it's there please check once again

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

      @@Javatechie but i unable import angular project
      ,ur teaching is amzing

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

      @@Javatechie i am new angular js please help me bhayya for this

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

    what application you used to configure the request body in the beginning of the video?

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

    hello Can I get update operation for the same angular app