1. Retry Refresh Token Pattern with Node Promises and Salesforce

    Recently I've been working a bit at Australia's most recognized Airline and had to interact with Salesforce. The problem with their implementation of OAuth2.0 is that no refresh token is issued for backend to backend services. Unfortunately they don't implement grant type client_credentials. After working with a colleague,…

    on Node.js Salesforce Promises

  2. Creating a Slack Bot with Serverless Framework and AWS Lambda

    In case you didn't already know, Serverless works with AWS' API Gateway and Lambda functions which does away with the need for infrastructure. There are certainly some limits to it which I won't get into here. But for tasks that take < 5 minutes and things such as building a…

    on AWS serverless Node.js Slack

  3. Getting GitHub Unified Diff Emails using AWS Lambda and API Gateway

    I just wanted to share some code to get a unified diff email from GitHub webhooks. The above image is the end result due to my lack of design skills nevertheless the source code is available for those who wish to customize it. The interesting thing about this little interesting…

    on AWS lambda git api-gateway Node.js serverless

  4. Using AWS Temporary Security Credentials on EC2 with Node.js

    Applications that run on an EC2 instance must include AWS credentials in their AWS API requests. You could have your developers store AWS credentials directly within the EC2 instance and allow applications in that instance to use those credentials. But developers would then have to manage the credentials and ensure…

    on AWS Node.js Security

  5. Data Visualization with ECharts and Node.js + Express + Jade Templates

    I wanted to share how I've decided to quickly pull out commonly used charts writing a heavy amount of code either in the server side controller or the Javascript on the client side. Plus, it's all in Javascript! Take that how you will. As you can see in the main…

    on Node.js #javascript ECharts DataVisualization

  6. Deploying a Dockerized Node.js App onto Elastic Beanstalk with TeamCity

    Setting up a TeamCity deployment pipeline to AWS was a bit tricky so I'm putting it together here in case anyone runs into any issues as well or just need a guideline on how to do it. I won't go into what Docker as there are plenty of tutorials out…

    on AWS teamcity Docker Node.js