SE701-T5 / Backend

Heroku deployed Node.js backend server developed by Team-5 for the UniForum project associated with the University of Auckland SOFTENG 701 course
https://uni-forum.herokuapp.com/
MIT License
2 stars 18 forks source link

Fix package.json for Heroku Deployment #67

Closed R055A closed 2 years ago

R055A commented 2 years ago

Reverts SE701-T5/Backend#66

Sorry, I just realized the mistake that I made.

The fix involves changing the package.json file from:

"start": "nodemon server.js" 

to

"start": "node server.js",
"dev": "nodemon server.js"

This is because the .yml file for the Heroku deployment uses the command:

procfile: "web: npm start"