deploy angular app on node server

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 18

  • @NADXUS
    @NADXUS 3 ปีที่แล้ว +3

    Thank you very much friend, you helped me in a project that I had to deliver, you are a great and you deserve the best, greetings

  • @sainathjangewad6101
    @sainathjangewad6101 ปีที่แล้ว +1

    Angular routing Is not working . Is there any solution for this ?

  • @rockingdudes1
    @rockingdudes1 2 ปีที่แล้ว +1

    Hi great video ... Please can you let me know if you have video for other way round.deploy node js on Angular... So when angular component Htmll -> it shows index.html from node server. Thank you in advance.

  • @RavinathFernando
    @RavinathFernando 3 ปีที่แล้ว +1

    Thanks you save my time 💞

  • @tarundudeja927
    @tarundudeja927 3 ปีที่แล้ว +1

    How we can run on https with the same?

  • @sourabhambarshetti7290
    @sourabhambarshetti7290 4 ปีที่แล้ว

    what should be the baseURL port point nodejs port in the angular service Http can u please suggest me.

    • @programmingwithkarthik1472
      @programmingwithkarthik1472  4 ปีที่แล้ว

      No need to mention it if it is 8080. If running node in any other port.mention the same in httpService
      Node server: localhost:8081
      http.get("localhost:8081/")

  • @abidtkg
    @abidtkg 4 ปีที่แล้ว

    Is this work in angular routing?
    domainName/services
    domainName/about
    node have own routing angular have too. I've angular routing how can I use in node?

    • @programmingwithkarthik1472
      @programmingwithkarthik1472  4 ปีที่แล้ว

      Got your question.I also had the same issue.From angular you need to prefix it "#" instead of "/" when you go a new component.There is a easy way to do it .Let you now when i find it.

    • @programmingwithkarthik1472
      @programmingwithkarthik1472  4 ปีที่แล้ว +1

      Can you use this RouterModule.forRoot(appRoutes, { onSameUrlNavigation: 'reload' }) in app modules import.

    • @miftakhulhudha3551
      @miftakhulhudha3551 4 ปีที่แล้ว

      in my case, the routing in angular doesn't work because of an error in authgurad,
      authguard requires the api call, but when angular processes the routing, the data has not yet been received, so angular cannot process the route

  • @shivakumarshirke6625
    @shivakumarshirke6625 4 ปีที่แล้ว

    Can we call api methods from angular application to nodejs server