---
title: "Mahmoud Sultan (@mahmoudsultan) | Hashnode"
description: "Remote Fullstack Engineer at Camelan. Read the latest articles by Mahmoud Sultan on Hashnode."
url: "https://hashnode.com/@mahmoudsultan"
---

@mahmoudsultan

# Mahmoud Sultan

@mahmoudsultan · Joined September 2020

Remote Fullstack Engineer at Camelan

[Website](http://mahmoudsultan.github.io/)

### [Building Mock Data Factories for Unit Testing in Typescript.](https://sultan.hashnode.dev/building-mock-data-factories-for-unit-testing-in-typescript?utm_source=hashnode&utm_medium=feed)

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...

9 min read · [sultan.hashnode.dev](https://sultan.hashnode.dev/building-mock-data-factories-for-unit-testing-in-typescript?utm_source=hashnode&utm_medium=feed)

[Mar 17, 2021](https://hashnode.com/posts/building-mock-data-factories-for-unit-testing-in-typescript/6051d3660482327d4a8e7142)

### [7 Javascript tricks that will help you save the world.](https://sultan.hashnode.dev/7-javascript-tricks-that-will-help-you-save-the-world?utm_source=hashnode&utm_medium=feed)

but not really!

17 min read · [sultan.hashnode.dev](https://sultan.hashnode.dev/7-javascript-tricks-that-will-help-you-save-the-world?utm_source=hashnode&utm_medium=feed)

[Mar 10, 2021](https://hashnode.com/posts/7-javascript-tricks-that-will-help-you-save-the-world/6048ab39ad9a975e3dca6105)

### [Patching Searchkich Gem To Add Custom Queries By Default](https://sultan.hashnode.dev/patching-searchkich-gem-to-add-custom-queries-by-default?utm_source=hashnode&utm_medium=feed)

Note: 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 ...

4 min read · [sultan.hashnode.dev](https://sultan.hashnode.dev/patching-searchkich-gem-to-add-custom-queries-by-default?utm_source=hashnode&utm_medium=feed)

[Mar 5, 2021](https://hashnode.com/posts/patching-searchkich-gem-to-add-custom-queries-by-default/60420545d2f58f2915966b05)

### [Building Cloud Functions That Scales](https://sultan.hashnode.dev/building-cloud-functions-that-scales?utm_source=hashnode&utm_medium=feed)

Performance and Scalability Tips for when starting a new project with Google Cloud Functions

10 min read · [sultan.hashnode.dev](https://sultan.hashnode.dev/building-cloud-functions-that-scales?utm_source=hashnode&utm_medium=feed)

[Mar 5, 2021](https://hashnode.com/posts/building-cloud-functions-that-scales/6041fd5fa91d43293a2d51fb)
