Fredrick Emmanuel

@divofred

A full-stack developer. Written and developed various projects using the MERN/PERN Stack, and built APIs using Node's technologies.

Joined on Nov 10, 2022

  • End to End Testing focuses on testing the entire flow of the application to ensure they work as designed. E2E testing differs from Unit testing, which focuses on testing the smallest units of code, mostly functions or methods. Testing an express route helps catch any errors that might occur while in the development stage, which can boost productivity. Follow through with this tutorial to develop your first RESTful API E2E test. What is End to End Testing? End to End Testing, often called E2E testing or system testing, is a software testing technique which ensures that the application works as designed. It runs the application from start to finish, checking for any flaws in the development stage before moving to deployment. E2E testing ensures that the application meets business requirements and users’ expectations. Difference between E2E and Unit testing Unit testing is also a testing technique done in the development stage, but it involves the testing of individual components of an application. These various testing methodologies have their benefits and drawbacks. Unit testing is better at catching errors because it isolates each component compared to E2E, which tests the application as a whole. E2E, on the other hand, ensures that the application is built as intended, meeting users’ expectations. You can decide whether to pick any of the testing techniques or explore more options like Integration testing.
     Like  Bookmark
  • Passwords are very important in applications as they create a barrier between unauthorized users and a resource in the application. These passwords alone can’t prevent hackers from brute-forcing their way into your application, hence the need for Multi-Factor authentication. Multi-Factor authentication creates a two-layered barrier between an unauthorized user and resources in your web applications. To get into your application, one of the common ways is to ask the user to provide their username and password. Once this is provided, the user is required to retrieve the One Time Password (OTP) sent to their email. This strengthens the security of your various applications to a large extent. Follow this tutorial to learn how to integrate Multi-factor authentication into your applications. Prerequisites Following effectively with this tutorial requires: NodeJS 18.0+ installed.
     Like  Bookmark
  • Passwords are very important in applications as they create a barrier between unauthorized users and a resource in the application. These passwords alone can't prevent hackers from brute-forcing their way into your application, hence the need for Multi-Factor authentication. Multi-Factor authentication creates a two-layered barrier between an unauthorized user and resources in your web applications. To get into your application, the user needs to provide their password and retrieve the One Time Password (OTP) sent to the user's email. This strengthens the security of your various applications to a large extent. Follow this tutorial to learn how to integrate Multi-factor authentication in your applications. Table of Content Introduction Prerequisites What is MFA?
     Like  Bookmark
  • The world is evolving, giving birth to mind-blowing Artificial Intelligence which makes daily living easier. There is a lot of AI across the world among which is ChatGPT. ChatGPT is an Artificial Intelligence that can help you with literally, everything. Follow through with this tutorial and explore the possibilities in ChatGPT. Outline What is ChatGPT? Getting started with ChatGPT. ChatGPT in action Conclusion Resources.
     Like  Bookmark
  • Communication is an essential part of our daily lives. Chat applications make it easy to interact with people around the world. These chat applications send chats in real-time. This is where WebRTC and WebSockets come into play. They grant us real-time communication, making the sending and receiving of chats done immediately. In this article, we will learn the difference between WebRTC and WebSockets by building a video chat application. Prerequisites To follow effectively with the tutorial, be sure you have: Node.js installed. Knowledge of NextJS. Code editor, preferably Visual Studio Code.
     Like  Bookmark
  • Communication is an essential part of our daily lives. Chat applications make it easy to interact with people around the world. These chat applications are send chats in real time. This is where WebRTC and WebSockets come into play. They grant us real time communication, making the sending and receiving of chats done immediately. In this article, we will learn the difference between WebRTC and WebSockets by building a video chat application. Table of Content Introduction Prerequisites What is WebRTC What is WebSocket
     Like  Bookmark
  • Imagine a world without data transfer or a world where file transfer can only be done using secondary memory devices like flash drives or hard disks. This will reduce productivity, especially for transfers over a long distance. The silver lining to this is that the world has developed to where files are transferred using web/mobile/desktop applications, making drives almost obsolete. In this article, you will learn how to build and deploy a File transfer application using NextJS. Table of Content Introduction Prerequisites Setting up the frontend
     Like  Bookmark