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 […]
Go fiber custom middleware
As a Golang developer coming from a nodejs background, my framework of choice when it comes to REST API like many is Go Fiber. Due to its simplicity and beginner-friendly approach like express.js, it becomes very easy to start and build performant APIs. Also, just like expressjs, it comes with middleware support, routing, template engines […]
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 […]
Vuejs plugin tutorial
Today, we will be stepping a step further from one of the previous articles we published on vuejs plugin and will be building a reusable shopping cart plugin in vuejs.It will have a basic shopping cart setup with the following functionality. Add a product to the cart Edit product quantity in the cart Checkout Let’s […]
Vuejs plugin tutorial for beginners
In this tutorial, we will be creating a Vuejs plugin that will show us the current exchange rate between two currencies using OPEN-API. For those who are unfamiliar with Plugins, these are self-contained code that usually adds global-level functionality to Vue. Before moving on further in this tutorial, let’s understand the working of our vuejs […]
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. […]