Published in ITNEXT·Mar 19, 2020NextJS OAuth with Passport and GithubIn this post we setup OAuth between a NextJS client and an Express API. I have assumed knowledge of JavaScript, Nodejs and Expressjs in this post. I, however, explain things well enough for anyone to catch up and understand things. This post is composed of two parts. API - Involves…Nextjs4 min read
Published in ITNEXT·Jan 28, 2020Member-onlyPatterns For Testable React ComponentsImagine the component below HelloName that renders Hello James when the value of name in prop is James. Since the name value is not owned by HelloName it is passed to it by the decorator High Order Component called WithName. …React4 min read
Jun 22, 2019Async JavaScript From Pure Callbacks to Promises to Async-AwaitI first wrote JavaScript after a few months of learning C and its async nature just twisted my head and threw me off the grid most of the time. I struggled to get the code to do what I wanted to do and write quality code. I could spend time…Java Script5 min read
Apr 9, 2019How and Why I am starting a Machine Learning Career.The world is evolving so fast, and we have to evolve with it in every sense. The goal is to be part of the future always. The internet has so much content to offer. We don’t have to wait to afford material to learn. This is a story is mostly…Data Science6 min read
Published in CloudBoost·Oct 8, 2018Event-Driven Programming with NodeJS Net and Events.By definition, NodeJS is an event-driven non-blocking runtime environment for JavaScript that has become very popular on the server-side. This is because Nodejs has an event-driven architecture capable of asynchronous I/O. …Java Script7 min read
Published in CloudBoost·Sep 23, 2018Reactjs Unit Testing with Storybook + JestIn this post, you will learn how to use Storybookjs and Jest with your react project. Reactjs is a UI library by facebook while Storybookjs is a testing tool for components by representing different states of the component and Jest is another cool unit testing tool by the creators of…React6 min read