Ideally NextJs code runs on a different port 3000. Can we have NextJS code clubbed in Springboot executable Jar /WAR (embedded Tomcat) which runs on default port 8080, and make the clubbed application jar/war run on single port?
Just want to highlight, React JS can be clubbed with Springboot , whereas NextJS I am no sure.