Latest blogs

Keep learning new technologies.

node js read stream, write to a file and calculate hash

By

In the JavaScript file, write a program to perform a GET request on the route https://coderbyte.com/api/ challenges/json/age-counting which contains a data key and the value is a string which contains items in the format: key STRING, age INTEGER. Your goal is to count how many items exist that have an age equal to 32. Then you should create a write stream to a file called output.txt and the contents should be the key values (from the json) each on a separate line in the order they appeared in the json file (the file should end with a newline character on its own line). Finally, then output the SHA1 hash of the file.

Posted 3 days ago

Building a URL Shortener with Node.js and JavaScript

By

URL shorteners are a popular tool across the web, turning long URLs into manageable, short links that are easier to share. In this tutorial, we'll build a simple URL shortener from scratch using Node.js and JavaScript, including the backend service and a basic front-end.

Posted 3 days ago

Building an Image Compression System with Node.js

By

In the digital age, efficiently managing image sizes without compromising quality is crucial for fast load times and optimized storage. This blog post will guide you through creating a simple image compression system using Node.js. We will leverage popular libraries to handle image processing tasks effectively.

Posted 3 days ago

Transitioning from Monolithic to Microservices Architecture in Node.js

By

In today's rapidly evolving software landscape, scalability and flexibility are key. Many organizations are moving away from traditional monolithic architectures to embrace microservices, particularly for complex applications that need to scale dynamically. In this blog post, we'll explore how to transition from a monolithic application to a microservices architecture using Node.js, highlighting practical steps and considerations.

Posted 3 days ago

step-by-step guide on how to set up a simple REST API using Node.js, PostgreSQL, Express, TypeScript, and Docker.

By

Here's a step-by-step guide on how to set up a simple REST API using Node.js, PostgreSQL, Express, TypeScript, and Docker. This guide will include a GET endpoint to retrieve data and a POST endpoint to insert data into the database.

Posted 3 days ago

step-by-step guide on how to create a simple REST API using Node.js, MongoDB, Express, TypeScript, and Docker

By

Below is a step-by-step guide on how to create a simple REST API using Node.js, MongoDB, Express, TypeScript, and Docker. This will include a GET endpoint to fetch data and a POST endpoint to add data.

Posted 4 days ago