Connecting with Kaltura from NodeJs using Kaltura TypeScript Client
Introduction Recently when I was working on a project, I found myself looking for a better way to upload a video on Kaltura from a NodeJs project. Of course, there is a Kaltura npm library that can be used to upload videos and do other things on Kaltura, but it didn’t work out for us, so we switched to Kaltura TypeScript client. Motivation Our main objective was to be able to create a media entry on Kaltura and upload a video on that...
Lambda@Edge, a different way to configure SPA client side routing (like ReactJS, Angular JS or Vue JS) with S3 and CloudFront
If you are reading this post, that means you already know about serverless, cloudfront and deploying front end using S3 static web hosting. In this article, I will be sharing a different approach to solve the 403 and 404 error, when a user tries to visit a page of your SPA using direct URL. The Problem In any SPA framework, the app itself is loaded when you load the home page (e.g. /, or /index.html). For example,...
Building a cross-platform background service in Node.js
We are living in an era where you can use JavaScript to write almost any part of an application: whether it is the UI that runs in the browser or mobile, or the service/lambda that does the heavy lifting in the cloud, or even beautiful desktop applications like Slack and Visual Studio Code. In this article, we will discuss how we can build a background service in Node.js that can run across Windows, Linux and macOS. What...