Docker Swarm Tutorial
Many a times especially in production environment we may require our app to be available to our users at all times or have the least possible minimum down-time no matter even if one or a few of our app servers are down or has crashed. As long as one instance of our app is running […]
Telegram bot for crypto price alert | Nodejs
Hi guys, in this tutorial we’ll try to walk you guys through the entire process of designing and building a telegram bot for crypto price notification from scratch using the telegram bot API. Although the demo for this tutorial is around crypto price alerts, the same idea can easily be extended to create notification systems […]
Telegram bot webhook tutorial in nodejs
Hi guys, in this telegram bot tutorial series, we will explore the Telegram API and learn to build an image compression bot using the webhook way. Although there are various libraries we can make use of like telegraf, node-telegram-bot-api, etc. However, for a deeper understanding, we will be taking a more bare-bone approach. Agenda We […]
Redis as primary database in nodejs
As a developer working on a project, there are a lot of options to choose from when it comes to databases. Without a second thought, the most popular and widely used types would be Relational(SQL) and NoSQL. But still, sometimes neither SQL nor NoSQL meets our exact requirements. In that case, we may need to […]
Rest API input validation in nodejs
Most of the time when we are developing a Rest API it’s often a requirement to accept user inputs in the form of a request body. To ensure that our API works as intended the input data must conform to a specific predefined format. Sometimes the erroneous inputs provided by our users are unintentional while […]
RabbitMQ in docker
In this tutorial, we will be trying to deploy one of the previous rabbitmq projects using docker. Agenda So what we will be doing is that modify our rabbitmq-nodejs app so that we can deploy it using docker. Basically in that app, we have 3 main functionality namely 1. Image upload functionality.2. A producer that […]
Sequelize associations in Node.js explained
Association is one of the most useful features in Sequelize however, many find it confusing as there are comparatively very less resources available regarding Sequelize associations. Therefore in this tutorial, we will be having an in-depth look at how to implement association in Sequelize. Before you move
File upload drag and drop
In this tutorial, we will be implementing file upload via drag and drop in our frontend using the FilePond library. For those unfamiliar with FilePond, it is a JavaScript library that brings silky smooth drag n’ drop functionality to our frontend without having to deal with all the complexities. So let’s get started, shall we? Before […]
Nodejs MySQL with Sequelize
In this tutorial, we will be looking at how easily we can perform CRUD operations in nodejs using Sequelize in databases like Postgres, MySQL, MariaDB, SQLite, DB2, and Microsoft SQL Server. In this case, we will be using MySQL as a database. Before we start coding let’s firstly understand what we are going to build. […]