In this article we will discuss how to test and mock React ContextAPI using Jest and React Testing Library (React Testing Library). We will create a basic application and demo how to mock a contextAPI provider and consumer for a component unit test....
To start, I will just like to first say that Dapr is amazing. It is a new system that allows better management of microservice application. Managing interaction between microservices is really challenging, especially if you have a lot of services ...
Are users in your organization still accessing your EC2 instances via SSH? Managing private keys for multiple users for multiple instances is a nightmare and is a security risk. So what is the solution? AWS Session Manager provides centralized acce...
Oh no! You server is running out of disk space? Don't worry this article will guide you through the steps to increase the disk size/ storage of your AWS EC2 server. The following steps are for Ubuntu 20.04 EC2 server and volume type ext4. STEP 1: Cr...
Here we are going to go through the steps to auto deploy our code to an AWS EC2 instance using AWS CodeDeploy. The purpose of this is to make our deploys easier and repeatable. This will allow us to move away from manual deploys which are not only m...
There are various ways to deploy our Angular application. One way is to deploy an Angular app via Docker and Nginx. To do this just implement the following steps: 1. Create docker folder To keep things organized we create a docker folder at proje...