Hello there guys
I have my wep app project with rest
servlet all http requests working good - the Backend Project,
Also i developed also an Frontend project with
angular 2 My main question is how to make them work together?
A.should i get them work on the same server? if it is the answer how exactly ? cannot deploy an angular2 app with non workable node.js dependencies... or is there another way?
B.should i get them work sepratly run
Tomcat on The server and deploy another server on angular 2 so how i make http requests , tried Cors filter and does not let me do all the http requests and i lose the authentucation filter.
***An important note****
My app contains a login page for the user so there must be post requests working , and some authentucation from back end or front end app