I've written a small SPA app using Angular 2 on the frontend & NodeJS for the backend
I started both backend & frontend on my computer (http://localhost:3000 & http://localhost:4200)
When Angular tries to get data from backend rises an error:
XMLHttpRequest cannot load http://localhost:3000/mailboxes. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.
EXCEPTION: Uncaught (in promise): 0 - {"isTrusted":true} ...
How to make this work?