Vue and Spring Boot projects for production – Learning Lessons

Recently, my team and I faced a couple of issues when shipping our product into production. These are the problems we faced and how we circumvented them:

Vue-in-production

  1. Unable to call http REST API from https hosted Vue project
    Frontend (Vue):
    Backend (Spring Boot): Our Vue frontend app tried to make a backend Spring Boot API call that was served on “http”. The same-origin policy restricts how…