Hi Brad, I started looking into doing web development and have been hearing about Express; what the heck is that? Express is a framework for Node.js, if you want to know more about Node.js you can check out my post What the Heck is Node.js. Express is an open source framework designed to make developing… To read more click here.
Hi Brad, in my code base I’ve been off working in a branch creating a new feature. In my efforts I’ve made a few other improvements to enable my new feature to work properly. The new feature I’m working on is not ready but the other improvements are and I’d like to cherry-pick them over… To read more click here.
Hey Brad so I read Swaggerize your API Documentation and I’m sold but what about protected APIs? How do I use Swagger to hit APIs which require an authentication token? Swagger has you covered for cases where your API requires some sort of authentication token be included in the request; all you have to do… To read more click here.
Hey Brad I keep hearing people talk about how we should use swagger to document our APIs but what the heck is that? Good question, I too was confused by what exactly Swagger was because we talk about it as an API documentation tool similar to JSDocs but when you Google Swagger it appears to… To read more click here.
Hey Brad I want to write some unit tests, that is tests which don’t need me to stand up and seed a database just to test my codes logic, but how do I mock out calls to backing functions I don’t want to actually make during the test? That is a good question, in my… To read more click here.
Hey Brad I have a function which returns a promise, how the heck do I test that with Mocha? TL;DR Either call the done callback or simply return the promise. Checkout Things to Watch out For when testing Promises No worries I can help, the mocha testing framework does support testing asynchronous code. The only… To read more click here.