Working with Nrwl using a monorepo setup with multiple libraries allows to map short names to import modules based on absolute path, which in turn helps moving files around the module without affecting the client importing the module. To map these files you need to configure path in tsconfig.json as follows: so you can but…… Continue reading Setup Jest with ModuleAppMapper
Clean š§¼ Architecture’d REST Api using NestJS as 3rd Party š„³
In this post I present an implementation of clean architecture’d REST Api using NestJS. This post does not intends to teach about clean architecture, and for that you will need to follow the references at the bottom of this page. The stack for that project is: PostgresSQLTypeOrmNodeJSNestJS, a framework for building efficient, scalableĀ Node.jsĀ server-side applications.Nrwl -…… Continue reading Clean š§¼ Architecture’d REST Api using NestJS as 3rd Party š„³
Challenge: Design a HashMap
Requirements Hash map is a data structure which helps us store, delete and retrieve values by keys in O(1). Practical Use Case of hash map Lookup contact by name in phone book listDatabase indexDictionariesAssociative arraysCachesSets Without HashMap:finding a key in a list of values, we need to go through all indexes until we find a…… Continue reading Challenge: Design a HashMap
git hands on – daily procedures
Introduction In this hands-on tutorial I will demonstrate the commands required for any developer/maintainer to keep up a balanced project using an imaginary git workflow from start to end. We will write a small program that will demonstrate the required git commands and work cases each developer is stumbled upon when gitting. Note: type the…… Continue reading git hands on – daily procedures
Windows 10 unsupervised kiosk mode without assigned access
With no further ado – The code As of late I was required to put an app in kiosk mode on Windows 10. `The app itself isĀ a web application written in react and mongo (that a subject for another post) served using thin client wrapping WebBrowser .Net Component – see my KioskAppNetWindowWrapper source on github.…… Continue reading Windows 10 unsupervised kiosk mode without assigned access
NodeJs versions manager
Developing NodeJS nowadays, you find yourself required to move between different versions of node either because you have old apps using previous versions of node, wanna try out new stuff with the latest version (v10.5) or develop new stuff using the recommended version (v 8.11). There are several ways to switch between node versions including…… Continue reading NodeJs versions manager
Remove NodeJS from OSX
At times you can find yourself struggling with a NodeJs version conflict while trying to upgrade a newer node version or maybe you want to start using some versioning manager and want to start fresh. To remove nodejs from OSX when it might have been installed in several different ways, such as: Install from site…… Continue reading Remove NodeJS from OSX