How To Make API Call From Angular To Node Express REST API

preview_player
Показать описание
#angular #RESTAPI #Express
In this video, you'll learn how to make REST API call from Angular to Node Express API. You'll see how to configure proxy to redirect calls from Angular to API server. You'll be make use of HttpClientModule to make API calls from Angular.
Рекомендации по теме
Комментарии
Автор

thank you, two days of anger was solved by 15 min vedio, god bless you

mahmoudtimoumi
Автор

i spent more than a week understanding how actually angular communicate with node today I finally understand what actually is happening behind the scene thankyou soo much for your support keep spread knowledge and love. peace

Himalayanfoodfusion
Автор

Thanks a lot sir..this video is very very helpful..you are great sir...!!!

pranjalhulge
Автор

Short and Clean .Thanks for the Guidance Bro

vikings
Автор

Your video is the great answer after many trouble hours. Thank a lot !
On my side, i had to delete the asterisk line 5 in proxy.conf.json, it prefers just "/api"

AlexandreOlivierLorret
Автор

Fabulous!, Thank you it was so very helpful for me.. Keep teaching us sir

abdulaziz
Автор

Hi this video really helped me to clear my confusion

darshankatti
Автор

really helpful but instead of passing proxy file via cmd if you configure angular project itself then it'd we more convenient.

mithileshchandra
Автор

Thank you very much man this was the solution I was looking for😊👌😁❤!!

uvindupathirana
Автор

The best video and it’s helped me a lot.... can I get clear video about by using CROS and environment file (base_url)

manikandan-zlki
Автор

Hello sir, I have an e commerce project with seperate angular and node js folder.... I have one question....in node js folder i have an index. Js file which includes code to connect with databse as well as the code to start to server....so should I write the code to integrate both angular and node js in the same file?

priyanshuraj
Автор

for Production you run Front End angular and Back end Node at different Server port like this??

BruceArmstrong
Автор

Hey bro, why are you zooming the screen for every line of code, we can see it man, even if you don't

harikrishna
Автор

Hey! I am starting with angular. I have to fetch data from postgresql. How can I do that?
Also, I have a home component and the data will be displayed on that page only. So whatever you are doing like creating services and importing HttpClient would be done in home component or app component only?

honestindian
Автор

Thanks, where can I see the source code for this session?

krishtest
Автор

Please stop Zooin the code, it is very distracting otherwise your video is very helpful.

urveshghelani
Автор

How do I do a post? Proxy doesnt seem to work there

jamesg
Автор

[HPM] Error occurred while trying to proxy request /getData from localhost:4200
rs_common_system_errors)
{

"/api/*" : {

"pathRewrite":{

"^/api": ""
}
}


}
i am try all this things but error not solved

DeepakSoni_
Автор

ng serve --proxy-config proxy.conf.json

noobprogrammer