Algobook
- The developer's handbook
mode-switch
back-button

Articles about NodeJs

All articles and blogposts about NodeJs. We hope you find what you are looking for and that you will learn something new.
Search for articlesType in keywords or title of the article you are looking for
How to create and decode QR codes in NodeJs-thumbnailHow to create and decode QR codes in NodeJsIn this tutorial, we will show how we can create QR codes using NodeJs and also how to decode already created QR codes.
Fri Jun 02 2023
Introduction to web scraping with Puppeteer-thumbnailIntroduction to web scraping with PuppeteerA guide on how to scrape a website using Puppeteer. We will see how we can retrieve the content of https://react.dev and print in the console.
Tue May 30 2023
Build a full stack application with React and NodeJs-thumbnailBuild a full stack application with React and NodeJsA tutorial on how to build a simple full stack application with React in the client side and NodeJs in the backend.
Sat May 27 2023
How to convert a text file and its content to a JSON file with correct structure-thumbnailHow to convert a text file and its content to a JSON file with correct structureA guide on how to create a JSON file from a txt file in NodeJs. We will also make sure that the content is formatted in correct JSON format.
Tue May 23 2023
How to send email in NodeJs with Gmail - using nodemailer-thumbnailHow to send email in NodeJs with Gmail - using nodemailerA guide on how to use Gmail and Google OAuth 2.0 to send emails with NodeJs and nodemailer.
Mon May 22 2023
How to send email in NodeJs with a Yahoo mail using nodemailer-thumbnailHow to send email in NodeJs with a Yahoo mail using nodemailerA tutorial on how to send emails in NodeJs using nodemailer. Our sender email will be a Yahoo address and we will cover how to authenticate using app passwords.
Sun May 21 2023
Fast and easy way to secure your Node express API using Helmet-thumbnailFast and easy way to secure your Node express API using HelmetA quick guide on how to secure a Node express API with helmet.
Tue May 16 2023
Hash passwords in NodeJs using bcrypt-thumbnailHash passwords in NodeJs using bcryptA tutorial on how to use bcrypt in NodeJs to hash passwords and compare them afterwards.
Fri May 12 2023
Setup puppeteer with Docker-thumbnailSetup puppeteer with DockerIn this guide we will show how to setup a puppeteer service in NodeJs with Docker.
Sat May 06 2023
Introduction to caching in a NodeJs API-thumbnailIntroduction to caching in a NodeJs APIIn this guide we will show how we can set up a simple cache in NodeJs. We will use node-cache library from npmjs.com in this article.
Sun Apr 30 2023
How to parse XML data to JSON in NodeJs-thumbnailHow to parse XML data to JSON in NodeJsIn this tutorial, we will show how we can parse XML in NodeJs in to a JSON object. We will use fast-xml-parser library in this guide.
Sat Apr 29 2023
Redis pub/sub in NodeJs-thumbnailRedis pub/sub in NodeJsIn this tutorial, we will demonstrate how to use pub/sub with Redis in NodeJs. We will setup two projects, one that will publish updates and one subscriber that will listen for the updates. We will also show how to use wildcards in Redis.
Mon Apr 24 2023
An introduction to Redis in NodeJs-thumbnailAn introduction to Redis in NodeJsIn todays guide, we will go through the basics of using Redis in Nodejs. We will learn to read and write to our cache and also flushing all data. Enjoy!
Sun Apr 23 2023
Datastore in GCP - Learn to add and get data from your Datastore using NodeJs.-thumbnailDatastore in GCP - Learn to add and get data from your Datastore using NodeJs.In this article, we will demonstrate how to add and get data from Datastore in GCP. We will use NodeJs for this tutorial.
Sun Apr 16 2023
How to deploy a NodeJs application to Cloud run using Cloud build and Github trigger-thumbnailHow to deploy a NodeJs application to Cloud run using Cloud build and Github triggerA guide on how to deploy a NodeJs application to Cloud Run using Cloud Build and Github trigger.
Fri Apr 14 2023
Simple CMS implementation in React with websocket server in NodeJs with push updates-thumbnailSimple CMS implementation in React with websocket server in NodeJs with push updatesIn this tutorial, we will create a simple CMS that we will connect to our main application through websockets. Our main application will then show a banner with the data comming from the CMS through the websockets. Enjoy!
Sat Apr 08 2023
Implement an Active users counter component with live updates-thumbnailImplement an Active users counter component with live updatesWebsockets are an amazing communication protocol that enables applications to provide live updates. Imagine if you would need to refresh a chat application in order to get the new messages, or if the price updates on stocks were stale.. In this tutorial we are creating a basic websockets server in NodeJs and a client in ReactJs to display current active users.
Fri Apr 07 2023
Middlewares is NodeJs and express-thumbnailMiddlewares is NodeJs and expressWhat is a middleware? How can we implement them in our express application? Answers to those two questions will be answered in this post, and more...
Sun Apr 02 2023
How to structure your express routers-thumbnailHow to structure your express routersIn this post we share some approaches on how we can clean up our express server and strucuture our routers to keep our code clean and scalable.
Fri Mar 31 2023
How to create a zip file in NodeJs-thumbnailHow to create a zip file in NodeJsIn this guide we will go through how we can create a zip file from two files in NodeJs using adm-zip lib. And how we can read it back from the zipped file.
Thu Mar 30 2023
How to read/write files in NodeJs-thumbnailHow to read/write files in NodeJsIn this tutorial we will demonstrate how to upload and read files in NodeJs. We will also set up some endpoints to make it accessible as a REST API for any consuming client.
Thu Mar 23 2023
Setup CORS in nodejs express app-thumbnailSetup CORS in nodejs express appIn this article we will setup a simple express server with CORS restrictions using cors library.
Thu Mar 16 2023