I have created a Spring Boot Application wherein I need to consume this Web API with my client-side Angular 8 based architecture.
In modern browsers, I get CORS ISSUE WHEN I TRIED TO ACCESS THE SERVER SIDE URL DIRECTLY FROM ANGULAR APPLICATION. I am not getting like how to consume this web service when I get this error. How to get rid of Cors issue and build a production-ready code for my application with Java backend and Angular front end Application.
[EDIT] - The question might be broad but this can be termed as an knowledge perspective for people who are new to building a Java, Spring Boot and Angular Based Application.