What is the best approach for MERN production app structure ?

View other answers to this thread
mcbobby madu's photo

Separate your front end from your back end Unless you are using next.js. Don't use variables in your code create constants.js in every file and store your variables there then you can import to your code. Use prettier and lint for cleaner code. The list goes on and on