Angular + Spring Boot | Building a Web Application | @GET | Java Techie
HTML-код
- Опубликовано: 29 сен 2024
- This video explain you How to Build a Web Application with Spring Boot and Angular with Example | @GetMapping
#javatechie #Angular8
GitHub:
github.com/Jav...
Blogs:
javagyanmantra...
Facebook:
/ 919464521471923
Music: City_of_Jewels
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
just watching this i recalled the concept. thanx man.... subscribed
Man thank you so much i did my own project on shopping mall management but the frontend didnt take the backend which was working followed your steps and finished thanks and kudos to your yt journey 🎉
Can we give api gateway url here and does this work as same?
Yes it will work . no problem
im getting No serialize error in Spring boot
Check whether input fields are correct or not
In 18 minute You explain every concept and Easy to grasp
can you tell me how to convert jsp pages into angular ?
No shortcut available buddy it's all manual effort
Hahahaha i can't believe that's all we need to integrate the angular with the spring boot application!!!!! Amazing my friend. Thank you so much for this video. May God be with you brother. Congrats from Brazil
great lecture. one thing I think "this.books=" is not needed in book.component.ts file
69 comments +1
This is exactly what I'm looking for !! Thanks a lot.
By the way in case if I have to fetch the records based on I'd how I can append the id to the url
Just append it to url as it seems get api
Thank you for the video, very clear explanation!! 👍
I really liked the fact that you left the mistake @7:14, and the way you traced back to it later. It really teaches us how to face any unexpected issues we might face!
I can see the output in html , but i am getting following error in console , i guess its is because any datatype , pls help me, BTW Love ur videos, I love Java : )
.
.
core.js:4442 ERROR Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.
You must need to return either array or list to angular if you want to use ngFor
Thanks a lot ...My concept is clear... Excellent Work 🙏🏻👍🏻
Can you please provide springboot app used in this video? I have already check the git repo, but couldn't find this particular project. Please help
I am not sure whether I added this source code or not but it's just simple get endpoint .
Everything is good Basant but this new background music added it is too loud, please do not add for future videos, genuine feedback
hahA
You made it very easy !! Thanks Basant
I followed the steps.
But currently, I'm getting "Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables, such as Arrays."
Response from my API is visible in the console, but it's not visible on UI.
Response => {"pensionAmount":144000,"bankServiceCharge":500}
Hi
Nice videos to learn angular +spring boot
Can you please provide me alternative solution from anuglar for crossOrigin because i have many services and their code is freez so I can add annotations
Use config class and specify. Antmatchers
Great Explanation, by the way do u have the video where u have written the java code(spring boot)
Yes source code link mentioned in video description
This Guy is enough to learn ....all
Full stack.........
tht felt like a piece of pie 🥧 😀
Thank you for your efforts!
bro i have one fail can you please run it
please bro help to us
Error message please
perfect POC for Angular + Spring Boot basant bro.....waiting for next....
much needed video for me. thnk:)
Thank you so much sir🤗
Hi.. When I try to add the same I am. Getting error like...
Failed to reload...rest api URL.. No access-control-allow-origin header is present on the request resource..
I tried to Google it.. But its not working.. Can some one help me how to solve this??
Disable cross origin
@@Javatechie I have added cors origin in rest Api in spring boot.. Even though I am facing the same issue... Can u give me the link/video if u have how to resolve this... That will be helpful
@@vinodkumarreddy7696 please add below piece of code in main class and try @Bean
public WebMvcConfigurer corsConfigurer() {
return new WebMvcConfigurerAdapter() {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**").allowedMethods("GET", "POST", "PUT", "DELETE").allowedOrigins("*")
.allowedHeaders("*");
}
};
}
@@Javatechie Thank you so much..🙏🙏 Now I can able to view the results..
Cool 🥰 , few days back I faced this that's why remember the solution 🤪
Very nicely explained video sir. Thank you so much :)
Thank you so much!
sir i don't have spring boot then how to use that URL.
Don't you have spring boot application with you , could you please download it from my GitHub (link mentioned in video description)
You are truly genius...
Nice integration and nice explanation.Appreciate your help.
It would be more than convinient if you add a github repo for initial setup of that Springboot project.
I agree
Hi,
I have been going through your videos and been a big fan of you within few days. Your amazing skills and your way of giving examples for a given concept is very unique.
From past couple of projects, i have been struggling to get a single deployable (war) for application built with Angular on front end and Spring on backend. Right now we have two different projects one for spring and one for angular and the build script first builds the angular project and copies the output files to the webapps/static folder in the spring backend project and then build that project.
Is there a easier way to achieve this? Is there a standard way to have angular and spring projects developed and built as one project and deployed as a single war file to an external server (tomcat, jboss, etc)?
I appreciate your time in reading and replying.
Thank you very much. It really helped me a lot.
How can I get the backend code?
It's there in video description
Thank u so much
Thnks🙏
Thank you
what we have to take in application.properties file
You can specify server.port similarly add whatever you need to use .
Please follow the steps as it is .
very nice sir
Excellent!!!
Great job 👍👍👍👍
direct code i am not getting link
@javatechie can u give link for the book rest api
Hi Shruti , very simple example just give a try once
Definitely I will share today
@@Javatechie sir spring-boot-hibernate-mysql vala jo btaya tha apne usme getAll method chl gya h , sari entries a rhi h database se but mujhe post option sikhna h mainly to get data from user write into database...... So i request u to make a video on post request also in angular 8 , i have studied spring boot from your tutorial only to hibernate use krke database me CRUD perform krna a gya h plzz age kaise kre? form me data lekr json se post krna jo kam apne postman se sikhaya tha
@@Javatechie i did it was easy but am not able to do post , i continued with the same example that u taught in spring boot+hibernate+mysql
Hi @@shrutirajpoot6310 I really appreciate your interest to learn
Yes post method I didn't cover yet as I need to cover few basic before we move to post
Like custom pipe , route , style . So wait for couple of day definitely I will do video on crud operation using angular and spring boot
@@Javatechie i will be waiting for that sir
build??
Didn't get you
CORS
please add this video