Update: The Blob Storage team has implemented the Static Website feature. Please go check/try it out!
Problem I would like to store and serve this web site on Azure Blob Storage. Here are the criteria:
Everything should be served from Blob Storage (No App Services, No VMs, and no Azure Functions)
Clean URLs (blog.lifeishao.com instead of blog.lifeishao.com/index.html)
Uses HTTPS (because SEO)
Why? Performance If your website is just a bunch of static assets, it shouldn’t require a dedicated server to just serve your static assets.

One of the advantages of using Azure Web App is how easy it is to deploy a NodeJS app. If you have an app as simple as this one, Azure Web App will pick it up, install all the node dependencies, and serve the app on port 80. And you are done!!!
Unfortunately, a lot of times, you might want to venture outside the comfort of auto-deploy land, and do some customization.

Serving Static Assets in Restify NodeJS While Restify is branded as a REST Framework, there are instances where we want to put a static html along with the API. For example, if we want to serve up the API documentation or built a Bot and serve up an UI.
Four lines of Code If you are looking to serve up static assets from the root path(ie http://example.com/), and all your static assets are in the public directory, these are the four lines of code you need if you are using restify v5+

About a year ago, I was tasked to write an API for a mobile application for the Dean of Students office. While the main functionalities were finalized, the app’s development was still in its infancy. This means that the API’s output and how it would be best-suited for the app’s consumption was still very much undefined.
We had to use transformers to separate the API’s logic layer from its presentation.

I was looking at a small package that I wrote a few years ago, and I think it’s a good mental exercise to reevaluate my own code once in a while.
Background The purpose of the package is to quickly check for the type of credit card given a small sample (say as a user is typing). Also validate the credit card again the Luhn algorithm which is the algorithm used by most CC companies.