To self host Express.js along with Angular app

I am using an Angular 10 application, and there are certain server-side operations that I need to perform. To handle these operations, I am using Express.js. When I host my Angular app on an IIS server, I do not want to host my Node.js server within IIS. Currently, in my local development environment, I run “node server/mynode.js” alongside “ng serve” to handle server operations, and it works well. However, I’m unsure of how to configure Express.js to handle server requests from the Angular app without hosting it in IIS. Can any expert provide guidance on this matter?

Leave a Comment