Saturday 3 June 2017

How to run node express js server and angular 2 on same port

I am new nodejs and angular2. I need to know whether, Is it possible to run node express app serving as a backend and angular which serve as a frontend on same port. I followed Angular Quickstart tips on angular.io and created nodejs todo application but both are running on different port which raises the issue of Cross Origin Request Blocked Issue.

Please assist me. Your help be valuable.

Thanks



via Swapnil Deo

No comments:

Post a Comment