fullstack-hy2020 / part12-containers-applications

Application template to be used in the part 12 of Full Stack open
2 stars 291 forks source link

missing dotenv dependency from todo-backend #12

Open stolenmuppets opened 1 month ago

stolenmuppets commented 1 month ago

In todo-app/todo-backend/util/config.js, the first line uses process.env but package dotenv is missing from the file package.json

stolenmuppets commented 1 month ago

also need to add the line: require("dotenv").config() to the beginning of config.js