we are moving from jQuery and ASP.NET MVC 5 to Angular 1.6 + Node.js Express application. We are going to use this boilerplate to start our frontend code.
When we are developing the frontend, we are using gulp to launch all task (compile .sass, .js, etc.), and the watch task web is listening in the port 3000 in localhost.
We want to implement now our backend API using a new project in Express.js, but the backend is using a different port, and we have a problem with CORS. We can solve this problem enabling the CORS in the backed (like this).
And my question is... how can I put together the backend and the frontend in development to achieve a logic like when you are working in a normal MVC application? How can we use some views from Express.js (Jade) to improve the SEO and don't use in this case Angular for this view?
We have check megaboilerplate, and we have check that they have Express.js together with AngularJS, but we would like to make use of the original boilerplate project gulp task (ES6, Browserify, etc.).
Thanks!!