Introduction EJS (Embedded JavaScript) is a template engine used with NodeJS to add dynamic content to HTML documents. In this article, we will explore the basics of EJS and how you can leverage it in your Nodejs applications. What is EJS? When building web applications using Nodejs, you often need to dynamically generate HTML content. […]
How To Upload Multiple Image with Multer In NodeJS & ExpressJS
In modern web applications, it’s common to have a feature for users to upload images. In this article, we will cover how to upload an image in Node & Express application using Multer, a middleware for handling file uploads. After building backend side application, we will show you how to integrate the backend code with […]
How to Generate Fake Test Data With Nodejs
When developing applications, testing is a crucial step to ensure that the application functions as expected under various scenarios. One common challenge during testing is the need for the data to simulate real-world conditions. To address this, fake test data is often used to populate databases, test APIs, or simulate user interactions. However, It does […]
HTML Drag And Drop API Tutorial
Drag and drop interactions are a common feature that allows users to interact with web content by dragging objects and dropping them onto a target location. This functionality is essential for many web applications, such as file uploaders, image galleries and web-based games. The HTML5 Drag and Drop API is a powerful and flexible API […]
Best Testing Libraries for React
Software testing may seem like a waste of time especially for small scale apps. However, it is an important part of the software development process, and React applications are no exception. Testing ensures that your React components and features work as expected, reducing the chances of bugs and improving overall code quality. In this article, […]
SASS Variables
Sass (Syntactically Awesome Style Sheets) is a CSS preprocessor that makes the CSS development process efficient and easy. SASS offers some additional features to CSS such as functions, mixins, and more. One of these powerful features is variables. In this article, we will show you how to define and use SASS variables along with examples. […]
Axios Patch Request
Axios is a popular JavaScript library that provides a simple yet powerful way to make HTTP requests from a web browser or Nodejs to backend services or APIs. It supports various request methods, including GET, POST, PUT, DELETE, and PATCH. In this article, we will focus specifically on the Axios Patch request with examples and […]
CSS Font Face Example: TTF, OTF, WOFF
CSS provides a lot of properties for adding new fonts to stylesheets and customizing them. One of these properties is css font face. It allows to use custom fonts without importing them from external sources such as Google Fonts. In this article, we will discuss the CSS Font Face properties, mostly used in situations where […]