February 24, 2018

NodeJS API Scaffolding

If you’re looking to launch an API using NodeJS, here is a very handy scaffolded application starting point: https://github.com/litwicki/nodejs-api What you get: Logging JWT Authentication MongoDB (via Mongoose) modeling md-seed migration and seed management for MongoDB Docker & Docker-Compose provisioning dotenv environment variable management APIDOC automatically generated documentation Check out the repository for a quick rundown and getting-started guide, and if you have any questions or issues please don’t hesitate to ask. Major thank you to danielfsousa and his boilerplate for the starting point of this scaffolding.

February 20, 2018

SterlingTS Releasing PHP Decoupler Open Source!

I am extremely proud today to officially release the php-decoupler from SterlingTS as an open-source project that my colleague Ken Ploeger and I will be maintaining at Sterling Talent Solutions. Ken led the vast majority of the efforts of this project in parallel with helping lead our globalization efforts at Sterling for our flagship SterlingONE product. This tool allowed us to dramatically increase our efficiency in upgrading our legacy PHP platform to a more modern MVC architecture in an incremental approach without the need to “boil the ocean” and rewrite the entire platform (as many of us software folks love to do). We’re looking forward to maintaining and expanding this…

February 2, 2018

Email notification on new artifact build using AWS Lambda

Assumptions: You have installed and configured AWS CLI You have a third party mail service setup already (we use mailgun for this example). The entire process for this simple effort requires a handful of steps: Install SAM Local Define your Lambda in AWS Console (can also do so using CLI) Write your function! SAM Local First, let’s install SAM Local. SAM Local is an amazing tool written by Paul Maddox from the AWS team that allows you to build and test Lambda functions locally. npm install -g aws-sam-local Later, we’ll use event.json as a sample file we test our function with, so build that quickly; for example:

Define your Lambda in…