Entries by Alex

Setting up HTTPS in Node.js with Let’s Encrypt

Note: this post was updated on 10/21/16, in the crontab entry for Setting up automatic certificate renewal Check out my GitHub repo for detailed examples. Also, see: Deploying a Node.js app to DigitalOcean. In our application amblr, my team and I are using geolocation data from the browser to place the user on a map. As of Chrome […]

Deploying a Node.js app to DigitalOcean

To set up a domain name, see How To Set Up A Host Name With Digital Ocean. If you need to serve your site securely over HTTPs, see Setting up HTTPS in Node.js with Let’s Encrypt. So you want to deploy that app you made with Node? Well, DigitalOcean is one way to do it. They provide cheap, […]

Keep Node running forever

If you’ve ever started up a deployed Node application, you’ve probably had this problem: you start the server with node server.js, check on your site, and it’s up and running. Great! Some time later, your SSH session times out or you close your terminal. Then you go to your site, and it’s down. What happened? You […]