Currently, I am developing a website utilizing react for the frontend and node.js for the backend. However, I'm unsure of how to deploy it to the live server. After conducting some research, I learned that I need to create a build folder. To provide a clearer picture, let me explain how my folders are set up. I have a main folder called "FRONTEND" where all the react code is stored, and right outside this FRONTEND folder, I have files like server.js, package.json, etc. Should I create separate build folders for the frontend and backend, or is there a way to merge them into one? Additionally, I am using nodemon to run both react and node.js concurrently. Any suggestions or guidance on this matter would be greatly appreciated.
Thank you for your assistance.