24 Nov 2019Do Not Relay on NODE_ENV. Hygiene of Environment VariablesAt the beginning of the project, everything is simple and easy. The entire codebase fits in the mental model you have in your head… read more#JavaScript, #TypeScript
20 Oct 2019How to Set up Secure a SFTP ServerSFTP ( SSH File Transfer Protocol ) allows for secure file transfer to and from the server. SFTP, despite its name, isn't based on FTP… read more#DevOps
29 Aug 2019Generate Unique Id in the Browser Without a LibraryI find myself reaching to previous projects for this function every time I need a random, unique value to use on the client-side. You might… read more#JavaScript, #TypeScript
28 Jul 2019Just Enough Kubernetes for JavaScript DevelopersKubernetes (k8s) is a platform for deploying, scaling, and managing containers. Kubernetes may be daunting to pick up in the beginning, and… read more#DevOps, #Docker, #Kubernetes, #JavaScript
16 Jul 2019Upload source maps to RollbarIn production, the most important advantage of using a build tool like webpack is a smaller size and thus improved overall application… read more#JavaScript, #DevOps
26 Apr 2019Bridging Static and Runtime Types with io-tsWhat’s io-ts? In theory, io-ts is a runtime type system for IO decoding/encoding. In practice, io-ts is an elegant solution to a very nasty… read more#TypeScript
05 Apr 2019Versatility and use cases of React useEffect hookI have started riding the hooks hype bandwagon the first-day hooks made it into the stable 16.8 release. Worried about our sanity (and… read more#React, #JavaScript, #Maps
17 Mar 2019Pattern matching and type safety in TypeScriptI think it’s fair to say that most programmers understand type safety as a feature of the programming language which eliminates the type… read more#TypeScript
08 Dec 2018An elegant solution for handling errors in ExpressExpress is a microframework that according to 2018 Node.js User Survey Report is used by 4 in 5 back-end and full-stack node.js developers… read more#JavaScript, #TypeScript, #Node.js
19 Nov 2018Solve code sharing and setup project with Lerna and monorepoCode sharing is easy but doing it correctly is challenging. There are multiple ways you can do it, and your use case dictates what approach… read more#JavaScript, #DevOps, #Docker