Node.js

AWS Lambda Function Node.js Boilerplate

AWS Lambda function allows you to run a piece of code in a serverless manner. All you need to do is to upload your function to the cloud. It sounds easy. The problem is that the function seldom runs on its own. Most of the time, it is only useful …

Front-End

Sorting JSON Array by Multiple Keys with JavaScript

JavaScript’s sort() method sorts the elements of an array. Sort() takes callback where you can specify sorting rules. By writing a small callback function,  array of JSON data can be easily sorted. In this example, we use the JSON array that has name and sore. We will sort this date …