Discussion on: How to build a URL Shortener like bitly or shorturl using Node.js

eruizdechavez profile image
Erick Ruiz de Chavez

I use it a lot and it is very portable, specially when deploying your code to Docker images, or cloud services. I also use dotenv for my local development and I do not even need to include it in my source code; I just install dotenv as a devDependency and then start my local server with node -r dotenv/config myfile.js, that -r automatically requires your module.


Thread Thread
sachinsarawgi profile image
Sachin Sarawgi Author

Thanks for mentioning the required steps.... I will update the code