Setting up a server in a company is not as easy as I imagined.
In this project development, the planning team had a requirement to dynamically update the data by calling APIs on the previously static Landing Page. Additionally, as the interactivity of the page increased, the original combination of pug+webpack+jQuery for static pages was no longer sufficient. Therefore, we introduced next.js in the development of the new version and embarked on a journey of server setup and troubleshooting.