4 Commits (b4dbd8ce86dbac0b64eb0ac2b6d1815571fa37da)

Author SHA1 Message Date
Tajeddine Alaoui b4dbd8ce86
fix: add port fallback (#23)
Add fallback to port 3000, if PORT in env is not defined
2 years ago
Zaid Ali 38d1c3b9f6
fix: add dotenv package for environment (#18)
* Added "dotenv" dependency to package.json

Since the project is using .env file for fetching the port, it had no "dotenv" dependency. This creates confusion when "process.env.PORT" doesn't work. I hope this is convenient for beginners 👍

* Update server.js

Added a line to import `dotenv` dependency to server.js.

* Update package-lock.json

I have added the dotenv dependency to package-lock.json file as requested. I hope it's good now
3 years ago
Ihsan Topaloglu ad618b45b1
Corrected CORS configuration option 4 years ago
System e5bf4cdcca Initial commit from Gomix. 7 years ago