DEV Community

Discussion on: How to create a simple and beautiful chat with MongoDB, Express, React and Node.js (MERN stack)

Collapse
dineshigdd profile image
Daminda Dinesh W Imaduwa Gamage

Why do you need a Procfile in your file structure?
inside Procfile, web: node server/index.js.
Is it only for development? Does this file use when deploying the app?

Collapse
armelpingault profile image
Armel Author

Hi, it's used by Heroku: devcenter.heroku.com/articles/proc...