Launch an Express API and a Vue frontend application in the same project.
Read this tutorial on how to run a Node server in the same project as an application written in Vue.
One tool that can help you achieve this is PM2, an Advanced, production process manager for Node.js.
PM2 is a process management tool to start, stop and monitor Node applications. You can check the documentation for a complete list of how to use pm2, but the most important commands are:
The sample code is available on Github which can help you launch an Express api and a Vue frontend application in the same project.
Created and submitted by @hfogelberg