I have a Front end application that runs on http:// localhost:4200 , with angular 2 (I used angular-cli to create the project).
The application works without problems (I can receive and send information from / to the database using the angular 2 Http :
getList () { return this._http.get("http:// localhost:8080/").map(res => res.json()); }
On the other hand, I have a Back end application running spring boot on http:// localhost:8080/ (note the ports) that provide REST Api for my angular 2 application.
Sending requests from http://localhost:4200/ to http://localhost:8080/ works as expected.
Before I programmed the application with the spring framework, and the angularJS 1 function, spring took care of the login and security in the same application (maven project).
Now I have two separate applications that communicate via Http (RESTful Api with spring boot and Api frontend with angular 2)
How can I set my registration form and where to place it, and how to configure spring security with my angular 2 application?
source share