Node.js

Node.js is a JavaScript runtime that allows for server-side scripting, enabling the development of scalable network applications using a non-blocking, event-driven architecture.

Node.js: How to programmatically run Git commands

Updated: January 28, 2024 By: Guest Contributor

Node.js is a powerful server-side platform built on Google Chrome’s JavaScript Engine (V8 Engine). It offers developers a way to build scalable network applications. One powerful feature of…

How to Implement a Shopping Cart in ExpressJS

Updated: January 22, 2024 By: Guest Contributor

Introduction Building a robust shopping cart is essential for any e-commerce website. In this tutorial, we will go through the step-by-step process of implementing a user-friendly shopping cart…

Using Firebase Auth in Node.js: The Complete Guide

Updated: January 21, 2024 By: Guest Contributor

Introduction Integrating Firebase Auth into a Node.js application is essential for developers who need to manage user authentication with minimal hassle. This guide offers a step-by-step approach to…

How to Set Up Firebase in Node.js (with TypeScript)

Updated: January 21, 2024 By: Guest Contributor

Overview Firebase is a comprehensive app development platform that comes with a suite of tools and services to help you develop high-quality apps, grow your user base, and…

Express + Handlebars: Passing variables back and forth

Updated: January 18, 2024 By: Guest Contributor

Introduction Handlebars is a popular templating engine that can be integrated with Express, a Node.js web application framework. When developing web applications, a common task is passing data…

Weighted Random Selection in Mongoose: Explained with Examples

Updated: January 18, 2024 By: Guest Contributor

Overview Managing randomness in database queries is often an overlooked feature. However, in the world of modern web applications, the ability to select documents at random especially with…

Express + Handlebars: Rendering a JavaScript array with a loop

Updated: January 18, 2024 By: Guest Contributor

Introduction Creating dynamic web applications often involves rendering data on the front end that’s stored in the back end. Express, a web application framework for Node.js, together with…

Express + Handlebars: How to conditionally render data

Updated: January 18, 2024 By: Guest Contributor

Introduction Rendering data conditionally in a web application is a common need. With the combination of Express.js, a back-end web application framework for Node.js, and Handlebars, a templating…

Express + Handlebars: How to Include Subviews

Updated: January 18, 2024 By: Guest Contributor

Introduction When building web applications with Express.js and Handlebars, managing templates effectively is crucial to ensure maintainability and scalability. Including subviews within your views is an architectural best…

Express + Handlebars: Escaping Sensitive HTML Output & JavaScript

Updated: January 18, 2024 By: Guest Contributor

Introduction When building web applications with Express and Handlebars, one important consideration is ensuring that your application is secure against Cross-Site Scripting (XSS) attacks. XSS attacks occur when…

1 2 3 4 5 6 56