Author: CodeBuddy

Home » Articles Posted by CodeBuddy (Page 2)
Router Outlet

Angular Routing with Router Outlet

Angular, a powerful framework for building web applications, comes with a robust routing module that allows developers to create dynamic, single-page applications (SPAs) with ease. The Router Outlet, one of the key components of Angular routing, serves as a placeholder that renders the routed component based on the current URL. Let’s delve into how Router…

Read More

React Routing

A Guide to React Routing

React is a popular JavaScript library for building user interfaces, and one of its essential features is its routing capabilities. React Router is a library that provides declarative routing for React applications, allowing developers to create dynamic single-page applications (SPAs) with multiple views or components. Let’s dive into how React routing works and how you…

Read More

Angular Routing

A Guide to Angular Routing

Angular is a powerful framework for building dynamic web applications, and one of its key features is its built-in routing system. Angular’s routing module allows developers to navigate between different views or components within a single-page application (SPA) without the need for page reloads. Let’s explore how Angular routing works and how you can implement…

Read More

JavaScript Git repos

Git repositories Javascript developer should know

As a JavaScript developer, mastering version control with Git is essential for efficient collaboration and project management. Whether you’re a beginner or an experienced developer, familiarizing yourself with key Git repositories can enhance your skills and streamline your workflow. Let’s explore ten must-know Git repositories every JavaScript developer should explore: 1. Node.js Node.js is a…

Read More

New features in ES2023 JavaScript

ES2023 is the version of ECMAScript released in this year. Checkout features that have been incorporated and could be used in our Javascript projects. Features of ES2023 Find array from the last Hashbang Grammer Symbol as WeakMap keys Change array by copy   Find array from the last The findLast() method will allow us to find…

Read More

bcrypt

Hash Passwords in Node.js

What is bcrypt? Bcrypt is a password hashing algorithm designed by Niels Provos and David Mazières based on the Blowfish cipher. The name “bcrypt” comprises two parts: “b” representing Blowfish and “crypt,” which denotes the hashing function utilized by the Unix password system. This blog will show you how to use bcrypt password hashing with the…

Read More

docker-vs-kubernetes

Differences Between Docker and Kubernetes

In the world of containerization and orchestration, Docker and Kubernetes are now an essential technologies. While both facilitate managing and deploying containers, they serve different purposes and operate at different levels of the container stack.   Docker Docker is a platform for building, sharing, and running containers. It provides tools for creating container images from…

Read More

npm

npm and its different dependencies

What is npm? npm stands for Node Package Manager. It’s a registry for JavaScript software packages and a place for developers to find, build, and manage code packages. A typical Nodejs, Angular, React project has multiple packages and those are defined in the package.json file.  These packages can be differentiated as dependencies, devDependencies, peerDependencies and…

Read More

Angular

Hello World in Angular

In this blog, we’ll guide you through the process of setting up a basic Angular application and displaying your first “Hello World” message.   Prerequisite: Node.js and npm: Angular relies on Node.js and npm (Node Package Manager). Ensure it’s on your machine before diving into the world of Angular. Visit https://nodejs.org/ to download and follow…

Read More