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. So to ensure that our API works as intended the input data must conform to a certain predefined format. Sometimes the erroneous inputs provided by our users are unintentional […]
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
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. […]
Use stripe subscription in nodejs application
In this tutorial, we will be looking at how we can implement a basic Stripe subscription in a nodejs application. Stripe, as most of us, are already aware it is a popular payment processing service for e-commerce websites and applications, and today we will be utilizing it to build a basic app that will allow […]
Docker compose nodejs app
In this tutorial, we will be looking at how we can use docker-compose to deploy a nodejs MongoDB app. Now, for those who aren’t familiar with Docker, it is an open platform for developing, shipping, and running applications. In simple words, it enables us to separate our applications from our infrastructure so that we can […]
Promises in javascript for beginners
In this tutorial, we will be looking at Promises in Javascript. Let’s firstly understand, what promises are. Promises are an alternative to callbacks for delivering the result of an asynchronous operation. It allows users to perform asynchronous operations very effectively and seamlessly