Closed baibhavkumarpoudel closed 3 years ago
You only need dotenv if you are going to be using the env file (for example in the app.listen(process.env.PORT)
, to make things simple I suggest just getting rid of it and hard coding the port in (ie app.listen(3000)
. If you are using a third party api that is paid and need to keep your api key secret we can chat about that, but if not then I'd say skip it for now.