Building Mock Data Factories for Unit Testing in Typescript.When I started using NestJS for Backend web development and coming from Ruby on Rails, I wanted an easy way, much like the Factorybot gem, to generate mock data to use with jest. I did a quick scan for packages at that time and found none that provid...Mar 17, 2021 · 9 min readsultan.hashnode.dev
7 Javascript tricks that will help you save the world.Okay, you got me, the title is a bit misleading, this blog post will not equip you with the means needed to successfully steer the wheel away from the path to the dark predicament the world is probably at some point will eventually be put in. At leas...Mar 10, 2021 · 17 min readsultan.hashnode.dev
Patching Searchkich Gem To Add Custom Queries By DefaultNote: This is a re-publish of my article on another platform originally posted Sep 5, 2019. Context So a bit of context, as I'm working on Triplancer.net which is a Multi-Tenant Project developed by Ionite I needed to scope results returning for any ...Mar 5, 2021 · 4 min readsultan.hashnode.dev
Building Cloud Functions That ScalesI've been using Cloud Functions heavily for the last year, and I must say, I'm a fan, so in this article, we'll go through some tips to keep in mind starting a new project with Cloud Functions: File Structure Separate Logic From Trigger Unit Tests A...Mar 5, 2021 · 10 min readsultan.hashnode.dev