Build a Node.js API in Under 30 Minutes12.7K127Scott DomesESAUL PARRA GARCIAFollowJul 24, 2017 · 1 min readGreat post! Is there a reason you did not use const port = process.env.PORT||8000; ?